mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-27 03:06:10 +00:00
added a warn on sync where tvtunes cannot set the settings file.
This commit is contained in:
parent
feb6c73fc3
commit
42f8d91ace
1 changed files with 6 additions and 0 deletions
|
@ -151,6 +151,12 @@ def getThemeMedia():
|
||||||
tvtunes.setSetting('custom_path_enable', "true")
|
tvtunes.setSetting('custom_path_enable', "true")
|
||||||
tvtunes.setSetting('custom_path', library)
|
tvtunes.setSetting('custom_path', library)
|
||||||
xbmc.log("TV Tunes custom path is enabled and set.")
|
xbmc.log("TV Tunes custom path is enabled and set.")
|
||||||
|
else:
|
||||||
|
# if it does not exist this will not work so warn user, often they need to edit the settings first for it to be created.
|
||||||
|
dialog = xbmcgui.Dialog()
|
||||||
|
dialog.ok('Warning', 'The settings file does not exist in tvtunes. Go to the tvtunes addon and change a setting, then come back and re-run')
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
# Create library directory
|
# Create library directory
|
||||||
if not xbmcvfs.exists(library):
|
if not xbmcvfs.exists(library):
|
||||||
|
|
Loading…
Reference in a new issue