Re: Check if plugin is installed
cpd73 <cpd73.a40nqn-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
philchillbill wrote:
> Is there any way from the jsonrpc.js interface to determine if a user
> has the Full Text Search plugin installed/active?
I use:
Code:
--------------------
["can", "musicartistinfo", "biography", "?"]
--------------------
to detect if MAI is installed, so should be able to do something like
that. You can query a plugins specific pref via (e.g.):
Code:
--------------------
["pref", "plugin.onlinelibrary:enableServiceEmblem", "?"]
--------------------
*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=114778