Skip to content

Commit

Permalink
Merge pull request #722 from f1reflyyyylmao/fix-continue-episode-number
Browse files Browse the repository at this point in the history
removed code that makes streama always play the episode with the highest season/episode number
  • Loading branch information
dularion committed Apr 6, 2019
2 parents 59b7583 + 7f00e29 commit ca75b94
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions grails-app/services/streama/VideoService.groovy
Expand Up @@ -47,12 +47,6 @@ class VideoService {

if (!previousShowEntry) {
result.add(continueWatchingItem)
} else {
def previousIsLower = (previousShowEntry.video.seasonEpisodeMerged < continueWatchingItem.video.seasonEpisodeMerged)
if (previousShowEntry && previousIsLower) {
result.removeAll { it.id == previousShowEntry.id }
result.add(continueWatchingItem)
}
}
} else {
result.add(continueWatchingItem)
Expand Down

0 comments on commit ca75b94

Please sign in to comment.