-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Hi crazyks
I try using your M3UPlayer code to make my m3u loader using Android studio. Everything seems working ok but using
Uri.parse(item.getStreamURL())
to get stream URL and send it to player wont work (try also send it to mxplayer but app still crashes).
Example of the m3u i use
#EXTINF:-1 tvg-name="Rik1" epg-id=Rik1 tvg-logo=http://www.riknews.com.cy/images/stories/icons/logo-2.png group-title=Cyprus ,RIKSAT
http://l3.cloudskep.com/cybcsat/abr/playlist.m3u8
If I use Uri.parse(http://l3.cloudskep.com/cybcsat/abr/playlist.m3u8) player tries to play it (using mx as player works ok, no crashes,) but using Uri.parse(item.getStreamURL()) app crashes.
Interesting, when m3u loaded using Logcat
02-26 11:58:28.597 2438-2578/com.iptv.player D/M3U: [Head]
[Item]
Channel Name: ===Cyprus===
Duration: 1
Stream URL:
Group: Cyprus
Logo: http://www.parikiaki.com/wp-content/uploads/Cyprus1.png
[Item]
Stream URL is Empty? Is my m3u type wrong?
Thank you for you time.
Sincerely
Andreas