Re: [SlimDevices: SqueezeCenter] Play specific favorite via JSONRPC API

2022-12-02 Thread jenssen
paul- wrote: > Here is the request to get a list of favorites > > > Code: > > {"id":1,"method":"slim.request","params":[ "-", ["favorites","items","0","100"]]} > > > > That will return JSON output of your favorites. You only need to do > this

Re: [SlimDevices: SqueezeCenter] Play specific favorite via JSONRPC API

2022-12-01 Thread paul-
Here is the request to get a list of favorites Code: {"id":1,"method":"slim.request","params":[ "-", ["favorites","items","0","100"]]} That will return JSON output of your favorites. You only need to do this when you need to figure out the id

Re: [SlimDevices: SqueezeCenter] Play specific favorite via JSONRPC API

2022-12-01 Thread jenssen
paul- wrote: > I assume you know how to construct call, here is how we do it in pCP. > > > You need to reference the ID of the favorite. The command: favorite > items 0 100 > > Will return the names and id numbers of all of your favorites. > > Then to play: favorites playlist play

Re: [SlimDevices: SqueezeCenter] Play specific favorite via JSONRPC API

2022-11-30 Thread paul-
I assume you know how to construct call, here is how we do it in pCP. You need to reference the ID of the favorite. The command: favorite items 0 100 Will return the names and id numbers of all of your favorites. Then to play: favorites playlist play item_id:xx piCorePlayer a small

[SlimDevices: SqueezeCenter] Play specific favorite via JSONRPC API

2022-11-30 Thread jenssen
Hello, Is it possible to play a specific favorite via the JSONRPC API? Can not find how to do it, would like to use it to play certain radio stations via the API who are currently in the favorite list. Many thanks.