Fix music in initial set up wizard
Reverse the logic since music is enabled by default.
This commit is contained in:
parent
1c0c7f000f
commit
cb9aeebd3d
1 changed files with 10 additions and 9 deletions
|
@ -104,11 +104,12 @@ class ConnectionManager():
|
|||
xbmc.executebuiltin('Addon.OpenSettings(%s)' % self.addonId)
|
||||
return
|
||||
|
||||
musicEnabled = xbmcgui.Dialog().yesno("Music Setting", "Enable music library?")
|
||||
if musicEnabled:
|
||||
self.logMsg("User opted to enable music library.", 1)
|
||||
utils.settings('enableMusicSync', "true")
|
||||
|
||||
musicDisabled = xbmcgui.Dialog().yesno("Music Setting", "Disable music library?")
|
||||
if musicDisabled:
|
||||
self.logMsg("User opted to disable music library.", 1)
|
||||
utils.settings('enableMusicSync', "false")
|
||||
else:
|
||||
# Music is enabled, prompt for direct stream
|
||||
musicPath = xbmcgui.Dialog().yesno("Music Setting", "Direct stream the music library?", "Select this option only if you plan on listening to music outside your network.")
|
||||
if musicPath:
|
||||
self.logMsg("User option to direct stream music library.", 1)
|
||||
|
|
Loading…
Reference in a new issue