fethica / FRadioPlayer

A simple radio player framework for iOS, macOS, tvOS.
https://fethica.github.io/FRadioPlayer/
MIT License
281 stars 59 forks source link

HLS metadata #42

Open nanook21 opened 4 years ago

nanook21 commented 4 years ago

Thanks for this great project.

I'm testing it with some HLS streams, and it seems to play fine, but I've noticed a bug with the metadata where it shows the Title for both the Artist and Title. You can see an example with this stream URL:

http://216.235.87.4:80/7302_48k.aac/playlist.m3u8

I believe the reason for this is because it's assuming that metadata comes in one field separated by " - ". That is accurate in Icecast streams, but with HLS, the Artist and Title are in separate ID3 tags.

Any chance of implementing support for ID3 metadata as well? This SO might help: https://stackoverflow.com/questions/58099131/how-to-read-id3-tags-other-metadata-from-an-hls-stream-in-swift-avkit

fethica commented 4 years ago

Hey @nanook21

Yes, this feature will be added in the next releases.

Thanks!

HimaKrishna commented 3 years ago

Hi Fethica,

I am wondering if this has been implementing completely? I have noticed that I could get the meta data for HLS but not getting artwork details as part of common key tags. Please let me know

Regards, Hima