-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
The 'metadata' event is only getting called once on app startup. If the song changes, a new event is never thrown, but if I restart the server, it does grab the new song title then.
Is my stream setup wrong, or am I missing something in the code?
My code:
icy.get(shoutcastConfig.serverUrl,function(res){
console.error(res.headers);
res.on('metadata',function(metadata){
var parsed = icy.parse(metadata);
console.log('Metadata event called');
console.log(parsed);
});
The stream url is:
http://ic2.christiannetcast.com/wytj-fm?type=.mp3
Metadata
Metadata
Assignees
Labels
No labels