cpd73 wrote: 
> Sorry, but (AFAICS) the LMS API does not support inserting tracks at a
> set index.
I hear you on the API, but...

cpd73 wrote: 
> The best I could do is to add all items to the end of the queue, and
> then move them one-by-one to the correct position. This, however, would
> be slow - especially if you dragged an artist with many albums onto the
> queue.
Unlike what I imagined, the above indeed does sound complicated, but,
how about treating the left pane more like a scratch pad, locally, in
the browser, outside of LMS' API. Question first; is the D&D
implementation in the right pane (Playing Now) yours, or LMS'? It does
do of insert-at-index.

Back to what I imagined; a single item D&D-ed from (either) one side to
the other, with only the left side needing to be kept track of with LMS
(as it's already). The only write of the right pane would as it is now,
i.e. when written to a playlist (and thanks again for implementing it).
Does this sound more doable?


------------------------------------------------------------------------
MarSOnEarth's Profile: http://forums.slimdevices.com/member.php?userid=69826
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