mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +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,
|
deviceName=device_name,
|
||||||
deviceId=device_id)
|
deviceId=device_id)
|
||||||
self._connect.setFilePath(xbmc.translatePath(
|
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()
|
self.state = self._connect.connect()
|
||||||
log.info("Started with: %s", self.state)
|
log.info("Started with: %s", self.state)
|
||||||
|
|
||||||
|
|
|
@ -411,10 +411,10 @@ def reset():
|
||||||
import connectmanager
|
import connectmanager
|
||||||
# Delete the settings
|
# Delete the settings
|
||||||
addon = xbmcaddon.Addon()
|
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
|
dataPath = "%ssettings.xml" % addondir
|
||||||
xbmcvfs.delete(dataPath)
|
xbmcvfs.delete(dataPath)
|
||||||
log.info("Deleting: settings.xml")
|
|
||||||
connectmanager.ConnectManager().clear_data()
|
connectmanager.ConnectManager().clear_data()
|
||||||
|
|
||||||
dialog.ok(heading=language(29999), line1=language(33088))
|
dialog.ok(heading=language(29999), line1=language(33088))
|
||||||
|
|
Loading…
Reference in a new issue