mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-11 06:20:17 -05:00
[web] Add lyrics player to the webinterface
Update icons.js Add icons in alphabetical order. Change comment to remove reference to external website Remove extra line feeds Co-Authored-by: Alain Nussbaumer <alain.nussbaumer@alleluia.ch>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
class="is-clickable fd-has-shadow fd-cover-big-image"
|
||||
@click="open_dialog(track)"
|
||||
/>
|
||||
<lyrics v-if="lyrics_visible" />
|
||||
<control-slider
|
||||
v-model:value="track_progress"
|
||||
class="mt-5"
|
||||
@@ -56,6 +57,7 @@
|
||||
import * as types from '@/store/mutation_types'
|
||||
import ControlSlider from '@/components/ControlSlider.vue'
|
||||
import CoverArtwork from '@/components/CoverArtwork.vue'
|
||||
import Lyrics from '@/components/Lyrics.vue'
|
||||
import { mdiCancel } from '@mdi/js'
|
||||
import ModalDialogQueueItem from '@/components/ModalDialogQueueItem.vue'
|
||||
import webapi from '@/webapi'
|
||||
@@ -67,6 +69,7 @@ export default {
|
||||
components: {
|
||||
ControlSlider,
|
||||
CoverArtwork,
|
||||
Lyrics,
|
||||
ModalDialogQueueItem
|
||||
},
|
||||
|
||||
@@ -82,6 +85,10 @@ export default {
|
||||
},
|
||||
|
||||
computed: {
|
||||
lyrics_visible() {
|
||||
return this.$store.getters.lyrics_pane;
|
||||
},
|
||||
|
||||
is_live() {
|
||||
return this.track.length_ms === 0
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user