mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-03 23:30:09 -05:00
[web] Fix issue preventing items to be played
This commit is contained in:
parent
43f4a23b1e
commit
0b86cc18c7
File diff suppressed because one or more lines are too long
@ -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 },
|
||||||
|
@ -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',
|
||||||
|
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user