Stop scanning movie when no movie files are found

This commit is contained in:
Ruud
2012-02-14 22:43:26 +01:00
parent 5e28612472
commit 4717ee2aa6
+4
View File
@@ -284,6 +284,10 @@ class Scanner(Plugin):
else:
group['files']['movie'] = self.getMediaFiles(group['unsorted_files'])
if len(group['files']['movie']) == 0:
log.error('Couldn\t find any movie files for %s' % identifier)
continue
log.debug('Getting metadata for %s' % identifier)
group['meta_data'] = self.getMetaData(group)