mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Correct reversed settings
This commit is contained in:
parent
8b2bd3e30b
commit
7a19f010dc
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue