diff --git a/specials/nextep.py b/specials/nextep.py index 351f5acd..61089e19 100644 --- a/specials/nextep.py +++ b/specials/nextep.py @@ -79,7 +79,7 @@ def next_ep(item): base_path = os.path.basename(os.path.normpath(os.path.dirname(item.strm_path))) path = filetools.join(config.get_videolibrary_path(), config.get_setting("folder_tvshows"),base_path) fileList = [] - for file in os.listdir(path): + for file in filetools.listdir(path): if file.endswith('.strm'): fileList.append(file)