From 79df705da7caeebab4db742211ebb2f3d969938c Mon Sep 17 00:00:00 2001 From: Faizan Zafar Date: Sun, 25 Aug 2024 01:04:40 -0700 Subject: [PATCH 1/3] Add support for "Open Current Chapter" button --- .../components/app/MediaPlayerContainer.vue | 1 + client/components/player/PlayerUi.vue | 13 ++++- client/components/readers/EpubReader.vue | 53 +++++++++++++++++-- client/strings/bg.json | 1 + client/strings/bn.json | 1 + client/strings/cs.json | 1 + client/strings/da.json | 1 + client/strings/de.json | 1 + client/strings/en-us.json | 1 + client/strings/es.json | 1 + client/strings/et.json | 1 + client/strings/fi.json | 1 + client/strings/fr.json | 1 + client/strings/gu.json | 1 + client/strings/he.json | 1 + client/strings/hi.json | 1 + client/strings/hr.json | 1 + client/strings/hu.json | 1 + client/strings/it.json | 1 + client/strings/lt.json | 1 + client/strings/nl.json | 1 + client/strings/no.json | 1 + client/strings/pl.json | 1 + client/strings/pt-br.json | 1 + client/strings/ru.json | 1 + client/strings/sv.json | 1 + client/strings/uk.json | 1 + client/strings/vi-vn.json | 1 + client/strings/zh-cn.json | 1 + client/strings/zh-tw.json | 1 + 30 files changed, 88 insertions(+), 6 deletions(-) diff --git a/client/components/app/MediaPlayerContainer.vue b/client/components/app/MediaPlayerContainer.vue index 61508d7e39..7c1a723e33 100644 --- a/client/components/app/MediaPlayerContainer.vue +++ b/client/components/app/MediaPlayerContainer.vue @@ -36,6 +36,7 @@ ref="audioPlayer" :chapters="chapters" :current-chapter="currentChapter" + :libraryItem="streamLibraryItem" :paused="!isPlaying" :loading="playerLoading" :bookmarks="bookmarks" diff --git a/client/components/player/PlayerUi.vue b/client/components/player/PlayerUi.vue index 2cfa54fe61..10277c8acd 100644 --- a/client/components/player/PlayerUi.vue +++ b/client/components/player/PlayerUi.vue @@ -7,7 +7,11 @@ - + + +