Will Python 2 Add-ons still work with latest Kodi releases
#1
The first, most important question I guess is....

Will my old Python 2 Add-ons still work with recent Kodi releases?

If so, why should I migrate?

Oh and what to do with dependencies I have no control over?

Thanks!
Reply
#2
sure, they will work fine in any kodi release, including v18 Leia.
as of v19 M* (which is going to be released in a far an distant future), addons will need to be py3 compatible.

we will ofc make sure all official python libraries in our repo (script.module.*) will be py3 compatible.
if there's other deps you're worried about, lmk.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Well Plugintools.py is not really a dependency, I just include it with all my Youtube Add-ons. I guess many others do as well Wink

https://github.com/zag2me/plugin.video.d...intools.py

Original source is here: http://www.mimediacenter.info/plugintools so I guess I just need to contact him to port it for the future.
Reply
#4
(2018-01-24, 13:32)docwra Wrote: Well Plugintools.py is not really a dependency, I just include it with all my Youtube Add-ons. I guess many others do as well Wink

https://github.com/zag2me/plugin.video.d...intools.py

Original source is here: http://www.mimediacenter.info/plugintools so I guess I just need to contact him to port it for the future.
Well, then "plugintools" should probably be a scripting addon in the future to cut down on copy & paste Wink

Hell, kodi-plugin-routing is only 200 lines, so only half the size of this "plugintools" - OTOH, some of the plugintools functions have better alternatives IMHO:

- get_params: kodi-plugin-routing
- read, read_body_and_headers: requests

Regards, Tobias

PS: Your addon claims to be licensed as GPL2 (well, the source header says GPL3), which makes the effective license GPL3, since plugintools is GPL3.
Reply
#5
Are you guys thinking what I am thinking? Old "fully-blown" addons will be phazed out with the release of Kodi 19 unless some really competent developers decide to port them to python 3.
Reply
#6
no idea what you mean twilight0. Official support for Python 2.7 will end in 2020, which is the reason for us moving towards Python 3. See https://www.python.org/dev/peps/pep-0373/
Reply
#7
kodi 19 is like 2 years away, by that time almost all current addons will be obsolete anyway.
Reply
#8
Python 2 to Python 3 porting is actually pretty simple. The format is very similar and the syntax only slightly different as far as I can tell.

Basically it should be pretty easy.

As a bonus, the porting will mean developers will hopefully look at new features along the way too Wink so its not all bad.
Reply
#9
I mean about pirate addons.
Reply
#10
(2018-01-30, 10:03)twilight0 Wrote: I mean about pirate addons.
 I'm guessing all Add-ons are possible to be upgraded, just like everything else.

Code is just code at the end of the day, its just up to the developer to do the work. That work, should not be huge, especially with such a long time until it happens.
Reply
#11
the bump has nothing to do with us trying to get rid of piracy add-ons. I mean, I would love to see them burn in hell and nobody would port them, but I really doubt that wish will come true.
Reply

Logout Mark Read Team Forum Stats Members Help
Will Python 2 Add-ons still work with latest Kodi releases0