mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
librespot: update xbmc.translatePath (deprecated) to xbmcvfs.translatePath
This commit is contained in:
parent
05575a6753
commit
a76dedba7a
@ -1,6 +1,7 @@
|
||||
import os
|
||||
import socket
|
||||
import xbmc
|
||||
import xbmcvfs
|
||||
import xbmcaddon
|
||||
import xbmcgui
|
||||
|
||||
@ -18,7 +19,7 @@ DEFAULTS = dict(
|
||||
)
|
||||
|
||||
ADDON = xbmcaddon.Addon()
|
||||
ADDON_HOME = xbmc.translatePath(ADDON.getAddonInfo('profile'))
|
||||
ADDON_HOME = xbmcvfs.translatePath(ADDON.getAddonInfo('profile'))
|
||||
ADDON_ICON = ADDON.getAddonInfo('icon')
|
||||
ADDON_NAME = ADDON.getAddonInfo('name')
|
||||
ADDON_PATH = ADDON.getAddonInfo('path')
|
||||
|
Loading…
x
Reference in New Issue
Block a user