Back to project page intent_radio.
The source code is released under:
Copyright (c) 2014 Stephen Blott Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft...
If you think the Android project intent_radio listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.smblott.intentradio; /*w ww . j a v a 2s .c o m*/ import android.content.Intent; import android.content.Context; import android.net.Uri; public class PlaylistM3u extends Playlist { PlaylistM3u(IntentPlayer player) { super(player); } public static boolean is_playlist(String url) { return is_playlist_suffix(url,".m3u") || is_playlist_suffix(url,".m3u8"); } @Override String filter(String line) { return line.indexOf('#') == 0 ? "" : line; } }