Skip to content

Commit

Permalink
removed code that makes streama always play the episode with the high…
Browse files Browse the repository at this point in the history
…est season/episode number
  • Loading branch information
f1refly committed Jan 13, 2019
1 parent 5623f5b commit 7f00e29
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions grails-app/services/streama/VideoService.groovy
Original file line number Diff line number Diff line change
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 7f00e29

Please sign in to comment.