Skip to content

A self-hosted media server and file management system

fix: access to lyrics options are poor

aminnausin59336a409382
diff --git a/resources/js/components/video/VideoPlayer.vue b/resources/js/components/video/VideoPlayer.vue
index 092f31fd..7b94bf46 100755
--- a/resources/js/components/video/VideoPlayer.vue
+++ b/resources/js/components/video/VideoPlayer.vue
@@ -337,9 +337,10 @@ const playerContextMenuItems = computed<ContextMenuItem[]>(() =>
text: 'Show Metadata',
icon: showLyricsMetadata.value ? ProiconsCheckmark : undefined,
selected: showLyricsMetadata.value,
- hidden: !(isAudio.value || stateFolder.value.is_majority_audio) || !isShowingLyrics.value,
+ hidden: !(isAudio.value || stateFolder.value.is_majority_audio) || (showLyricsMetadata.value && !isShowingLyrics.value),
disabled: !stateVideo.value.metadata?.poster_image?.path,
action: () => {
+ if (!showLyricsMetadata.value) isShowingLyrics.value = true;
showLyricsMetadata.value = !showLyricsMetadata.value;
},
},