Skip to content
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

ID3 from streaming (Icecast/SHOUTcast) #58

Open
MisterGot opened this issue Dec 16, 2015 · 2 comments
Open

ID3 from streaming (Icecast/SHOUTcast) #58

MisterGot opened this issue Dec 16, 2015 · 2 comments

Comments

@MisterGot
Copy link

Hi António,
Do you know if it's possible to decode the ID3 from a stream?
We plan to use the Web Audio API to decode the metadata but I don't see anything on the web talking about that.
Then I found your solution but I guess it's only for FileAPI?
Thanks in advance,
Greg

@aadsm
Copy link
Owner

aadsm commented Dec 17, 2015

I've never tried but it should be possible. FileAPI is just one of the available readers, XHR and Node is also supported.
You'd need to implement your own reader though, but it should be possible since files are read asynchronously and in a random way meaning that we only load the bytes that are really needed (as opposed to reading the entire file).

I've been working on the next version of this library (here: https://github.com/aadsm/jsmediatags) and it should be much simpler to implement a new file reader there: https://github.com/aadsm/jsmediatags#new-file-readers.

@ghost
Copy link

ghost commented Feb 9, 2016

@MisterGot No, that's not possible, but there's a better way. Check this jQuery plugin: http://codecanyon.net/item/kast-extraordinary-shoutcast-html5-radio-player-for-jquery-material-design/14396614

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants