Add:Remove episodes from continue listening shelf #919

This commit is contained in:
advplyr 2022-09-28 17:57:27 -05:00
parent 98e79f144c
commit 63c55f08dc
5 changed files with 68 additions and 18 deletions

View file

@ -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(),