ynot1234567890 wrote: 
> Ultimately I would like to return a query of artist, album or tacks to
> queue to a LMS player.  So far local searches seem to work pretty well
> with the local data on LMS..

Not easily. But if you enable debug logging for control.command, then
you'd see what is being used internally. A Spotty search would result in
this:


Code:
--------------------
    [18-07-03 06:59:00.1751] Slim::Control::Request::dump (2339) Request: Query 
[99:99:99:99:99->spotty items] from /abcd/slim/request|17||abcd  (Dispatchable)
  [18-07-03 06:59:00.1753] Slim::Control::Request::dump (2341)    Param: 
[search] = [here comes your search term]
  [18-07-03 06:59:00.1755] Slim::Control::Request::dump (2341)    Param: 
[useContextMenu] = [1]
  [18-07-03 06:59:00.1756] Slim::Control::Request::dump (2341)    Param: 
[_index] = [0]
  [18-07-03 06:59:00.1757] Slim::Control::Request::dump (2341)    Param: [menu] 
= [spotty]
  [18-07-03 06:59:00.1758] Slim::Control::Request::dump (2341)    Param: 
[item_id] = [0.0]
  [18-07-03 06:59:00.1761] Slim::Control::Request::dump (2341)    Param: 
[_quantity] = [200]
  
--------------------


Those items are "indexed" by the navigation tree. 0.0 would be the first
menu item's sub-menu - which is search. But that would return you a menu
again....

If you were implementing LMS side code, then you could probably call
Spotty code directly - ugly, but possible.



Michael

http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=108898

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

Reply via email to