From 7f00e291d84fd39406e393879a4a2e940390d8a1 Mon Sep 17 00:00:00 2001 From: f1refly Date: Sun, 13 Jan 2019 14:09:13 +0100 Subject: [PATCH] removed code that makes streama always play the episode with the highest season/episode number --- grails-app/services/streama/VideoService.groovy | 6 ------ 1 file changed, 6 deletions(-) diff --git a/grails-app/services/streama/VideoService.groovy b/grails-app/services/streama/VideoService.groovy index 328a589f2..9b61295ba 100644 --- a/grails-app/services/streama/VideoService.groovy +++ b/grails-app/services/streama/VideoService.groovy @@ -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)