> 1) There's nothing obvious in the server log. I have tried setting > various options to debug and watching, but nothing ever seems to show > the name of the playlist or any errors. Would you happen to know which > option would be the right one to set to debug?
(control.command) - Internal Command Execution Logging (Advanced) (control.queries) - Control Query Logging (Advanced) (control.stdio) - Standard I/O Command Logging (Advanced) (network.http) - Internal HTTP Server Logging (network.jsonrpc) - JSON-RPC API Logging (plugin.???) - change to itunes > 3) I could switch to JSON, but it's more complicated. What would be a > valid JSON request for what I want to do? I've seen some in my research > and tried a couple but didn't get it working. > post to http://lms:9000/jsonrpc.js Code: -------------------- user@host ~/tmp $ POST / '{"id":1,"method":"slim.request","params":["11:22:33:44:55:66", ["playlist", "play", "Some playlist"]]}' -------------------- change the 11:22... to your player's MAC address > 4) Is there a way to query LMS to get a list of the actual playlist > names in the Database? Presumably that's where the "itunesplaylist:" > prefix is stored? > Code: -------------------- user@host ~/tmp $ POST / '{"id":1,"method":"slim.request","params":["-", ["playlists", 1, 999]]}' -------------------- or, if you actually want to query the DB: Code: -------------------- sqlite> select * from tracks where content_type="ssp"; -------------------- [ extGUI4LMS - an alternative web interface: 'forum' (http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta)) / 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'music visualizer' (http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite) for squeezelite | 'Howto' (http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS): build a self-contained LMS ] ------------------------------------------------------------------------ Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 View this thread: http://forums.slimdevices.com/showthread.php?t=106523 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
