inputstream.adaptive icon indicating copy to clipboard operation
inputstream.adaptive copied to clipboard

Kodi v20 Nexus - unofficial new releases (Widevine fixes)

Open CastagnaIT opened this issue 9 months ago • 20 comments

Recently Widevine revoked (made obsolete) old versions of Widevine library, so new versions starting from 4.10.2891.0, require some CDM updates, otherwise can cause Kodi to crash every time you play a DRM video, or even a failure to execute the Widevine license HTTP request (that will return errors like HTTP error 400, 403, 404, etc).

Kodi being v20 EOL we are unable to provide a new release with the necessary fixes for widevine (due to release system not more available and VS SDK incompatibility that can cause other kind of crashes).

Below we provide some guidelines on how to deal with getting an update for Kodi v20.

Possible solutions

Manually download and install the updated ISA package

Currently, we can only provide builds for Windows OS.

IMPORTANT NOTE FOR WINDOWS: Make sure you have the latest version of VS C++ runtime installed on your system, this is to avoid possible Kodi crashes on add-on loading. You can find last version of the runtime from this link: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version

Updated packages: inputstream.adaptive_Windows-x86_20.3.18.zip inputstream.adaptive_Windows-x64_20.3.18.zip

Build the add-on manually

The "Nexus" branch of the repository has been updated with all required fixes. So you can build the updated ISA for your operative system by yourself, technical development skills are required which are strictly dependent on the operating system used, on the Wiki you can find some suggestions for building.

Kodi OS (e.g. LibreElec, CoreElec, etc...)

We are not directly part of these external projects, so please make a request directly to them if they can grant a regular or custom update of InputStream Adaptive for the various device platforms based on the latest "Nexus" branch commit.


Ref. issue #1801


THIS IS A COURTESY POST, NO HELP, NOR SUPPORT WILL BE PROVIDED FOR THIS OUTDATED VERSION OF KODI, WHOEVER UPDATES ASSUMES THE RISK OF POSSIBLE PROBLEMS.

CastagnaIT avatar May 03 '25 08:05 CastagnaIT

@CastagnaIT, Sorry I don't want to sound silly but the updated Nexus branch is this "https://github.com/xbmc/inputstream.adaptive/tree/Nexus"? Here it seems to me that the last update dates back to 4 months ago. Can you please give me the links for the various Nexus and Omega versions so that I can try to compile them for Linux?

edenmedia avatar May 03 '25 17:05 edenmedia

@edenmedia Is this not what you need?

https://github.com/CastagnaIT/inputstream.adaptive/tree/refs/heads/cdm_update_omega https://github.com/CastagnaIT/inputstream.adaptive/tree/refs/heads/cdm_update_nexus

ErikBrown2 avatar May 03 '25 22:05 ErikBrown2

@CastagnaIT I think so . Thank you so much for your patience. I hope to succeed. Unless the saint "@heitbaum" does us a great favor by creating 2 test builds

edenmedia avatar May 04 '25 01:05 edenmedia

@CastagnaIT I think so . Thank you so much for your patience. I hope to succeed. Unless the saint "@heitbaum" does us a great favor by creating 2 test builds

Let me know the builds you would like. And I'll run some

heitbaum avatar May 04 '25 01:05 heitbaum

A build with the latest @CastagnaIT changes for Libreelec 11 (Nexus) and a build for Libreelec 12 (Omega) would be really appreciated. Thank you so much in advance

edenmedia avatar May 04 '25 01:05 edenmedia

ill see if i can host a repo with backports for the various platforms :) I was thinking it would be nice to have a repo that keeps older IA versions as well!

@glennguy and myself created an IA build script some time ago: https://github.com/matthuisman/ia_tests/blob/master/BUILD_SCRIPTS/build-ia.sh

With a few tweaks - it could work with newer kodi versions too

matthuisman avatar May 04 '25 02:05 matthuisman

A build with the latest @CastagnaIT changes for Libreelec 11 (Nexus) and a build for Libreelec 12 (Omega) would be really appreciated. Thank you so much in advance

~Nexus LE addon builds based on the below hash are available at https://heitbaum.libreelec.tv/. Note: I have not incremented the addon rev.~

Addons for LE Nexus, Omega and Piers are now published on normal LE addon server.

diff --git a/packages/mediacenter/kodi-binary-addons/inputstream.adaptive/package.mk b/packages/mediacenter/kodi-binary-addons/i
nputstream.adaptive/package.mk
index b3ff5f80c95..600e522fb98 100644
--- a/packages/mediacenter/kodi-binary-addons/inputstream.adaptive/package.mk
+++ b/packages/mediacenter/kodi-binary-addons/inputstream.adaptive/package.mk
@@ -2,8 +2,8 @@
 # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
 
 PKG_NAME="inputstream.adaptive"
