Call xbmc __init__ methods
This commit is contained in:
parent
16dbc726f1
commit
5eac547633
2 changed files with 4 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue