sveninndh wrote: > Tried the current git version, but I see no changed behaviour.
Can you please try the "addall_playall" branch from git? Previously when clicking the add/play buttons from the sub-toolbar I issued a "playall" or "addall" using either; a) the id of the parent item b) attempt to 'fake' the parent id by taking the id of the first item and removing the last part. e.g. if the id was "item_id:0.0.1.2.3" I'd use "item_id:0.0.1.2" Then I would send a "playall" or "addall" command with this id. Neither "playall" nor "addall" are actually listed in the API documentation, and I only guessed at the use via looking at the default web UI. So, its entirely possible that I'm using these incorrectly. For this new branch, I have changed this. When using these add/play buttons I now send an add, or play, for each item in turn. So, if you have a list of 200 items then 200 commands are sent (synchronously, I await the response of the previous before sending the next). To keep the UI updating, I ask for a player status every 20th command - otherwise the queue does not update until the end, and this can be around 8 seconds! (Note: None of this should apply to standard library items - e.g. when pressing the sub-toolbar add when showing an albums track list I send a single add command for the album's id) *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
