mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +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)
|
||||
|
||||
# Set custom path for user
|
||||
tvtunes_path = xbmc.translatePath(
|
||||
"special://profile/addon_data/script.tvtunes/").decode('utf-8')
|
||||
if xbmcvfs.exists(tvtunes_path):
|
||||
if xbmc.getCondVisibility('System.HasAddon(script.tvtunes)'):
|
||||
tvtunes = xbmcaddon.Addon(id="script.tvtunes")
|
||||
tvtunes.setSetting('custom_path_enable', "true")
|
||||
tvtunes.setSetting('custom_path', library)
|
||||
|
|
Loading…
Reference in a new issue