[web] Fix issue preventing items to be played

This commit is contained in:
Alain Nussbaumer 2025-03-01 22:41:24 +01:00
parent 43f4a23b1e
commit 0b86cc18c7
4 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -19,6 +19,7 @@ export default {
return { return {
name: this.item.name, name: this.item.name,
handler: this.open, handler: this.open,
uri: this.item.uri,
properties: [ properties: [
{ label: 'property.albums', value: this.item.album_count }, { label: 'property.albums', value: this.item.album_count },
{ label: 'property.tracks', value: this.item.track_count }, { label: 'property.tracks', value: this.item.track_count },

View File

@ -19,6 +19,7 @@ export default {
return { return {
name: this.item.name, name: this.item.name,
handler: this.open, handler: this.open,
uri: this.item.uri,
properties: [ properties: [
{ {
label: 'property.popularity', label: 'property.popularity',

View File

@ -59,7 +59,7 @@ export default {
if (this.item.expression) { if (this.item.expression) {
webapi.player_play_expression(this.item.expression, false) webapi.player_play_expression(this.item.expression, false)
} else { } else {
webapi.player_play_uri(this.item.uris || this.item.item.uri, false) webapi.player_play_uri(this.item.uris || this.item.uri, false)
} }
}, },
queue_add() { queue_add() {