From 2a6d8757e6ccd96ba10625e1deaea322d8283aed Mon Sep 17 00:00:00 2001 From: croneter Date: Thu, 7 Dec 2017 17:15:54 +0100 Subject: [PATCH] Class must only be initiated and used once Hence no borg necessary --- resources/lib/player.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/resources/lib/player.py b/resources/lib/player.py index c50e0e6c..34a6e805 100644 --- a/resources/lib/player.py +++ b/resources/lib/player.py @@ -22,15 +22,10 @@ log = logging.getLogger("PLEX."+__name__) class Player(xbmc.Player): - # Borg - multiple instances, shared state - _shared_state = {} - - played_info = {} playStats = {} currentFile = None def __init__(self): - self.__dict__ = self._shared_state self.doUtils = downloadutils.DownloadUtils().downloadUrl xbmc.Player.__init__(self) log.info("Started playback monitor.")