aenemapy / aenemapyrepo

Kodi repo
39 stars 30 forks source link

change xbmc.translatePath to use xbmcvfs.translatePath for Kodi 20 #34

Closed garikaib closed 1 year ago

garikaib commented 1 year ago

This plugin makes use of e xbmc.translatePath which was deprecated in Kodi 19 and is no longer available in the upcoming Kodi 20 it needs to use xbmcvfs.translatePath instead otherwise it will not work with Kodi 20. Current the following error is thrown when on Kodi 20 RC1

`2022-12-31 06:13:41.863 T:7435 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

LoganWolverineX commented 1 year ago

Kodi 20 stable has been released on their website and playstore. hopefully dev can update realizer and premiumizer asap, so it can work again.

LoganWolverineX commented 1 year ago

@aenemapy

peno64 commented 1 year ago

I created a pull request with the needed changes for kodi 20 I also attach the modified zip files of the 2 addons which can be installed in both kodi 19 and 20

plugin.video.realizerx.zip plugin.video.premiumizerx.zip

LoganWolverineX commented 1 year ago

@peno64 thank you so much! you are always a life saver when a new kodi version comes out :-)