Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Python 3 for Kodi 19 (matrix) #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugin.program.steamlink/addon.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Steamlink Launcher for Kodi
Steamlink Launcher for Kodi 19.4
"""

import os
Expand All @@ -12,7 +12,7 @@
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')

def run(self):
check_call(['bash', self.path + '/resources/lib/start.sh'])
Expand Down
5 changes: 3 additions & 2 deletions 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="0.0.2" provider-name="bigbrozer">
<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 All @@ -18,6 +18,7 @@
<email>[email protected]</email>
<source>https://github.com/bigbrozer/kodi-steamlink-launcher</source>
<news>
1.0.0 Use Python 3 for Kodi 19.4 (Matrix)
0.0.2 Stop kodi to save resources and use heartbeat to detect kodi restart
0.0.1 Initial release
</news>
Expand Down