mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Fix typo in settings path
This commit is contained in:
parent
17cc2116e4
commit
7fb957a788
2 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ class ConnectManager(object):
|
|||
deviceName=device_name,
|
||||
deviceId=device_id)
|
||||
self._connect.setFilePath(xbmc.translatePath(
|
||||
"special://profile/addon_data/").decode('utf-8'))
|
||||
"special://profile/addon_data/plugin.video.emby").decode('utf-8'))
|
||||
self.state = self._connect.connect()
|
||||
log.info("Started with: %s", self.state)
|
||||
|
||||
|
|
|
@ -411,10 +411,10 @@ def reset():
|
|||
import connectmanager
|
||||
# Delete the settings
|
||||
addon = xbmcaddon.Addon()
|
||||
addondir = xbmc.translatePath("special://profile/addon_data/").decode('utf-8')
|
||||
addondir = xbmc.translatePath(
|
||||
"special://profile/addon_data/plugin.video.emby/").decode('utf-8')
|
||||
dataPath = "%ssettings.xml" % addondir
|
||||
xbmcvfs.delete(dataPath)
|
||||
log.info("Deleting: settings.xml")
|
||||
connectmanager.ConnectManager().clear_data()
|
||||
|
||||
dialog.ok(heading=language(29999), line1=language(33088))
|
||||
|
|
Loading…
Reference in a new issue