Open mbebenita opened 11 years ago
We could probably use the Firefox OS ID3 parser for this: https://github.com/mozilla-b2g/gaia/blob/master/apps/music/js/metadata.js
I have a pull request up for the FxOS ID3 parser that vastly improves it. We could either copy the code over or make a separate library that both this and FxOS use.
Ah, nice. Can you post here again once the changes are merged? I'm sure @yurydelendik will be interested :)
It's taken ages, but I expect my changes to the FxOS parser will be merged on March 17 (when FxOS 1.5 development starts up). After that lands, I'll try to split it off into its own library that can be shared by FxOS and Shumway.
Awesome, this'll be great to have!
Are there any stubs for Shumway's ID3 parsing yet? (And ideally, some pointers to documentation about how the ID3 tag should be emitted.) Firefox OS's ID3 parser is probably in good enough shape that it can be ported over to Shumway now.
After audio data is loaded we need to parse and populate the id3 property of the Audio class.