From 55d615393e3a39ff1b73937b559b1eace6803c39 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sun, 19 Jan 2020 21:50:45 +0100 Subject: [PATCH] Fix EP. Succ. --- specials/nextep.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specials/nextep.py b/specials/nextep.py index e69a4600..e2403011 100644 --- a/specials/nextep.py +++ b/specials/nextep.py @@ -77,6 +77,8 @@ def next_ep(item): if file.endswith('.strm'): fileList.append(file) + fileList.sort() + nextIndex = fileList.index(current_filename) + 1 if nextIndex == 0 or nextIndex == len(fileList): next_file = None