nire0510 / plugin.audio.calmradio

Calm Radio Kodi Add-on
4 stars 1 forks source link

Does not work in Kodi 18 #4

Open isKUL opened 4 years ago

isKUL commented 4 years ago

Unfortunately, in the 18 Kodi is not running it is a great addition to a Calm Radio. Problem in file plugin.audio.calmradio/intro.py on line 21, when the deprecated setCoordinateResolution(0) function tries to be used. If you install the add-on, try to just comment out the 21 line, the Calm Radio plugin will certainly start, but the position of the screen will all shift to the side: ( ... According to The new Kodi 18 API rules, you need to define the class constructor in a new way. It is a pity that I do not understand Python, but I really want this add-on for Kodi 18!

andhoo commented 4 years ago

I had the same problem. What I did was to commented out the line where the setCoordinateResolution(0) function is. intro.py and artwork.py Further more, modify all the screen coordinates in the two files. I used a factor 1,5 smaller which is 720p instead of 1080p. It is not a nice solution but for me it is sufficient.