Skip to content

metadata event only called once #31

@rastographics

Description

@rastographics

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions