From db1cb3d6588126b13e3bd1849f152e926a8866c9 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sun, 16 Feb 2020 19:07:08 -0800 Subject: [PATCH] Forgot saving channel info to sessions db table --- plexpy/activity_processor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plexpy/activity_processor.py b/plexpy/activity_processor.py index 7567c8dc..84ccc76c 100644 --- a/plexpy/activity_processor.py +++ b/plexpy/activity_processor.py @@ -125,6 +125,9 @@ class ActivityProcessor(object): 'relayed': session.get('relayed', 0), 'rating_key_websocket': session.get('rating_key_websocket', ''), 'raw_stream_info': json.dumps(session), + 'channel_call_sign': session.get('channel_call_sign', ''), + 'channel_identifier': session.get('channel_identifier', ''), + 'channel_thumb': session.get('channel_thumb', ''), 'stopped': int(time.time()) }