-
-
Notifications
You must be signed in to change notification settings - Fork 689
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
Added support for HLS title and artist metadata #745
base: minor
Are you sure you want to change the base?
Conversation
Thanks for the pull request! Do you have a test HLS URL I can test this on? |
One other thing is that I'll need to have a think about the API. The current API is based on Android's ExoPlayer which provides a different API for each type of metadata, and currently on the ICY metadata API was implemented. So to be consistent with that approach, it may involve creating more datatypes. However, it may be better at this juncture to consider unifying all of these different metadata APIs into a single metadata API. It will require some more thinking. |
I've used this streaming URL for development: https://mdstrm.com/audio/60a275d1f943100826374a86/live.m3u8 About the API, the only thing that sounds weird to me is the Icy naming. That prefix may be erased, but I don't think that a breaking change is worth it. About ExoPlayer, I'm not using the android version at the moment, but ExoPlayer does have a unified API for all streaming formats with the |
Hi @ryanheise, I've just updated this PR with support for HLS metadata on Android as well. Please check if this new commit fits well with your original philosophy, and let me know how can I help to get this PR merged soon. Thank you. |
I'm wondering if |
I can confirm that I'm not using just_audio but a custom made player for Android, and I'm only using I don't know if |
It appears that not all ICY metadata is copied into |
I don't think that ExoPlayer specifics should impact how this library behaves. My take is that if title and artist metadata is being sent on the current API, then it should work for every audio format. For me, the main issue of this API is only about the "icy" naming. I would like for a library to abstract completely of audio format specifics. |
It sounds like you still don't object to having a new unified API, but you would prefer I get rid of the old one as well so there are no longer any If I were to implement the new universal API now, I'd build it on top of ExoPlayer's |
# Conflicts: # just_audio/CHANGELOG.md
unit tests for BaseAudioHandler
# Conflicts: # just_audio/CHANGELOG.md # just_audio/lib/just_audio.dart # just_audio_platform_interface/CHANGELOG.md
Hi Ryan, I just sync'd this pull request with the latest commits from minor. Could you please revisit this pull request and consider merging it? Thank you! |
# Conflicts: # just_audio/CHANGELOG.md
Hi @ryanheise, I've just updated this pull request with a bug fix. We've been maintaining our own fork of Thanks! |
# Conflicts: # just_audio/CHANGELOG.md
Hi, I've added support for HLS metadata as described in #732. Please let me know if you can proceed pulling this asap or if any further change is needed. Thanks.