4

I'm working on an HTML5 radio player in Meteorjs. See http://radio.meteor.com/ or http://github.com/guaka/radio-meteor

I want to display the song that's currently playing. How can I do that?

I'm not sure if resorting to server side would be a great idea as the server would have to fetch metadata for a growing number of streams (I want to allow people to add more channels).

Browsers compatibility is not that much of an issue, as long as it will work in Phonegap. I don't care about all browsers (i.e. IE) as long as I can make it fails gracefully.

I think Pulling Track Info From an Audio Stream Using PHP might be an answer than can work for Meteor (server side).

Jonas
  • 121,568
  • 97
  • 310
  • 388
the
  • 21,007
  • 11
  • 68
  • 101

2 Answers2

0

It should be possible via filereader on the client end, browser compatibility would be a bit of trouble.

Have a look at: http://ericbidelman.tumblr.com/post/8343485440/reading-mp3-id3-tags-in-javascript

Tarang
  • 75,157
  • 39
  • 215
  • 276
  • I had seen this but as this is working on an input tag and a specific file I'm afraid this is not going to help with fetching ID3 tags from radio stream. – the Mar 18 '13 at 22:59
0

Maybe not actual now, but can help somebody else. I use this one package to getting metadata about streaming audio