Signal stop to Companion clients correctly

This commit is contained in:
croneter 2018-02-04 12:31:28 +01:00
parent 820b514740
commit a1d790c741

View file

@ -337,9 +337,6 @@ class SubscriptionMgr(object):
self._notify_server(players)
if self.subscribers:
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():
subscriber.send_update(msg)
self.lastplayers = players