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 when you need to figure out the id of your favorites.......
> 
> > 
Code:
--------------------
  >   > {"id":1,"result":{"loop_loop":[
  > {"id":"81ad1ed6.0","name":"MIX 107.7 
WMMX-FM","type":"audio","image":"https://i.iheart.com/v3/re/assets/images/8c5f9c8e-6dea-4bfc-88fa-e9249bf07ea3.png","isaudio":1,"hasitems":0},
  > {"id":"81ad1ed6.1","name":"104.7 WTUE 
WTUE-FM","type":"audio","image":"https://i.iheart.com/v3/re/assets/images/1785.png","isaudio":1,"hasitems":0}],"title":"Favorites","count":2},
  > "method":"slim.request","params":["-",["favorites","items","0","10"]]}
--------------------
> > 
> 
> 
> Figure out which id you want to play......and just play them like
> this.  Replace "piCorePlayer" with the name of your player (or mac
> address of your player)
> 
> > 
Code:
--------------------
  >   > {"id":1,"method":"slim.request","params":[ "piCorePlayer", 
["favorites","playlist","play","item_id:81ad1ed6.0"]]}
--------------------
> > 

Great, works perfect!! Many thanks!!


------------------------------------------------------------------------
jenssen's Profile: http://forums.slimdevices.com/member.php?userid=69496
View this thread: http://forums.slimdevices.com/showthread.php?t=117142

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to