Unable to satisfy xbmc.python
ChabaneAmaury opened this issue · 1 comments
ChabaneAmaury commented
This might be because the plugin is old, but on the latest version of kodi, it is running xbmc.python v3.0.0, and the plugin is working on 2.25.x. It might need an extra update.
jacen05 commented
Hello @bigbrozer @ChabaneAmaury,
I made a fork of this project : https://github.com/jacen05/kodi-steamlink-launcher. Thanks of the work of @bigbrozer, it was quite easy.
I don't make a pull request as my project goal is to get this working on a different context:
- Ubuntu or other systemd-based x86/x64 Linux
- Kodi installed as Debian package
- SteamLink installed as flatpak package (the main way to distribute StreamLink in most distribution)
However for your usecase (Raspbian), I think all you have to do is:
- Update the version of xbmc.python in addon.xml, to match target Kodi version (see in the wiki)
- Update the addon.py to support Python 3. The getAddonInfo() method was not working in my case, so I replaced the line with
self.path = os.path.dirname(os.path.realpath(__file__))
All other changes made in my code are related to my setup and will probably not work on Raspbian. So it's just easier if you implement these 2 code changes.