Req Python3 compatible equivalent to xbmcswift2
#1
Hi all,

Since new addons need to be python3 and xbmcswift2 isn't compatible, what is the equivalent I can use? I've tried xbmc but I can't import my plugin route from this as it doesn't have a module it seems. Obviously, I can search for guides on xbmcswift2 all day long, but searching for "xbmc python guide" doesn't give me the userguide I need for obvious reasons.
Reply
#2
If you looking for routing aspect: https://github.com/tamland/kodi-plugin-routing
If you looking for running addon from command line, than I would like to know too.
Proud developer for Shoko and Nakamori. Long time xbmc/kodi user. IT Freak at Monogatari.
Reply
#3
(2019-08-08, 06:54)bigretromike Wrote: If you looking for routing aspect: https://github.com/tamland/kodi-plugin-routing
If you looking for running addon from command line, than I would like to know too.

Thanks yeah, I found that, only problem is I have no idea how to translate my current addon into that format as the functions are all different and this script has only a very brief guide.
Reply
#4
As a web developer I initially liked this Flask-like decorator syntax of xbmcswift but now based on my experience I can tell you that the less abstractions you have the better your code is. Abstractions are too brittle and in case of third-party dependencies there's always a chance that the library you are using will be abandoned because its developer's interests changed.
So I'd recommend to stick to raw Kodi Python API as much as possible.
Raspberry PI 2 + LibreELEC 8 (Kodi 17)
Samsung Galaxy Tab A 10.1 + Kodi 17 for Android
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Python3 compatible equivalent to xbmcswift200