Support Kodi v19 Matrix
Kodi 19 uses python3 for add-ons so the add-on must be updated to work on this new version.
Supporting documents:
- https://kodi.wiki/view/General_information_about_migration_to_Python_3
- https://forum.kodi.tv/forumdisplay.php?fid=281
Open questions: Continue supporting Kodi 18? If yes, use branches or have the code generic?
Some information that may help to decide:
- Kodi 19 does not support Raspberry Pi 1 anymore so some users may remain on Kodi <=18
- the add-on provides only basic features currently so does it make sense to stop the development for Kodi <= 18?
- the code may become harder to maintain/read if it supports both python2/python3 and Kodi 18/19 (code complexity to be confirmed)
TODO:
-
Add support for python3 (unicode strings, Kodi APIs) -
Create a Kodi binary add-on to import easily libtorrent (more information in #14)