Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Radio information does not display appropriately
#8
Folks, MPD does parse .pls files. If you look at the way moOde saves radio stations, it is indeed in .pls files. However, the FILE1= parameter in each .pls file has to be a playable URL for the .pls file to be parsed and played by MPD.

The problem here is that these Korean stations' .pls files don't specify a playable URL. As can be seen in the posts above, they specify a .m3u file once all the extra niff-naff about expiry, policy, key-pair, etc., is dealt with.

I just dug deeper on the first KBS entry provided by the OP and I ended up with an extended M3U file containing


Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:25056273
#EXTINF:4.011,
1fm_192_2_25056273.aac?m=1657519452
#EXTINF:3.989,
1fm_192_2_25056274.aac?m=1657519452
#EXTINF:4.011,
1fm_192_2_25056275.aac?m=1657519452
#EXTINF:3.989,
1fm_192_2_25056276.aac?m=1657519452
#EXTINF:4.011,
1fm_192_2_25056277.aac?m=1657519452

I recognize this markup. It represents an HTTP Live Stream (HLS). The protocol and format was developed by Apple and submitted to the IETF as a draft specification 15 odd years ago. You can google the topic.

I can't find any mention of HLS in the MPD docs but it does have a plugin "extm3u" which the docs say "reads extended ,m3u playlist files".  I know nothing about this plugin but it's included in moOde's MPD build. You may want to experiment with it directly.

Just so you know, I have no experience creating or using HLS-specified streams.

Regards,
Kent
Reply


Messages In This Thread
RE: Radio information does not display appropriately - by TheOldPresbyope - 02-26-2024, 10:25 PM

Forum Jump: