From ac097862fc2da1d386f6f9482ef4c3d2fe3f66e0 Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 11 Apr 2022 19:42:09 -0500 Subject: [PATCH] Update sorting and filtering for podcasts, add title ignore prefix to podcast metadata, check user permissions for podcast episode row UI --- client/components/AudioPlayer.vue | 5 +- client/components/app/BookList.vue | 127 -------------- client/components/app/BookListRow.vue | 164 ------------------ client/components/app/BookShelfToolbar.vue | 6 +- client/components/app/LazyBookshelf.vue | 5 +- client/components/app/StreamContainer.vue | 1 + client/components/controls/FilterSelect.vue | 29 +++- client/components/controls/OrderSelect.vue | 43 ++++- .../components/tables/library/LibraryItem.vue | 19 +- .../tables/podcast/EpisodeTableRow.vue | 10 +- client/layouts/default.vue | 4 - client/store/libraries.js | 5 +- client/store/user.js | 28 ++- server/Server.js | 7 + server/controllers/LibraryItemController.js | 2 - server/objects/mediaTypes/Podcast.js | 2 +- server/objects/metadata/PodcastMetadata.js | 32 +++- 17 files changed, 154 insertions(+), 335 deletions(-) delete mode 100644 client/components/app/BookList.vue delete mode 100644 client/components/app/BookListRow.vue diff --git a/client/components/AudioPlayer.vue b/client/components/AudioPlayer.vue index 2704e7ec..4bb39c7d 100644 --- a/client/components/AudioPlayer.vue +++ b/client/components/AudioPlayer.vue @@ -12,7 +12,7 @@ -
+
{{ bookmarks.length ? 'bookmarks' : 'bookmark_border' }}
@@ -99,7 +99,8 @@ export default { default: () => [] }, sleepTimerSet: Boolean, - sleepTimerRemaining: Number + sleepTimerRemaining: Number, + isPodcast: Boolean }, data() { return { diff --git a/client/components/app/BookList.vue b/client/components/app/BookList.vue deleted file mode 100644 index 450fda36..00000000 --- a/client/components/app/BookList.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - - - \ No newline at end of file diff --git a/client/components/app/BookListRow.vue b/client/components/app/BookListRow.vue deleted file mode 100644 index 60ca7924..00000000 --- a/client/components/app/BookListRow.vue +++ /dev/null @@ -1,164 +0,0 @@ - - - \ No newline at end of file diff --git a/client/components/app/BookShelfToolbar.vue b/client/components/app/BookShelfToolbar.vue index b9596b08..f910e8e5 100644 --- a/client/components/app/BookShelfToolbar.vue +++ b/client/components/app/BookShelfToolbar.vue @@ -27,7 +27,7 @@