diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue
index 428ae6ebf..c81f3b83e 100644
--- a/client/components/app/Appbar.vue
+++ b/client/components/app/Appbar.vue
@@ -64,6 +64,9 @@
+
+
+
@@ -371,6 +374,14 @@ export default {
batchAddToCollectionClick() {
this.$store.commit('globals/setShowBatchCollectionsModal', true)
},
+ batchAddToPlaylistClick() {
+ const playlistItems = this.selectedMediaItems.map((i) => ({
+ libraryItem: { id: i.id },
+ episode: null
+ }))
+ this.$store.commit('globals/setSelectedPlaylistItems', playlistItems)
+ this.$store.commit('globals/setShowPlaylistsModal', true)
+ },
setBookshelfTotalEntities(totalEntities) {
this.totalEntities = totalEntities
},