mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
Add setup dialog
For music - to enable and if direct stream should be used.
This commit is contained in:
parent
1691fd5e8b
commit
de9fe79ab8
1 changed files with 12 additions and 0 deletions
|
@ -104,6 +104,18 @@ class ConnectionManager():
|
||||||
xbmc.executebuiltin('Addon.OpenSettings(%s)' % self.addonId)
|
xbmc.executebuiltin('Addon.OpenSettings(%s)' % self.addonId)
|
||||||
return
|
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")
|
||||||
|
|
||||||
|
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)
|
||||||
|
utils.settings('directstreammusic', "true")
|
||||||
|
|
||||||
|
return
|
||||||
|
|
||||||
def getServerDetails(self):
|
def getServerDetails(self):
|
||||||
|
|
||||||
self.logMsg("Getting Server Details from Network")
|
self.logMsg("Getting Server Details from Network")
|
||||||
|
|
Loading…
Reference in a new issue