diff --git a/plexpy/common.py b/plexpy/common.py index 9496913f..7ef798f8 100644 --- a/plexpy/common.py +++ b/plexpy/common.py @@ -397,7 +397,9 @@ NOTIFICATION_PARAMETERS = [ {'name': 'User Thumb', 'type': 'str', 'value': 'user_thumb', 'description': 'The profile picture URL of the user streaming.'}, {'name': 'Device', 'type': 'str', 'value': 'device', 'description': 'The type of client device being used for playback.'}, {'name': 'Platform', 'type': 'str', 'value': 'platform', 'description': 'The type of client platform being used for playback.'}, + {'name': 'Platform Version', 'type': 'str', 'value': 'platform_version', 'description': 'The version number of the client platform being used for playback.'}, {'name': 'Product', 'type': 'str', 'value': 'product', 'description': 'The type of client product being used for playback.'}, + {'name': 'Product Version', 'type': 'str', 'value': 'product_version', 'description': 'The version number of client product being used for playback.'}, {'name': 'Player', 'type': 'str', 'value': 'player', 'description': 'The name of the player being used for playback.'}, {'name': 'Initial Stream', 'type': 'int', 'value': 'initial_stream', 'description': 'If the stream is the initial stream of a continuous streaming session.', 'example': '0 or 1'}, {'name': 'IP Address', 'type': 'str', 'value': 'ip_address', 'description': 'The IP address of the device being used for playback.'}, diff --git a/plexpy/notification_handler.py b/plexpy/notification_handler.py index 34a60cd6..3ccec4e0 100644 --- a/plexpy/notification_handler.py +++ b/plexpy/notification_handler.py @@ -1005,7 +1005,9 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m 'user_thumb': notify_params['user_thumb'], 'device': notify_params['device'], 'platform': notify_params['platform'], + 'platform_version': notify_params['platform_version'], 'product': notify_params['product'], + 'product_version': notify_params['product_version'], 'player': notify_params['player'], 'ip_address': notify_params.get('ip_address', 'N/A'), 'started_datestamp': CustomArrow(arrow.get(notify_params['started']), date_format) if notify_params['started'] else '',