Skip to content

Uri.parse(item.getStreamURL()) wont get stream url #1

@andysweber

Description

@andysweber

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions