Skip to content

Commit c8fcb7c

Browse files
[script.module.inputstreamhelper] 0.8.4 (#2776)
1 parent f3dcf18 commit c8fcb7c

File tree

10 files changed

+17
-556
lines changed

10 files changed

+17
-556
lines changed

script.module.inputstreamhelper/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ Please report any issues or bug reports on the [GitHub Issues](https://github.co
9090
This module is licensed under the **The MIT License**. Please see the [LICENSE.txt](LICENSE.txt) file for details.
9191

9292
## Releases
93+
### v0.8.4 (2025-11-04)
94+
- Fix Widevine CDM installation on ARM hardware (@mediaminister)
95+
9396
### v0.8.3 (2025-10-10)
9497
- Fix removing older Widevine CDM backups (@mediaminister)
9598

script.module.inputstreamhelper/addon.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<addon id="script.module.inputstreamhelper" name="InputStream Helper" version="0.8.3" provider-name="emilsvennesson, dagwieers, mediaminister, horstle">
2+
<addon id="script.module.inputstreamhelper" name="InputStream Helper" version="0.8.4" provider-name="emilsvennesson, dagwieers, mediaminister, horstle">
33
<requires>
44
<!--py3 compliant-->
55
<import addon="xbmc.python" version="3.0.0"/>
@@ -27,6 +27,9 @@
2727
<description lang="ru_RU">Простой модуль для Kodi, который облегчает жизнь разработчикам дополнений, с использованием InputStream дополнений и воспроизведения DRM контента.</description>
2828
<description lang="sv_SE">En enkel Kodi-modul som underlättar livet för tilläggsutvecklare som förlitar sig på InputStream-baserade tillägg och DRM-uppspelning.</description>
2929
<news>
30+
v0.8.4 (2025-11-04)
31+
- Fix Widevine CDM installation on ARM hardware
32+
3033
v0.8.3 (2025-10-10)
3134
- Fix removing older Widevine CDM backups
3235

script.module.inputstreamhelper/lib/inputstreamhelper/__init__.py

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
kodi_to_ascii, kodi_version, listdir, localize, log, notification, ok_dialog, progress_dialog, select_dialog,
1010
set_setting, set_setting_bool, textviewer, translate_path, yesno_dialog)
1111
from .utils import arch, download_path, http_download, parse_version, remove_tree, system_os, temp_path, unzip, userspace64
12-
from .widevine.arm import dl_extract_widevine_chromeos, extract_widevine_chromeos, install_widevine_arm
13-
from .widevine.arm_lacros import cdm_from_lacros
12+
from .widevine.arm import dl_extract_widevine_chromeos, extract_widevine_chromeos, install_widevine_arm_chromeos
1413
from .widevine.widevine import (backup_path, has_widevinecdm, ia_cdm_path,
1514
install_cdm_from_backup, latest_widevine_version,
1615
load_widevine_config, missing_widevine_libs, widevine_config_path,
@@ -227,7 +226,7 @@ def install_widevine(self, choose_version=False):
227226
else:
228227
if choose_version:
229228
log(1, "Choosing a version to install is only implemented if the lib is found in googles repo.")
230-
result = install_widevine_arm(backup_path())
229+
result = install_widevine_arm_chromeos(backup_path())
231230
if not result:
232231
return result
233232

@@ -296,7 +295,7 @@ def _first_run():
296295

297296
@staticmethod
298297
def get_current_wv():
299-
"""Returns which component is used (widevine/chromeos/lacros) and the current version"""
298+
"""Returns which component is used (widevine/chromeos) and the current version"""
300299
wv_config = load_widevine_config()
301300
component = 'Widevine CDM'
302301
current_version = '0'
@@ -305,12 +304,6 @@ def get_current_wv():
305304
log(3, 'Widevine config missing. Could not determine current version, forcing update.')
306305
elif cdm_from_repo():
307306
current_version = wv_config['version']
308-
elif cdm_from_lacros():
309-
component = 'Lacros image'
310-
try:
311-
current_version = wv_config['img_version'] # if lib was installed from chromeos image, there is no img_version
312-
except KeyError:
313-
pass
314307
else:
315308
component = 'Chrome OS'
316309
current_version = wv_config['version']
@@ -481,9 +474,7 @@ def info_dialog(self):
481474
text += localize(30821, version=self._get_lib_version(widevinecdm_path()), date=wv_updated) + '\n'
482475
if not cdm_from_repo():
483476
wv_cfg = load_widevine_config()
484-
if wv_cfg and cdm_from_lacros(): # Lacros image version
485-
text += localize(30825, image="Lacros", version=wv_cfg['img_version']) + '\n'
486-
elif wv_cfg: # Chrome OS version
477+
if wv_cfg: # Chrome OS version
487478
text += localize(30822, name=wv_cfg['hwidmatch'].split()[0].lstrip('^'), version=wv_cfg['version']) + '\n'
488479
if get_setting_float('last_check', 0.0):
489480
wv_check = strftime('%Y-%m-%d %H:%M', localtime(get_setting_float('last_check', 0.0)))

script.module.inputstreamhelper/lib/inputstreamhelper/config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@
111111

112112
CHROMEOS_BLOCK_SIZE = 512
113113

114-
LACROS_DOWNLOAD_URL = "https://gsdview.appspot.com/chromeos-localmirror/distfiles/chromeos-lacros-{arch}-squash-zstd-{version}"
115-
116-
LACROS_LATEST = "https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Lacros&num=1"
117-
118114
MINIMUM_INPUTSTREAM_VERSION_ARM64 = {
119115
'inputstream.adaptive': '20.3.5',
120116
}

0 commit comments

Comments
 (0)