Check if file exists before adding it to movie_files. fixes #146
This commit is contained in:
@@ -165,6 +165,9 @@ class Scanner(Plugin):
|
||||
|
||||
for file_path in files:
|
||||
|
||||
if not os.path.exists(file_path):
|
||||
continue
|
||||
|
||||
# Remove ignored files
|
||||
if self.isSampleFile(file_path):
|
||||
leftovers.append(file_path)
|
||||
|
||||
Reference in New Issue
Block a user