From a1d790c741aef0ce7a8b2974ea43650182be8422 Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 4 Feb 2018 12:31:28 +0100 Subject: [PATCH] Signal stop to Companion clients correctly --- resources/lib/plexbmchelper/subscribers.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/resources/lib/plexbmchelper/subscribers.py b/resources/lib/plexbmchelper/subscribers.py index c09b76a0..f83b05f0 100644 --- a/resources/lib/plexbmchelper/subscribers.py +++ b/resources/lib/plexbmchelper/subscribers.py @@ -337,11 +337,8 @@ 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) + for subscriber in self.subscribers.values(): + subscriber.send_update(msg) self.lastplayers = players def _notify_server(self, players):