cpd73 wrote: 
> If you do the above (the JSON logging) you should see a call such as:
> ["01:02:03:04:05:06",["albums",0,25000,"artist_id:20","tags:jlys","sort:yearalbum","library_id:0"]]
> You should be able to use CURL to call this on the commandline as
> follows:
> 
> > 
Code:
--------------------
  >   > 
  > curl 'http://localhost:9000/jsonrpc.js?id=2' --data 
'{"id":1,"method":"slim.request","params":["01:02:03:04:05:06",["albums",0,25000,"artist_id:20","tags:jlys","sort:yearalbum","library_id:0"]]}'
  > 
--------------------
> > 
> 
> If you do the following (which specifies artist_id is the TRACKARTIST)
> does the response look like it contains the correct items?
> 
> > 
Code:
--------------------
  >   > 
  > curl 'http://localhost:9000/jsonrpc.js?id=2' --data 
'{"id":1,"method":"slim.request","params":["01:02:03:04:05:06",["albums",0,25000,"artist_id:20","tags:jlys","sort:yearalbum","role_id:TRACKARTIST","library_id:0"]]}'
  > 
--------------------
> > 
> 
> If this works, then for the case where trackartist_id is used I guess
> I should specify role_id of TRACKARTIST

I'll try that this evening if I get a chance.



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=109624

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

Reply via email to