Signal stop to Companion clients correctly
This commit is contained in:
parent
820b514740
commit
a1d790c741
1 changed files with 2 additions and 5 deletions
|
@ -337,9 +337,6 @@ class SubscriptionMgr(object):
|
||||||
self._notify_server(players)
|
self._notify_server(players)
|
||||||
if self.subscribers:
|
if self.subscribers:
|
||||||
msg = self.msg(players)
|
msg = self.msg(players)
|
||||||
if self.isplaying is True:
|
|
||||||
# If we don't check here, Plex Companion devices will simply
|
|
||||||
# drop out of the Plex Companion playback screen
|
|
||||||
for subscriber in self.subscribers.values():
|
for subscriber in self.subscribers.values():
|
||||||
subscriber.send_update(msg)
|
subscriber.send_update(msg)
|
||||||
self.lastplayers = players
|
self.lastplayers = players
|
||||||
|
|
Loading…
Reference in a new issue