mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-29 03:20:33 +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
|
@ -12,6 +12,7 @@ from kodi_six import xbmc, xbmcaddon
|
|||
|
||||
import database
|
||||
from helper import get_filesystem_encoding
|
||||
from helper.utils import translate_path
|
||||
|
||||
from . import settings
|
||||
from . import kodi_version
|
||||
|
@ -19,7 +20,7 @@ from . import kodi_version
|
|||
##################################################################################################
|
||||
|
||||
__addon__ = xbmcaddon.Addon(id='plugin.video.jellyfin')
|
||||
__pluginpath__ = xbmc.translatePath(__addon__.getAddonInfo('path'))
|
||||
__pluginpath__ = translate_path(__addon__.getAddonInfo('path'))
|
||||
|
||||
##################################################################################################
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue