mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
Initialize scheduler to reconnect websocket when failed on startup
This commit is contained in:
parent
21309ba280
commit
a0799e8197
4 changed files with 6 additions and 4 deletions
|
@ -80,8 +80,9 @@ class ActivityHandler(object):
|
|||
if not session:
|
||||
return
|
||||
|
||||
logger.debug(u"PlexPy ActivityHandler :: Session %s started by user %s with ratingKey %s."
|
||||
% (str(session['session_key']), str(session['user_id']), str(session['rating_key'])))
|
||||
logger.debug(u"PlexPy ActivityHandler :: Session %s started by user %s (%) with ratingKey %s (%s)."
|
||||
% (str(session['session_key']), str(session['user_id']), session['username'],
|
||||
str(session['rating_key']), session['full_title']))
|
||||
|
||||
plexpy.NOTIFY_QUEUE.put({'stream_data': session, 'notify_action': 'on_play'})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue