mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Fix websocket log spam
* Bug where websocket reports a session playing while /status/sessions reports nothing.
This commit is contained in:
parent
1de3c0d559
commit
b4a25e33bb
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class ActivityHandler(object):
|
||||||
monitor_proc.write_session(session=self.get_live_session(), notify=False)
|
monitor_proc.write_session(session=self.get_live_session(), notify=False)
|
||||||
|
|
||||||
def on_start(self):
|
def on_start(self):
|
||||||
if self.is_valid_session():
|
if self.is_valid_session() and self.get_live_session():
|
||||||
logger.debug(u"PlexPy ActivityHandler :: Session %s has started." % str(self.get_session_key()))
|
logger.debug(u"PlexPy ActivityHandler :: Session %s has started." % str(self.get_session_key()))
|
||||||
|
|
||||||
# Fire off notifications
|
# Fire off notifications
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue