Re: Plugin specific cometd channel?

Michael Herger <slim-b/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Message-ID <[email protected]>
> I'd like to be able to send notifications from Material's Perl code to
> the Javascript webapp. Seeing as Material uses cometd for LMS status,
> etc, notifications I thought it might be a good idea to use cometd for
> other plugin specific notifications. How would I subscribe to a plugin
> specifc cometd channel? Would the following work?
> 
> Also, how do I "emit" a message on the cometd channel from the Perl
> plugin side? What code would be required?

Ahm... I'm sorry to say I have no clue. I suggest you poke around 
Slim::Control::Request and autoexecute in there. That's what I'm seeing 
happening around the status query code.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.