Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: JSONRPC queries

  1. #21
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,552
    Quote Originally Posted by cpd73 View Post
    But then how do I know when to add a '+' '>' (play), and heart icon? They surely must be mapped from the base.actions list. If not, then how would I know what the command to add an item to the play queue is?
    They need to be added whenever an item has the parameters set to complete the actions from the base action list
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  2. #22
    Senior Member
    Join Date
    Mar 2017
    Posts
    376
    Couple more questions...
    1. How to specify (e.g.) album sorts? ["browselibrary", "items", 0, 100, "menu:1", "mode:albums", "sort:album"] is returning albums sorted by artist, year, album.
    2. How do I get extra information for tracks? e.g. Their duration? Or the year of albums? specifying "tags:XXX" does not seem to work with SlimBrowse. e.g. ["browselibrary", "items" , 0, 100, "mode:tracks", "artist_id:20728", "menu:1", "album_id:6786", "tags:Adt"] seems to just ignore the tags part.


    If I can't resolve these, then for local library at least I'll go back to the previous method.

  3. #23
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,552
    You can't. The server side menus are predefined. You can configure albumsort in the server settings and query details per item from the album parameters supplied but you can't modify the menus themselves.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

Posting Permissions

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