mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
[web-src] Do not set default position parameter
Starting shuffle playback results in starting playback in the middle of the shuffle queue
This commit is contained in:
parent
0eae6d710c
commit
a1a8864270
@ -57,7 +57,7 @@ export default {
|
|||||||
return axios.get('/api/player')
|
return axios.get('/api/player')
|
||||||
},
|
},
|
||||||
|
|
||||||
player_play_uri (uris, shuffle, position = 0) {
|
player_play_uri (uris, shuffle, position = undefined) {
|
||||||
return this.queue_clear().then(() =>
|
return this.queue_clear().then(() =>
|
||||||
this.player_shuffle(shuffle).then(() =>
|
this.player_shuffle(shuffle).then(() =>
|
||||||
this.queue_add(uris).then(() =>
|
this.queue_add(uris).then(() =>
|
||||||
|
Loading…
Reference in New Issue
Block a user