Skip to content

Commit

Permalink
Update to Python 3 for Kodi 19 (matrix)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-mil committed May 15, 2023
1 parent 9e1a918 commit 49ca0d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion plugin.program.steamlink/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
class KodiAddon(object):
def __init__(self):
self._addon = xbmcaddon.Addon()
self.path = self._addon.getAddonInfo('path').decode('utf-8')
# self.path = self._addon.getAddonInfo('path').decode('utf-8')
self.path = self._addon.getAddonInfo('path')
# self.path = os.path.dirname(os.path.realpath(__file__))

def run(self):
check_call(['bash', self.path + '/resources/lib/start.sh'])
Expand Down
2 changes: 1 addition & 1 deletion plugin.program.steamlink/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.program.steamlink" name="Steamlink Launcher" version="1.0.0" provider-name="bigbrozer">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="xbmc.python" version="3.0.0"/>
</requires>
<extension point="xbmc.python.pluginsource" library="addon.py">
<provides>executable</provides>
Expand Down

0 comments on commit 49ca0d5

Please sign in to comment.