Skip to content

Commit ca75b94

Browse files
authored
Merge pull request #722 from f1reflyyyylmao/fix-continue-episode-number
removed code that makes streama always play the episode with the highest season/episode number
2 parents 59b7583 + 7f00e29 commit ca75b94

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

grails-app/services/streama/VideoService.groovy

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ class VideoService {
4747

4848
if (!previousShowEntry) {
4949
result.add(continueWatchingItem)
50-
} else {
51-
def previousIsLower = (previousShowEntry.video.seasonEpisodeMerged < continueWatchingItem.video.seasonEpisodeMerged)
52-
if (previousShowEntry && previousIsLower) {
53-
result.removeAll { it.id == previousShowEntry.id }
54-
result.add(continueWatchingItem)
55-
}
5650
}
5751
} else {
5852
result.add(continueWatchingItem)

0 commit comments

Comments
 (0)