Add filename to notification parameters

This commit is contained in:
JonnyWong16 2018-05-30 21:52:18 -07:00
parent 041a35a35a
commit 15225faee7
2 changed files with 2 additions and 0 deletions

View file

@ -883,6 +883,7 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m
'subtitle_language': notify_params['subtitle_language'],
'subtitle_language_code': notify_params['subtitle_language_code'],
'file': notify_params['file'],
'filename': os.path.basename(notify_params['file']),
'file_size': helpers.humanFileSize(notify_params['file_size']),
'indexes': notify_params['indexes'],
'section_id': notify_params['section_id'],