Closed daslicht closed 8 years ago
You listen for the "metadata" event (res.on('metadata', function (metadata) { ... })
). See the README exmaple: https://github.com/TooTallNate/node-icy#example
I know, but it doesnt fire even tho i have metadate....
Can you show me the URL of the stream?
And/or possibly some code that you are using?
var icy = require('icy');
var url = 'http://ansolas.de:8000/example1.ogg';
icy.get(url, function (res) {
console.error('stat:', res.headers); //shows global metadata
res.on('metadata', function (metadata) {
var parsed = icy.parse(metadata); //never called
console.log('parsed:',parsed);
});
});
is parsing an ogg stream is supported ?
Same here.
I am using ogg stream and it doesn't seems to work.
Hi, this returns the current global stream metadata,
how to retrive the song metadata please? the metadata callback seams to get called never