Enqueue sort order

This commit is contained in:
James Barnsley
2017-06-23 18:49:55 +12:00
parent 2ca8726141
commit 4c39e935ef

View File

@ -302,7 +302,7 @@ const MopidyMiddleware = (function(){
var batch_size = 5
while (uris.length > 0){
batches.push({
uris: uris.splice(0,batch_size),
uris: uris.splice(0,batch_size-1),
at_position: action.at_position,
next: action.next,
offset: action.offset + (batch_size * batches.length),