'description':('<strong>Link</strong>, <strong>Copy</strong> or <strong>Move</strong> after download completed.','Link first tries <a href="http://en.wikipedia.org/wiki/Hard_link">hard link</a>, then <a href="http://en.wikipedia.org/wiki/Sym_link">sym link</a> and falls back to Copy. It is perfered to use link when downloading torrents as it will save you space, while still beeing able to seed.'),
'description':('<strong>Link</strong>, <strong>Copy</strong> or <strong>Move</strong> after download completed.',
'Link first tries <a href="http://en.wikipedia.org/wiki/Hard_link">hard link</a>, then <a href="http://en.wikipedia.org/wiki/Sym_link">sym link</a> and falls back to Copy. It is perfered to use link when downloading torrents as it will save you space, while still beeing able to seed.'),
'media_folder':{'desc':'Optional: The folder of the media to scan. Keep empty for default renamer folder.'},
'media_folder':{'desc':'Optional: The folder of the media to scan. Keep empty for default renamer folder.'},
'files':{'desc':'Optional: Provide the release files if more releases are in the same media_folder, delimited with a \'|\'. Note that no dedicated release folder is expected for releases with one file.'},
'files':{'desc':'Optional: Provide the release files if more releases are in the same media_folder, delimited with a \'|\'. Note that no dedicated release folder is expected for releases with one file.'},
'base_folder':{'desc':'Optional: The folder to find releases in. Leave empty for default folder.'},
'base_folder':{'desc':'Optional: The folder to find releases in. Leave empty for default folder.'},
'downloader':{'desc':'Optional: The downloader the release has been downloaded with. \'download_id\' is required with this option.'},
'downloader':{'desc':'Optional: The downloader the release has been downloaded with. \'download_id\' is required with this option.'},
'download_id':{'desc':'Optional: The nzb/torrent ID of the release in media_folder. \'downloader\' is required with this option.'},
'download_id':{'desc':'Optional: The nzb/torrent ID of the release in media_folder. \'downloader\' is required with this option.'},
'status':{'desc':'Optional: The status of the release: \'completed\' (default) or \'seeding\''},
'status':{'desc':'Optional: The status of the release: \'completed\' (default) or \'seeding\''},
},
},
@ -434,7 +435,7 @@ class Renamer(Plugin):
movie.status_id=done_status.get('id')
movie.status_id=done_status.get('id')
movie.last_edit=int(time.time())
movie.last_edit=int(time.time())
db.commit()
db.commit()
exceptException,e:
exceptExceptionase:
log.error('Failed marking movie finished: %s%s',(e,traceback.format_exc()))
log.error('Failed marking movie finished: %s%s',(e,traceback.format_exc()))