mark release das downloaded if renamer is disabled.
if the renamer is not enabled and the quality of the downloaded release is not the finish quality, the release did not get a status update.
This commit is contained in:
1 parent
3b0e07100f
commit
e9a457e263
1 file changed
+4
-1
@@ -260,7 +260,7 @@ class Release(Plugin):
|
||||
downloader_enabled = fireEvent('download.enabled', manual, data, single = True)
|
||||
|
||||
if downloader_enabled:
|
||||
snatched_status, done_status, active_status = fireEvent('status.get', ['snatched', 'done', 'active'], single = True)
|
||||
snatched_status, done_status, downloaded_status, active_status = fireEvent('status.get', ['snatched', 'done', 'downloaded', 'active'], single = True)
|
||||
|
||||
# Download release to temp
|
||||
filedata = None
|
||||
@@ -297,6 +297,9 @@ class Release(Plugin):
|
||||
|
||||
# If renamer isn't used, mark media done
|
||||
if not renamer_enabled:
|
||||
# Mark release downloaded
|
||||
self.updateStatus(rls.id, status = downloaded_status)
|
||||
|
||||
try:
|
||||
if media['status_id'] == active_status.get('id'):
|
||||
for profile_type in media['profile']['types']:
|
||||
|
||||
Reference in new issue
Block a user