ryanheise / just_audio

Audio Player
1.02k stars 626 forks source link

id3 read #88

Open drpark opened 4 years ago

drpark commented 4 years ago

Hi, it would be great to add id3 reading support (useful for live stream for example)

thank you

aljibbs commented 3 years ago

Any feedback on this yet ?

ryanheise commented 3 years ago

No update, sorry. Although it would be a useful feature to have, it's not the highest on my own priority list. Although pull requests would definitely be welcome if someone is willing to contribute in this area.

alexey-nobody commented 2 years ago

Any feedback on this yet? Or maybe can I read bytes or stream file from just_audio and parse tags?

ryanheise commented 2 years ago

I think the easiest approach is to clone the just_audio git repository and the necessary code. Unfortunately I can't do this as soon as you might like, although pull requests are welcome. If you search online for id3+avplayer or id3+exoplayer you will find the necessary code for the iOS and Android platforms.

emmggi commented 1 year ago

There's this https://pub.dev/packages/audiotagger

akshdeep-singh commented 1 year ago

Hi @ryanheise, can you expose this ExoPlayer api:

Retrieving metadata: Without playback

akshdeep-singh commented 1 year ago

Here: https://github.com/ryanheise/just_audio/blob/097e04d2ad8f5481dee172f4283a0c8dc7178bf1/just_audio/android/src/main/java/com/ryanheise/just_audio/AudioPlayer.java#L222-L241 ExoPlayer also parses id3 metadata, but the event is not sent to flutter app in that case. I think, it would be good idea to add the event for id3 headers also.