mherger wrote: 
> > Code:
> > --------------------
> >     Slim::Control::Request::notifyFromArray( $client, [ 'newmetadata'
> ] );
> 
> You might need to do this for all the clients currently playing that 
> station. Are they synced? Then you'd have to deal with $client->master.
> 
> Otherwise you could/should keep track of all clients streaming that 
> station, and send the notification to all of them.
> 

Not synced in this case - but keeping track of them all was one of my
earlier thoughts.
I don't see other plugins doing that though - but very few of the ones
that I looked through have to use timers.

Anyway - I'll try to do that. I presume that I could just keep a list of
the $client references and then iterate on meta change.



Paul Webster
http://dabdig.blogspot.com
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=106810

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to