Skip to content

Commit

Permalink
Update version number and fix xbmc.translatePath
Browse files Browse the repository at this point in the history
error
  • Loading branch information
Cip committed Jun 16, 2024
1 parent 7463c4e commit 25bcfce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.acestreamsearch"
name="AcestreamSearch"
version="0.1.0"
version="0.1.1"
provider-name="Moromete">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v 0.1.1
1. fix xbmc.translatePath error

v 0.1.0
1. migrate to python 3 for kodi 19

Expand Down
1 change: 0 additions & 1 deletion default.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

addon_id = 'plugin.video.acestreamsearch'
settings = xbmcaddon.Addon(id=addon_id)
fileslist = xbmc.translatePath(settings.getAddonInfo('profile'))

MODE_SEARCH = 1
MODE_MANUAL_ADD = 7
Expand Down
4 changes: 2 additions & 2 deletions settings.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import xbmc
import xbmcvfs
import os
from common import addon

class SETTINGS(object):

ADDON_PATH = addon.getAddonInfo('path')
PROFILE = xbmc.translatePath(addon.getAddonInfo('profile'))
PROFILE = xbmcvfs.translatePath(addon.getAddonInfo('profile'))

CHANNELS_DB = os.path.join(PROFILE,'channels.sqlite')

Expand Down

0 comments on commit 25bcfce

Please sign in to comment.