Add Plex background art to notification parameters
This commit is contained in:
@@ -531,6 +531,7 @@ NOTIFICATION_PARAMETERS = [
|
|||||||
{'name': 'Rating Key', 'type': 'int', 'value': 'rating_key', 'description': 'The unique identifier for the movie, episode, or track.'},
|
{'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.'},
|
{'name': 'Parent Rating Key', 'type': 'int', 'value': 'parent_rating_key', 'description': 'The unique identifier for the season or album.'},
|
||||||
{'name': 'Grandparent Rating Key', 'type': 'int', 'value': 'grandparent_rating_key', 'description': 'The unique identifier for the TV show or artist.'},
|
{'name': 'Grandparent Rating Key', 'type': 'int', 'value': 'grandparent_rating_key', 'description': 'The unique identifier for the TV show or artist.'},
|
||||||
|
{'name': 'Art', 'type': 'str', 'value': 'art', 'description': 'The Plex background art for the media.'},
|
||||||
{'name': 'Thumb', 'type': 'str', 'value': 'thumb', 'description': 'The Plex thumbnail for the movie or episode.'},
|
{'name': 'Thumb', 'type': 'str', 'value': 'thumb', 'description': 'The Plex thumbnail for the movie or episode.'},
|
||||||
{'name': 'Parent Thumb', 'type': 'str', 'value': 'parent_thumb', 'description': 'The Plex thumbnail for the season or album.'},
|
{'name': 'Parent Thumb', 'type': 'str', 'value': 'parent_thumb', 'description': 'The Plex thumbnail for the season or album.'},
|
||||||
{'name': 'Grandparent Thumb', 'type': 'str', 'value': 'grandparent_thumb', 'description': 'The Plex thumbnail for the TV show or artist.'},
|
{'name': 'Grandparent Thumb', 'type': 'str', 'value': 'grandparent_thumb', 'description': 'The Plex thumbnail for the TV show or artist.'},
|
||||||
|
@@ -995,6 +995,7 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m
|
|||||||
'rating_key': notify_params['rating_key'],
|
'rating_key': notify_params['rating_key'],
|
||||||
'parent_rating_key': notify_params['parent_rating_key'],
|
'parent_rating_key': notify_params['parent_rating_key'],
|
||||||
'grandparent_rating_key': notify_params['grandparent_rating_key'],
|
'grandparent_rating_key': notify_params['grandparent_rating_key'],
|
||||||
|
'art': notify_params['art'],
|
||||||
'thumb': notify_params['thumb'],
|
'thumb': notify_params['thumb'],
|
||||||
'parent_thumb': notify_params['parent_thumb'],
|
'parent_thumb': notify_params['parent_thumb'],
|
||||||
'grandparent_thumb': notify_params['grandparent_thumb'],
|
'grandparent_thumb': notify_params['grandparent_thumb'],
|
||||||
|
Reference in New Issue
Block a user