diff --git a/client/components/cards/LazyBookCard.vue b/client/components/cards/LazyBookCard.vue
index 5231de62..a368707d 100644
--- a/client/components/cards/LazyBookCard.vue
+++ b/client/components/cards/LazyBookCard.vue
@@ -379,6 +379,12 @@ export default {
text: `Mark as ${this.itemIsFinished ? 'Not Finished' : 'Finished'}`
}
]
+ if (this.continueListeningShelf) {
+ items.push({
+ func: 'removeFromContinueListening',
+ text: 'Remove from Continue Listening'
+ })
+ }
return items
}
@@ -630,7 +636,7 @@ export default {
console.log('User updated', data)
})
.catch((error) => {
- console.error('Failed to hide series from home', error)
+ console.error('Failed to hide item from home', error)
this.$toast.error('Failed to update user')
})
.finally(() => {
diff --git a/client/components/widgets/EpisodeSlider.vue b/client/components/widgets/EpisodeSlider.vue
index 7b906a48..dae87a15 100644
--- a/client/components/widgets/EpisodeSlider.vue
+++ b/client/components/widgets/EpisodeSlider.vue
@@ -13,7 +13,22 @@
@@ -34,7 +49,8 @@ export default {
bookshelfView: {
type: Number,
default: 1
- }
+ },
+ continueListeningShelf: Boolean
},
data() {
return {
diff --git a/server/utils/libraryHelpers.js b/server/utils/libraryHelpers.js
index a7b8a6a4..36e21842 100644
--- a/server/utils/libraryHelpers.js
+++ b/server/utils/libraryHelpers.js
@@ -378,7 +378,7 @@ module.exports = {
}
categoryMap.recentlyFinished.biggest = categoryMap.recentlyFinished.items[0].finishedAt
}
- } else if (mediaProgress.progress > 0) { // Handle most recently listened
+ } else if (mediaProgress.inProgress && !mediaProgress.hideFromContinueListening) { // Handle most recently listened
if (mediaProgress.lastUpdate > categoryMap.recentlyListened.smallest) { // Item belongs on shelf
const libraryItemWithEpisode = {
...libraryItem.toJSONMinified(),