diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index d88b0afc..8a89b34b 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -94,7 +94,7 @@ class KodiMonitor(xbmc.Monitor): try: kodi_id = None - if KODI >= 17 and self.isPlaying() and data['item']['type'] != "song": + if KODI >= 17 and xbmc.Player().isPlaying() and data['item']['type'] != "song": item = xbmc.Player().getVideoInfoTag() kodi_id = item.getDbId() item_type = item.getMediaType()