[web] playlist page 'play' uses tracks alreaady retreived instead of playlist_id

This commit is contained in:
whatdoineed2do/Ray 2020-08-28 16:25:23 +01:00 committed by chme
parent 20a2c96b2a
commit 1d80a0fa06

View File

@ -69,11 +69,11 @@ export default {
methods: { methods: {
play: function () { play: function () {
webapi.player_play_uri(this.playlist.uri, true) webapi.player_play_uri(this.tracks.map(a => a.uri).join(','), true)
}, },
play_track: function (position) { play_track: function (position) {
webapi.player_play_uri(this.playlist.uri, false, position) webapi.player_play_uri(this.tracks.map(a => a.uri).join(','), false, position)
}, },
open_dialog: function (track) { open_dialog: function (track) {