mherger wrote: 
> >    ["playlist", "addtracks",
> "urllist:item_id:3_iron%20maiden.0,item_id:3_iron%20maiden.1,item_id:3_i..
> >    ["playlist", "addtracks", "urlist", "item_id:3_iron%20maiden.0",
> "item_id:3_iron%20maiden.1", ...
> >    ["playlist", "addtracks", "urlist",
> "item_id:3_iron%20maiden.0,item_id:3_iron%20maiden.1,...
> > 
> > None of these variants worked :(
> 
> Argh... unfortunately it turns out that command would only work with 
> local tracks.

Currently I'm sending the add/play commands for each item one by one,
and awaiting response before sending the next. For YouTube (which shows
200 search results) this can be pretty slow - around 8ish seconds on my
laptop. Is there a way to send a batch of commands to LMS, and ensure
they are executed in the correct order?

(Actually, for YouTube I've re-added the hack to perform an add/play on
a faked parent-id, and this executes in about a second. But the point
still stands)



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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