This commit is contained in:
angelblue05 2016-02-13 23:29:01 -06:00
parent ffeec4bc5a
commit 6c801c326c

View file

@ -82,7 +82,7 @@ class KodiMonitor(xbmc.Monitor):
kodiid = item['id'] kodiid = item['id']
type = item['type'] type = item['type']
except (KeyError, TypeError): except (KeyError, TypeError):
self.logMsg("Properties already set for item.", 1) self.logMsg("Item is invalid for playstate update.", 1)
else: else:
if ((utils.settings('useDirectPaths') == "1" and not type == "song") or if ((utils.settings('useDirectPaths') == "1" and not type == "song") or
(type == "song" and utils.settings('enableMusic') == "true")): (type == "song" and utils.settings('enableMusic') == "true")):