Errors with server-side blocking HTTP requests

This commit is contained in:
James Barnsley
2019-12-27 15:07:28 +13:00
parent 636d37dcc4
commit df1215f9b7
7 changed files with 19 additions and 23 deletions

View File

@ -876,7 +876,7 @@ const MopidyMiddleware = (function () {
var first_uri = action.uris[first_uri_index];
// add our first track
request(socket, store, 'tracklist.add', { uri: first_uri, at_position: 0 })
request(socket, store, 'tracklist.add', { uris: [first_uri], at_position: 0 })
.then(
(response) => {
// play it (only if we got a successful lookup)