-PKG_VERSION="20.3.18-Nexus"
-PKG_SHA256="0755b27612d44d372bfe2b9fa32e47af616008287998d4b77ae70bcfb782cef9"
+PKG_VERSION="f1ed602802ad2f70a58a7bf59fdce45c2f15f0dd"
+PKG_SHA256="e2b8d8ff509f53d18daf2fcde3380278a749781192eca296a20eb94cd4adc929"
 PKG_REV="1"
 PKG_ARCH="any"
 PKG_LICENSE="GPL"

heitbaum avatar May 04 '25 04:05 heitbaum

Thank you a million you are always very kind. Unfortunately at the address you indicate I can only find the version for Libreelec 11.

edenmedia avatar May 04 '25 04:05 edenmedia

Thank you a million you are always very kind. Unfortunately at the address you indicate I can only find the version for Libreelec 11.

Omega build was kicked off but probably an hour away - will drop a note once done.

heitbaum avatar May 04 '25 04:05 heitbaum

@heitbaum You are great. Thank you very much

edenmedia avatar May 04 '25 04:05 edenmedia

@ErikBrown2 Hi, sorry I didn't notice that you weren't @CastagnaIT. Thank you very much for the links.

edenmedia avatar May 04 '25 05:05 edenmedia

@edenmedia ~Files for Omega available.~ Addons for LE Nexus, Omega and Piers are now published on normal LE addon server.

diff --git a/packages/mediacenter/kodi-binary-addons/inputstream.adaptive/package.mk b/packages/mediacenter/kodi-binary-addons/i
nputstream.adaptive/package.mk
index e0b8d5b5570..9c39c086cba 100644
--- a/packages/mediacenter/kodi-binary-addons/inputstream.adaptive/package.mk
+++ b/packages/mediacenter/kodi-binary-addons/inputstream.adaptive/package.mk
@@ -2,8 +2,8 @@
 # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
 
 PKG_NAME="inputstream.adaptive"
-PKG_VERSION="21.5.12-Omega"
-PKG_SHA256="6c36aaa89ea85d348c96b24048599a40f77a7a0faefea654679a142719416798"
+PKG_VERSION="367faccfe9fd56bf5922919a0e4f2283d84aecb9"
+PKG_SHA256="fc3230b9179ea1d453e60bd2ec96183ec28947f94420c4daaab3e001b47fa00a"
 PKG_REV="1"
 PKG_ARCH="any"
 PKG_LICENSE="GPL"

heitbaum avatar May 04 '25 05:05 heitbaum

@heitbaum Thank you a million

edenmedia avatar May 04 '25 06:05 edenmedia

@CastagnaIT, Sorry I don't want to sound silly but the updated Nexus branch is this "https://github.com/xbmc/inputstream.adaptive/tree/Nexus"? Here it seems to me that the last update dates back to 4 months ago. Can you please give me the links for the various Nexus and Omega versions so that I can try to compile them for Linux?

Managing this takes many hours, not minuts, i am not a robot i have a real life.... as i had said here https://github.com/xbmc/inputstream.adaptive/issues/1801#issuecomment-2848522673 anyway now its all released

CastagnaIT avatar May 04 '25 07:05 CastagnaIT

@CastagnaIT, Sorry I don't want to sound silly but the updated Nexus branch is this "https://github.com/xbmc/inputstream.adaptive/tree/Nexus"? Here it seems to me that the last update dates back to 4 months ago. Can you please give me the links for the various Nexus and Omega versions so that I can try to compile them for Linux?

Managing this takes many hours, not minuts, i am not a robot i have a real life.... as i had said here #1801 (comment) anyway now its all released

@CastagnaIT I think you misunderstood me. I asked you for links with the modified files so that I could try to build a version for Libreelec. I didn't ask you to do that. In any case, we have already solved it. Thanks anyway

edenmedia avatar May 04 '25 07:05 edenmedia

@edenmedia, Yes, please. Can you please compile the fixed add-on for LibreElec so that we do not have to wait till the Kodi repository gets updated?

ErikBrown2 avatar May 04 '25 10:05 ErikBrown2

Addons for LE Nexus, Omega and Piers are now published on normal LE addon server.

heitbaum avatar May 04 '25 20:05 heitbaum

Did you bump version for Nexus? Im trying to detect and warn when users install CDM but dont have supported IA

matthuisman avatar May 04 '25 22:05 matthuisman

Did you bump version for Nexus? Im trying to detect and warn when users install CDM but dont have supported IA

Yes nexus is bumped too.

heitbaum avatar May 04 '25 23:05 heitbaum

@heitbaum thanks to your files I fixed my aging jammy/nexus install (might be time to move to LE), kudos

lekma avatar May 05 '25 06:05 lekma