Scan files to library after rename

This commit is contained in:
Ruud
2011-10-18 22:47:31 +02:00
parent e9aeebcb44
commit ac0be3da67
2 changed files with 36 additions and 25 deletions
+1 -4
View File
@@ -280,10 +280,7 @@ class Renamer(Plugin):
log.info('Removing release %s' % release)
# Add this release to the library
if not group['destination_dir'] is destination:
fireEventAsync('scanner.to_library', folder = group['destination_dir'])
else:
log.error('Single destination folder not fully supported yet.')
fireEvent('scanner.files', folder = destination, files = rename_files)
# Search for trailers etc
fireEventAsync('renamer.after', group)