2020-04-21, 13:33
(2020-04-14, 11:52)AnonTester Wrote: See https://forum.kodi.tv/showthread.php?tid=351745 for the updated requirements. As the code is py2 and 3 compatible, the only change between Kodi 18 and 19 is the addon.xml file and if you maintain repositories, the version numbers need to be different.
It's up to you if maintaining multiple branches in git makes sense just for that. You could keep a single branch but just create 2 'release' zip files for each kodi version.
there is a trock for this. as long as code is py2 and python 3 compatable. you can simply leave out the python requred import completly in the xml. as kodi already imports the version built in depending on 18 vs 19.
seriously try it it works just leave out the import. delete that line it will install and work on both 18&19. auto widget dev did this sussesfuly so he doesn't need 2 versions. supports 17/18/and 19 all with one version in a single repo