From 1d80a0fa069916a042a80677f6002d65716c1f1a Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Fri, 28 Aug 2020 16:25:23 +0100 Subject: [PATCH] [web] playlist page 'play' uses tracks alreaady retreived instead of playlist_id --- web-src/src/pages/PagePlaylist.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-src/src/pages/PagePlaylist.vue b/web-src/src/pages/PagePlaylist.vue index 9ca731cb..2ad88ae7 100644 --- a/web-src/src/pages/PagePlaylist.vue +++ b/web-src/src/pages/PagePlaylist.vue @@ -69,11 +69,11 @@ export default { methods: { 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) { - 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) {