diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index 790b43ba..55e60fbc 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -24,7 +24,7 @@ class KodiMonitor(xbmc.Monitor): self.doUtils = downloadutils.DownloadUtils().downloadUrl self.xbmcplayer = xbmc.Player() - + xbmc.Monitor.__init__(self) self.logMsg("Kodi monitor started.", 1) def onScanStarted(self, library): diff --git a/resources/lib/player.py b/resources/lib/player.py index ed41635e..02014c75 100644 --- a/resources/lib/player.py +++ b/resources/lib/player.py @@ -36,7 +36,9 @@ class Player(xbmc.Player): self.doUtils = downloadutils.DownloadUtils().downloadUrl self.xbmcplayer = xbmc.Player() - self.logMsg("Starting playback monitor.", 2) + xbmc.Player.__init__(self) + + self.logMsg("Started playback monitor.", 2) def GetPlayStats(self): return self.playStats