philchillbill wrote: 
> I cleared my old favourites and made 3 new ones from the GUI, where the
> second favourite is actually contained in a folder one hierarchical
> level lower. When I query the JSON with [ 'favorites', 'items', 0, 20 ]
> this is what is returned:
> 
> > 
Code:
--------------------
  >   > 
  > {
  > "method" : "slim.request",
  > "params" : [
  > "00:04:20:xx:yy:zz",
  > [
  > "favorites",
  > "items",
  > "0",
  > "20"
  > ]
  > ],
  > "result" : {
  > "count" : 3,
  > "loop_loop" : [
  > {
  > "hasitems" : 0,
  > "id" : "ee5ceb24.0",
  > "isaudio" : 1,
  > "name" : "We will conquer",
  > "type" : "audio"
  > },
  > {
  > "hasitems" : 1,
  > "id" : "ee5ceb24.1",
  > "isaudio" : 0,
  > "name" : "Folder 1"
  > },
  > {
  > "hasitems" : 0,
  > "id" : "ee5ceb24.2",
  > "isaudio" : 1,
  > "name" : "1000 Suns",
  > "type" : "audio"
  > }
  > ],
  > "title" : "Favorites"
  > }
  > }
  > 
--------------------
> > 
> 
> Each time I run the query, the IDs change which is unexpected but not
> a show-stopper. Also, the child hierarchy under the 2nd parent called
> 'Folder 1' is not shown in the JSON. 
> The API command [ 'favorites', 'playlist', 'play',
> 'item_id:ee5ceb24.1' ] is supposed to blindly play *all* child items
> if you use the ID of the parent, which it does. But then you cannot
> select the desired sub-item in the folder. Or are those people using
> hierarchy only using a single child per folder level ?

It would completely defeat the purpose if you had only one child per
folder!?
In order to play a child item you have to open the folder first in all
controllers and players that I’ve come across.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

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

Reply via email to