mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-11 10:46:13 +00:00
Migrate to new translatePath library
This commit is contained in:
parent
a18ca8ab9e
commit
5e7901be27
12 changed files with 49 additions and 29 deletions
|
@ -9,6 +9,7 @@ import xml.etree.ElementTree as etree
|
|||
from kodi_six import xbmc
|
||||
|
||||
from helper import LazyLogger
|
||||
from helper.utils import translate_path
|
||||
|
||||
from . import translate, dialog, settings
|
||||
|
||||
|
@ -47,7 +48,7 @@ def advanced_settings():
|
|||
if settings('useDirectPaths') != "0":
|
||||
return
|
||||
|
||||
path = xbmc.translatePath("special://profile/")
|
||||
path = translate_path("special://profile/")
|
||||
file = os.path.join(path, 'advancedsettings.xml')
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue