Changed notification messages
This commit is contained in:
@@ -286,7 +286,7 @@ class Renamer(Plugin):
|
||||
fireEventAsync('renamer.after', group)
|
||||
|
||||
# Notify on download
|
||||
download_message = 'Download of %s (%s) successful.' % (group['library']['titles'][0]['title'], replacements['quality'])
|
||||
download_message = 'Downloaded %s (%s) successfully.' % (group['library']['titles'][0]['title'], replacements['quality'])
|
||||
fireEventAsync('movie.downloaded', message = download_message, data = group)
|
||||
|
||||
# Break if CP wants to shut down
|
||||
|
||||
@@ -124,7 +124,7 @@ class Searcher(Plugin):
|
||||
rls.status_id = snatched_status.get('id')
|
||||
db.commit()
|
||||
|
||||
log.info('Downloading of %s successful.' % data.get('name'))
|
||||
log.info('Snatched "%s" successfully.' % data.get('name'))
|
||||
fireEvent('movie.snatched', message = 'Downloading of %s successful.' % data.get('name'), data = rls.to_dict())
|
||||
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user