mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
[web-src] Play single podcast track and do not add whole podcast as
context
This commit is contained in:
parent
4fdc2e26d4
commit
eefacbbf55
@ -13,7 +13,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template slot="content">
|
<template slot="content">
|
||||||
<p class="heading has-text-centered-mobile">{{ album.track_count }} tracks</p>
|
<p class="heading has-text-centered-mobile">{{ album.track_count }} tracks</p>
|
||||||
<list-item-track v-for="(track, index) in tracks" :key="track.id" :track="track" @click="play_track(index)">
|
<list-item-track v-for="track in tracks" :key="track.id" :track="track" @click="play_track(track)">
|
||||||
<template slot="actions">
|
<template slot="actions">
|
||||||
<a @click="open_dialog(track)">
|
<a @click="open_dialog(track)">
|
||||||
<span class="icon has-text-dark"><i class="mdi mdi-dots-vertical mdi-18px"></i></span>
|
<span class="icon has-text-dark"><i class="mdi mdi-dots-vertical mdi-18px"></i></span>
|
||||||
@ -66,8 +66,8 @@ export default {
|
|||||||
webapi.player_play_uri(this.album.uri, false)
|
webapi.player_play_uri(this.album.uri, false)
|
||||||
},
|
},
|
||||||
|
|
||||||
play_track: function (position) {
|
play_track: function (track) {
|
||||||
webapi.player_play_uri(this.album.uri, false, position)
|
webapi.player_play_uri(track.uri, false)
|
||||||
},
|
},
|
||||||
|
|
||||||
open_dialog: function (track) {
|
open_dialog: function (track) {
|
||||||
|
Loading…
Reference in New Issue
Block a user