mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix tvtunes visibility
This commit is contained in:
parent
aea14cfcb2
commit
45378edbe8
1 changed files with 1 additions and 3 deletions
|
@ -400,9 +400,7 @@ def getThemeMedia():
|
||||||
xbmcvfs.mkdir(library)
|
xbmcvfs.mkdir(library)
|
||||||
|
|
||||||
# Set custom path for user
|
# Set custom path for user
|
||||||
tvtunes_path = xbmc.translatePath(
|
if xbmc.getCondVisibility('System.HasAddon(script.tvtunes)'):
|
||||||
"special://profile/addon_data/script.tvtunes/").decode('utf-8')
|
|
||||||
if xbmcvfs.exists(tvtunes_path):
|
|
||||||
tvtunes = xbmcaddon.Addon(id="script.tvtunes")
|
tvtunes = xbmcaddon.Addon(id="script.tvtunes")
|
||||||
tvtunes.setSetting('custom_path_enable', "true")
|
tvtunes.setSetting('custom_path_enable', "true")
|
||||||
tvtunes.setSetting('custom_path', library)
|
tvtunes.setSetting('custom_path', library)
|
||||||
|
|
Loading…
Reference in a new issue