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",
  "200"
  ]
  ],
  "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 ?


------------------------------------------------------------------------
philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
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