From f63b5514f3d2ae36a3947ea32657b737fc8f141d Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Wed, 19 Oct 2016 18:17:30 -0700 Subject: [PATCH] Stop capitalizing the action name in notifications --- plexpy/notification_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexpy/notification_handler.py b/plexpy/notification_handler.py index 4c5a1f5f..5882e4dc 100644 --- a/plexpy/notification_handler.py +++ b/plexpy/notification_handler.py @@ -420,7 +420,7 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, * 'server_name': server_name, 'server_uptime': server_uptime, 'server_version': server_times.get('version',''), - 'action': notify_action.split('on_')[-1].title(), + 'action': notify_action.split('on_')[-1], 'datestamp': arrow.now().format(date_format), 'timestamp': arrow.now().format(time_format), # Stream parameters @@ -548,7 +548,7 @@ def build_server_notify_params(notify_action=None, **kwargs): 'server_name': server_name, 'server_uptime': server_uptime, 'server_version': server_times.get('version',''), - 'action': notify_action.split('on_')[-1].title(), + 'action': notify_action.split('on_')[-1], 'datestamp': arrow.now().format(date_format), 'timestamp': arrow.now().format(time_format), # Plex Media Server update parameters