stephen / nodetunes

AirTunes v2 Server implementation
215 stars 64 forks source link

artworkChange event is not being emitted #52

Open thedeany opened 7 years ago

thedeany commented 7 years ago

I'm able to see changes on the metadataChange event, and the artworkChange event fires upon the initial connection to the server, but artworkChange never fires again after the first time. metadataChange continues to fire on each song change.

I don't think this is something I'm doing wrong, but I suppose it could be. If I run the app with DEBUG=nodetunes:rtsp, I can see the various events being triggered and I have confirmed artworkChange is not being fired.

stufisher commented 5 years ago

This is because it is not broadcasting a service that supports artwork. You need to change 'md' here https://github.com/stephen/nodetunes/blob/master/lib/server.js#L32 to md: '0,1,2',