Correct reversed settings

This commit is contained in:
angelblue05 2015-12-31 17:16:16 -06:00
parent 8b2bd3e30b
commit 7a19f010dc
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ class KodiMonitor(xbmc.Monitor):
self.logMsg("Properties already set for item.", 1)
else:
if ((utils.settings('useDirectPaths') == "1" and not type == "song") or
(type == "song" and utils.settings('disableMusic') == "false")):
(type == "song" and utils.settings('enableMusic') == "true")):
# Set up properties for player
embyconn = utils.kodiSQL('emby')
embycursor = embyconn.cursor()

View file

@ -158,7 +158,7 @@ def reset():
connection.commit()
cursor.close()
if settings('disableMusic') != "true":
if settings('enableMusic') == "true":
logMsg("EMBY", "Resetting the Kodi music database.")
connection = kodiSQL('music')
cursor = connection.cursor()