Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Mar 2017
    Posts
    1,100

    Advanced search via JSONRPC?

    Is it possible to perform an advanced search, as per the default web-UI, using JSONRPC? I can't find any mention of it in the documentation. I'd like to add this to Material, so that I can then save searches as 'Virtual Libraries'

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,314

    Advanced search via JSONRPC?

    > Is it possible to perform an advanced search, as per the default web-UI,
    > using JSONRPC? I can't find any mention of it in the documentation. I'd
    > like to add this to Material, so that I can then save searches as
    > 'Virtual Libraries'


    Unfortunately no. This is currently very tightly coupled to the
    templating engine. I thought about re-writing the advanced search
    before. But even providing a good UI wouldn't be easy. And even harder
    on something like the devices themselves (and that's what the CLI
    commands are used for mostly).

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Mar 2017
    Posts
    1,100
    Quote Originally Posted by mherger View Post
    > Is it possible to perform an advanced search, as per the default web-UI,
    > using JSONRPC? I can't find any mention of it in the documentation. I'd
    > like to add this to Material, so that I can then save searches as
    > 'Virtual Libraries'


    Unfortunately no. This is currently very tightly coupled to the
    templating engine. I thought about re-writing the advanced search
    before. But even providing a good UI wouldn't be easy. And even harder
    on something like the devices themselves (and that's what the CLI
    commands are used for mostly).
    Well, at least it wasn't me just missing something. I guess if I want to implement somthing like this, I'd need to add it to the perl plugin and then call that via JOSNRPC? Will think about this later.

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,314

    Advanced search via JSONRPC?

    > Well, at least it wasn't me just missing something. I guess if I want to
    > implement somthing like this, I'd need to add it to the perl plugin and
    > then call that via JOSNRPC? Will think about this later.


    That would be a major task... and I guarantee you to steal your code if
    you manage to do it :-D.

    --

    Michael

Posting Permissions

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