[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:
chme 2018-12-08 08:38:41 +01:00
parent 0eae6d710c
commit a1a8864270

View File

@ -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(() =>