mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 19:40:08 -07:00
Add guid notification parameter
This commit is contained in:
parent
98ad8693b0
commit
bd6dd74518
2 changed files with 2 additions and 0 deletions
|
@ -561,6 +561,7 @@ NOTIFICATION_PARAMETERS = [
|
|||
{'name': 'File', 'type': 'str', 'value': 'file', 'description': 'The file path to the item.'},
|
||||
{'name': 'Filename', 'type': 'str', 'value': 'filename', 'description': 'The file name of the item.'},
|
||||
{'name': 'File Size', 'type': 'int', 'value': 'file_size', 'description': 'The file size of the item.'},
|
||||
{'name': 'Guid', 'type': 'str', 'value': 'guid', 'description': 'The full guid for the item.'},
|
||||
{'name': 'Section ID', 'type': 'int', 'value': 'section_id', 'description': 'The unique identifier for the library.'},
|
||||
{'name': 'Rating Key', 'type': 'int', 'value': 'rating_key', 'description': 'The unique identifier for the movie, episode, or track.'},
|
||||
{'name': 'Parent Rating Key', 'type': 'int', 'value': 'parent_rating_key', 'description': 'The unique identifier for the season or album.'},
|
||||
|
|
|
@ -1084,6 +1084,7 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m
|
|||
'filename': os.path.basename(notify_params['file']),
|
||||
'file_size': helpers.human_file_size(notify_params['file_size']),
|
||||
'indexes': notify_params['indexes'],
|
||||
'guid': notify_params['guid'],
|
||||
'section_id': notify_params['section_id'],
|
||||
'rating_key': notify_params['rating_key'],
|
||||
'parent_rating_key': notify_params['parent_rating_key'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue