Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 3 of 3
  1. #1
    Senior Member philchillbill's Avatar
    Join Date
    Jan 2019
    Location
    The Netherlands
    Posts
    793

    Check if plugin is installed

    Is there any way from the jsonrpc.js interface to determine if a user has the Full Text Search plugin installed/active?

  2. #2
    Senior Member
    Join Date
    Mar 2017
    Posts
    3,018
    Quote Originally Posted by philchillbill View Post
    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.

  3. #3
    Senior Member philchillbill's Avatar
    Join Date
    Jan 2019
    Location
    The Netherlands
    Posts
    793
    Quote Originally Posted by cpd73 View Post
    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", "?"]
    Thanks Craig. I took a look around in the source code but unfortunately haven't been able to find any parameters that work for identifying FTS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •