Fix EP. Succ.

This commit is contained in:
Alhaziel01
2020-01-19 21:50:45 +01:00
parent 17f8d9e203
commit 55d615393e
+2
View File
@@ -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