mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Update to use special protocol
Otherwise it breaks path substitution set in advancedsettings
This commit is contained in:
parent
b34007f727
commit
24b572674d
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ class ConnectManager(object):
|
|||
deviceName=device_name,
|
||||
deviceId=device_id)
|
||||
self._connect.setFilePath(xbmc.translatePath(
|
||||
addon.getAddonInfo('profile')).decode('utf-8'))
|
||||
"special://profile/addon_data/").decode('utf-8'))
|
||||
self.state = self._connect.connect()
|
||||
log.info("Started with: %s", self.state)
|
||||
|
||||
|
|
|
@ -432,7 +432,7 @@ def reset():
|
|||
import connectmanager
|
||||
# Delete the settings
|
||||
addon = xbmcaddon.Addon()
|
||||
addondir = xbmc.translatePath(addon.getAddonInfo('profile')).decode('utf-8')
|
||||
addondir = xbmc.translatePath("special://profile/addon_data/").decode('utf-8')
|
||||
dataPath = "%ssettings.xml" % addondir
|
||||
xbmcvfs.delete(dataPath)
|
||||
log.info("Deleting: settings.xml")
|
||||
|
|
Loading…
Reference in a new issue