siku2 / script.service.sponsorblock

Kodi add-on for SponsorBlock
MIT License
124 stars 14 forks source link

Updating to 0.50 on kodi 18 with invidious already installed #55

Open pitsi opened 1 year ago

pitsi commented 1 year ago

Preface. I am on kodi 18.9 (libreelec 9.2.6 x64) and I am using lekma's addon for invidious since 2020. I mainly use as a fallback option to the youtube addon, i.e. for the times their api is... underperforming, to put it mildly. Its latest version that is compatible with python2 is 0.6.6 and it is no longer available on lekma's repo. In fact, the repo only contains v1.x for kodi 19 and v2.x for kodi 20, nothing more. The same versions are also available through its github releases.

So, when trying to upgrade sponsorblock to 0.50, it tries to install invidious 2.1.1 and fails because of its python3 dependency, so it does not upgrade it. Removing lekma's repo completely and trying again brings this obvious error 2023-07-05 13:13:23.382 T:140059328517888 ERROR: CAddonInstallJob[script.service.sponsorblock]: The dependency on plugin.video.invidious version 2.1.1 could not be satisfied.

This makes sponsorblock indirectly incompatible with kodi 18 or 19. But if someone is on kodi 19, he can remove invidious, update sponsorblock and install it again (although I am not 100% sure this will work). What options does he have if he is on kodi 18? Download the zip, extract it, remove the line with the invidious dependency from addon.xml, zip again and install by hand?