Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream backend doesn't handle relative URLs in playlists #1785

Closed
fatg3erman opened this issue Aug 15, 2019 · 1 comment
Closed

Stream backend doesn't handle relative URLs in playlists #1785

fatg3erman opened this issue Aug 15, 2019 · 1 comment
Assignees
Milestone

Comments

@fatg3erman
Copy link
Contributor

@fatg3erman fatg3erman commented Aug 15, 2019

This radio station was playing until a week ago so I can only assume the BBC have been mucking about with their radio API again.

If I add this URI to Mopidy

http://www.radio-browser.info/webservice/v2/m3u/url/97836

The stream backend correctly unwraps it through 3 (yes 3!) further layers of m3u8 files until it gets this:

#EXTM3U
#EXT-X-VERSION:3
## Created with Unified Streaming Platform(version=1.8.4)
#EXT-X-MEDIA-SEQUENCE:244668900
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:6
#USP-X-TIMESTAMP-MAP:MPEGTS=2819807648,LOCAL=2019-08-15T14:55:53.600000Z
#EXT-X-PROGRAM-DATE-TIME:2019-08-15T14:55:53.600000Z
#EXTINF:6.4, no desc
bbc_radio_five_live_sports_extra-audio=320000-244668900.ts
#EXTINF:6.4, no desc
bbc_radio_five_live_sports_extra-audio=320000-244668901.ts
#EXTINF:6.4, no desc
bbc_radio_five_live_sports_extra-audio=320000-244668902.ts
#EXTINF:6.4, no desc
bbc_radio_five_live_sports_extra-audio=320000-244668903.ts
#EXTINF:6.4, no desc
bbc_radio_five_live_sports_extra-audio=320000-244668904.ts

Relative URIs! Mopidy tries to add these to the playlist and, of course, fails.

If I try with MPD I can (using 'load') play it successfully.

@kingosticks

This comment has been minimized.

Copy link
Member

@kingosticks kingosticks commented Sep 17, 2019

This is a HLS playlist which I don't think we support, so fixing the relative URI problem probably won't help much (but I have fixed it anyway).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.