mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[web] playlist page 'play' uses tracks alreaady retreived instead of playlist_id
This commit is contained in:
parent
20a2c96b2a
commit
1d80a0fa06
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user