Possible problem when EXTINF starts with a /

I recently spotted that the Radio France web site is now using HLS for
its web player.
I need to adjust my plugin to recognise the variant of the stream URL
... but I think PlayHLS might also need an update so that it can work.

Example URL
https://stream.radiofrance.fr/fip/fip.m3u8
which has
records like this
#EXT-X-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=252000,CODECS="mp4a.40.2"
fip_hifi.m3u8?id=radiofrance

which in turn gets to
https://stream.radiofrance.fr/fip/fip_hifi.m3u8?id=radiofrance

#EXTINF:4.000,
/msl4/fip/prod1transcoder1/fip_aac_hifi_4_970004_1591883166.ts

which results in PlayHLS trying to get
https://stream.radiofrance.fr/fip//msl4/fip/prod1transcoder1/fip_aac_hifi_4_969925_1591882850.ts
which will not work (403 Forbidden)
It needs to get
https://stream.radiofrance.fr/msl4/fip/prod1transcoder1/fip_aac_hifi_4_969925_1591882850.ts

i.e. the leading / needs (in the case of Radio France at least) go back
to the root of the site



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to