dandygithub / kodi

KODI Addons Project
GNU General Public License v3.0
75 stars 48 forks source link

[WIP] Hdrezka now works with python3 #52

Closed ffoxin closed 3 years ago

ffoxin commented 3 years ago

Here is an attempt to make the hdrezka working on kodi19 with python3. The current version is still in progress and was made for early review and comments.

To be done:

The main issue is with hdrezka code itself: there are many changes due to deprecated API and I have no idea how to make it both py2 and py3 compatible without if-else. But this way sounds and looks pretty ugly (for me). Maybe refactor it and extract code into separate methods? But in this case, it will be less easy to understand code. I need help with that stuff.