Skip to content

Commit 1760a6e

Browse files
[script.module.inputstreamhelper] 0.8.2 (#2763)
1 parent b7b2d30 commit 1760a6e

File tree

5 files changed

+245
-28
lines changed

5 files changed

+245
-28
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.2 (2025-09-25)
94+
- Fix Widevine CDM installation on 32-bit Windows (@mediaminister)
95+
9396
### v0.8.1 (2025-09-22)
9497
- Fix Widevine CDM installation on ARM hardware (@mediaminister)
9598

script.module.inputstreamhelper/addon.xml

Lines changed: 6 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.1" provider-name="emilsvennesson, dagwieers, mediaminister, horstle">
2+
<addon id="script.module.inputstreamhelper" name="InputStream Helper" version="0.8.2" provider-name="emilsvennesson, dagwieers, mediaminister, horstle">
33
<requires>
44
<!--py3 compliant-->
55
<import addon="xbmc.python" version="3.0.0"/>
@@ -17,14 +17,19 @@
1717
<summary lang="es_ES">Kodi InputStream y reproducción DRM echa fácil</summary>
1818
<summary lang="fr_FR">La lecture Kodi InputStream et DRM en toute simplicité</summary>
1919
<summary lang="hr_HR">Kodi InputStream olakšava reprodukciju DRM zaštićenog sadržaja</summary>
20+
<summary lang="sv_SE">Kodi InputStream och DRM-uppspelning på ett enkelt sätt</summary>
2021
<description lang="de_DE">Dieses einfache Kodi-Modul macht das Leben für Addon Entwickler einfacher, die auf InputStream basierte Addons und DRM Wiedergabe angewiesen sind.</description>
2122
<description lang="el_GR">Μία απλή μονάδα για το Kodi η οποία διευκολύνει την ζωή των προγραμματιστών οι οποίοι εξαρτώνται από τα πρόσθετσ InputStream και αναπαραγωγή τύπου DRM.</description>
2223
<description lang="en_GB">A simple Kodi module that makes life easier for add-on developers relying on InputStream based add-ons and DRM playback.</description>
2324
<description lang="es_ES">Un módulo Kodi simple que hace la vida más fácil para los desarrolladores de complementos que dependen de complementos basados en InputStream y reproducción de DRM.</description>
2425
<description lang="fr_FR">Un simple module Kodi qui simplifie la vie des développeurs de modules complémentaires en s’appuyant sur des modules complémentaires basés sur InputStream et sur la lecture de DRM.</description>
2526
<description lang="hr_HR">Jednostavan Kodi modul koji olakšava razvijanje dodataka koji se temelje na InputStream dodatku i reprodukciji DRM zaštićenog sadržaja.</description>
2627
<description lang="ru_RU">Простой модуль для Kodi, который облегчает жизнь разработчикам дополнений, с использованием InputStream дополнений и воспроизведения DRM контента.</description>
28+
<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>
2729
<news>
30+
v0.8.2 (2025-09-25)
31+
- Fix Widevine CDM installation on 32-bit Windows
32+
2833
v0.8.1 (2025-09-22)
2934
- Fix Widevine CDM installation on ARM hardware
3035

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,12 +363,12 @@ def _check_widevine(self):
363363
if cdm_from_repo(): # check that widevine arch matches system arch
364364
wv_config = load_widevine_config()
365365
if wv_config.get('accept_arch'):
366-
wv_config_arch = wv_config.get('accept_arch')[0]
366+
wv_config_arch = wv_config.get('accept_arch')
367367
elif wv_config.get('platforms'):
368368
wv_config_arch = wv_config.get('platforms')[0].get('arch')
369369
else:
370370
wv_config_arch = wv_config.get('arch')
371-
if config.WIDEVINE_ARCH_MAP_REPO[arch()] != wv_config_arch:
371+
if config.WIDEVINE_ARCH_MAP_REPO[arch()] not in wv_config_arch:
372372
log(4, 'Widevine/system arch mismatch. Reinstall is required.')
373373
ok_dialog(localize(30001), localize(30031)) # An update of Widevine is required
374374
return self.install_widevine()

script.module.inputstreamhelper/lib/inputstreamhelper/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ def hardlink(src, dest):
395395
def remove_tree(path):
396396
"""Remove an entire directory tree"""
397397
from shutil import rmtree
398-
rmtree(compat_path(path))
398+
if exists(path):
399+
rmtree(compat_path(path))
399400

400401

401402
def parse_version(vstring):
Lines changed: 232 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,233 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<settings>
3-
<category label="30900"> <!-- Expert -->
4-
<setting id="last_modified" default="0.0" visible="false"/>
5-
<setting id="last_check" default="0.0" visible="false"/>
6-
<setting id="update_declined_at" default="0.0" visible="false"/>
7-
<setting id="version" default="" visible="false"/>
8-
<setting label="30901" help="30902" type="action" action="RunScript(script.module.inputstreamhelper, info)"/>
9-
<setting type="sep"/>
10-
<setting label="30903" help="30904" type="bool" id="disabled" default="false" visible="false"/>
11-
<setting label="30905" help="30906" type="slider" id="update_frequency" default="31" range="1,3,90" option="int" enable="eq(-1,false)" visible="![System.Platform.Android | System.Platform.webOS | String.StartsWith(System.BuildVersion, 17)]"/>
12-
<setting label="30907" help="30908" type="folder" id="temp_path" source="" option="writeable" default="special://masterprofile/addon_data/script.module.inputstreamhelper" visible="![System.Platform.Android | System.Platform.webOS | String.StartsWith(System.BuildVersion, 17)]"/>
13-
<setting label="30913" help="30914" type="slider" id="backups" default="4" range="0,1,20" option="int" visible="![System.Platform.Android | System.Platform.webOS | String.StartsWith(System.BuildVersion, 17)]"/>
14-
<setting type="sep" visible="![System.Platform.Android | System.Platform.webOS | String.StartsWith(System.BuildVersion, 17)]"/>
15-
<setting label="30909" help="30910" type="action" action="RunScript(script.module.inputstreamhelper, widevine_install, True)" enable="String.StartsWith(System.BuildVersion,18) + System.HasAddon(inputstream.adaptive) | System.AddonIsEnabled(inputstream.adaptive)" visible="![System.Platform.Android | System.Platform.webOS | String.StartsWith(System.BuildVersion, 17)]"/>
16-
<setting label="30911" help="30912" type="action" action="RunScript(script.module.inputstreamhelper, widevine_remove)" enable="String.StartsWith(System.BuildVersion,18) + System.HasAddon(inputstream.adaptive) | System.AddonIsEnabled(inputstream.adaptive)" visible="![System.Platform.Android | System.Platform.webOS | String.StartsWith(System.BuildVersion, 17)]"/>
17-
<setting label="30915" help="30916" type="action" action="RunScript(script.module.inputstreamhelper, rollback)" enable="String.StartsWith(System.BuildVersion,18) + System.HasAddon(inputstream.adaptive) | System.AddonIsEnabled(inputstream.adaptive)" visible="![System.Platform.Android | System.Platform.webOS | String.StartsWith(System.BuildVersion, 17)]"/>
18-
</category>
19-
<category label="30950"> <!-- Debug -->
20-
<setting label="30903" help="30904" type="bool" id="disabled" default="false"/>
21-
<setting label="30904" type="text" enable="false"/> <!-- disabled_warning -->
22-
<setting label="30955" help="30956" type="action" action="RunScript(script.module.inputstreamhelper, widevine_install_from)" enable="String.StartsWith(System.BuildVersion,18) + System.HasAddon(inputstream.adaptive) | System.AddonIsEnabled(inputstream.adaptive)" visible="![System.Platform.Android | System.Platform.webOS | String.StartsWith(System.BuildVersion, 17)]"/>
23-
<setting label="30953" help="30954" type="text" id="image_url" subsetting="true" option="urlencoded" default="https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_14092.77.0_veyron-fievel_recovery_stable-channel_fievel-mp.bin.zip"/>
24-
</category>
1+
<?xml version="1.0" ?>
2+
<settings version="1">
3+
<section id="script.module.inputstreamhelper">
4+
<category id="expert" label="30900" help=""> <!-- Expert -->
5+
<group id="1">
6+
<setting id="last_modified" type="string" help="">
7+
<level>0</level>
8+
<default>0.0</default>
9+
<dependencies>
10+
<dependency type="visible">
11+
<condition on="property" name="InfoBool">false</condition>
12+
</dependency>
13+
</dependencies>
14+
<control type="edit" format="string">
15+
<heading/>
16+
</control>
17+
</setting>
18+
<setting id="last_check" type="string" help="">
19+
<level>0</level>
20+
<default>0.0</default>
21+
<dependencies>
22+
<dependency type="visible">
23+
<condition on="property" name="InfoBool">false</condition>
24+
</dependency>
25+
</dependencies>
26+
<control type="edit" format="string">
27+
<heading/>
28+
</control>
29+
</setting>
30+
<setting id="update_declined_at" type="string" help="">
31+
<level>0</level>
32+
<default>0.0</default>
33+
<dependencies>
34+
<dependency type="visible">
35+
<condition on="property" name="InfoBool">false</condition>
36+
</dependency>
37+
</dependencies>
38+
<control type="edit" format="string">
39+
<heading/>
40+
</control>
41+
</setting>
42+
<setting id="version" type="string" help="">
43+
<level>0</level>
44+
<default/>
45+
<constraints>
46+
<allowempty>true</allowempty>
47+
</constraints>
48+
<dependencies>
49+
<dependency type="visible">
50+
<condition on="property" name="InfoBool">false</condition>
51+
</dependency>
52+
</dependencies>
53+
<control type="edit" format="string">
54+
<heading/>
55+
</control>
56+
</setting>
57+
<setting id="info" type="action" label="30901" help="30902">
58+
<level>0</level>
59+
<data>RunScript(script.module.inputstreamhelper, info)</data>
60+
<constraints>
61+
<allowempty>true</allowempty>
62+
</constraints>
63+
<control type="button" format="action"/>
64+
</setting>
65+
</group>
66+
<group id="2">
67+
<setting id="update_frequency" type="integer" label="30905" help="30906">
68+
<level>0</level>
69+
<default>31</default>
70+
<constraints>
71+
<minimum>1</minimum>
72+
<step>3</step>
73+
<maximum>90</maximum>
74+
</constraints>
75+
<dependencies>
76+
<dependency type="enable">
77+
<condition operator="is" setting="disabled">false</condition>
78+
</dependency>
79+
<dependency type="visible">
80+
<condition on="property" name="InfoBool">![System.Platform.Android|System.Platform.webOS|String.StartsWith(System.BuildVersion,17)]</condition>
81+
</dependency>
82+
</dependencies>
83+
<control type="slider" format="integer">
84+
<popup>false</popup>
85+
</control>
86+
</setting>
87+
<setting id="temp_path" type="path" label="30907" help="30908">
88+
<level>0</level>
89+
<default>special://masterprofile/addon_data/script.module.inputstreamhelper</default>
90+
<constraints>
91+
<sources>
92+
<source/>
93+
</sources>
94+
</constraints>
95+
<dependencies>
96+
<dependency type="visible">
97+
<condition on="property" name="InfoBool">![System.Platform.Android|System.Platform.webOS|String.StartsWith(System.BuildVersion,17)]</condition>
98+
</dependency>
99+
</dependencies>
100+
<control type="button" format="path">
101+
<heading>30907</heading>
102+
</control>
103+
</setting>
104+
<setting id="backups" type="integer" label="30913" help="30914">
105+
<level>0</level>
106+
<default>4</default>
107+
<constraints>
108+
<minimum>0</minimum>
109+
<step>1</step>
110+
<maximum>20</maximum>
111+
</constraints>
112+
<dependencies>
113+
<dependency type="visible">
114+
<condition on="property" name="InfoBool">![System.Platform.Android|System.Platform.webOS|String.StartsWith(System.BuildVersion,17)]</condition>
115+
</dependency>
116+
</dependencies>
117+
<control type="slider" format="integer">
118+
<popup>false</popup>
119+
</control>
120+
</setting>
121+
</group>
122+
<group id="3">
123+
<setting id="widevine_install" type="action" label="30909" help="30910">
124+
<level>0</level>
125+
<data>RunScript(script.module.inputstreamhelper, widevine_install, True)</data>
126+
<constraints>
127+
<allowempty>true</allowempty>
128+
</constraints>
129+
<dependencies>
130+
<dependency type="enable">
131+
<and>
132+
<condition on="property" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,18)</condition>
133+
<condition on="property" name="InfoBool">System.HasAddon(inputstream.adaptive)|System.AddonIsEnabled(inputstream.adaptive)</condition>
134+
</and>
135+
</dependency>
136+
<dependency type="visible">
137+
<condition on="property" name="InfoBool">![System.Platform.Android|System.Platform.webOS|String.StartsWith(System.BuildVersion,17)]</condition>
138+
</dependency>
139+
</dependencies>
140+
<control type="button" format="action"/>
141+
</setting>
142+
<setting id="widevine_remove" type="action" label="30911" help="30912">
143+
<level>0</level>
144+
<data>RunScript(script.module.inputstreamhelper, widevine_remove)</data>
145+
<constraints>
146+
<allowempty>true</allowempty>
147+
</constraints>
148+
<dependencies>
149+
<dependency type="enable">
150+
<and>
151+
<condition on="property" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,18)</condition>
152+
<condition on="property" name="InfoBool">System.HasAddon(inputstream.adaptive)|System.AddonIsEnabled(inputstream.adaptive)</condition>
153+
</and>
154+
</dependency>
155+
<dependency type="visible">
156+
<condition on="property" name="InfoBool">![System.Platform.Android|System.Platform.webOS|String.StartsWith(System.BuildVersion,17)]</condition>
157+
</dependency>
158+
</dependencies>
159+
<control type="button" format="action"/>
160+
</setting>
161+
<setting id="rollback" type="action" label="30915" help="30916">
162+
<level>0</level>
163+
<data>RunScript(script.module.inputstreamhelper, rollback)</data>
164+
<constraints>
165+
<allowempty>true</allowempty>
166+
</constraints>
167+
<dependencies>
168+
<dependency type="enable">
169+
<and>
170+
<condition on="property" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,18)</condition>
171+
<condition on="property" name="InfoBool">System.HasAddon(inputstream.adaptive)|System.AddonIsEnabled(inputstream.adaptive)</condition>
172+
</and>
173+
</dependency>
174+
<dependency type="visible">
175+
<condition on="property" name="InfoBool">![System.Platform.Android|System.Platform.webOS|String.StartsWith(System.BuildVersion,17)]</condition>
176+
</dependency>
177+
</dependencies>
178+
<control type="button" format="action"/>
179+
</setting>
180+
</group>
181+
</category>
182+
<category id="debug" label="30950" help=""> <!-- Debug -->
183+
<group id="1">
184+
<setting id="disabled" type="boolean" label="30903" help="">
185+
<level>0</level>
186+
<default>false</default>
187+
<control type="toggle"/>
188+
</setting>
189+
<setting id="disabled_warning" type="string" label="30904" help=""> <!-- disabled_warning -->
190+
<level>0</level>
191+
<default/>
192+
<constraints>
193+
<allowempty>true</allowempty>
194+
</constraints>
195+
<dependencies>
196+
<dependency type="enable">
197+
<condition on="property" name="InfoBool">false</condition>
198+
</dependency>
199+
</dependencies>
200+
<control type="edit" format="string">
201+
<heading>30904</heading>
202+
</control>
203+
</setting>
204+
<setting id="widevine_install_from" type="action" label="30955" help="30956">
205+
<level>0</level>
206+
<data>RunScript(script.module.inputstreamhelper, widevine_install_from)</data>
207+
<constraints>
208+
<allowempty>true</allowempty>
209+
</constraints>
210+
<dependencies>
211+
<dependency type="enable">
212+
<and>
213+
<condition on="property" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,18)</condition>
214+
<condition on="property" name="InfoBool">System.HasAddon(inputstream.adaptive)|System.AddonIsEnabled(inputstream.adaptive)</condition>
215+
</and>
216+
</dependency>
217+
<dependency type="visible">
218+
<condition on="property" name="InfoBool">![System.Platform.Android|System.Platform.webOS|String.StartsWith(System.BuildVersion,17)]</condition>
219+
</dependency>
220+
</dependencies>
221+
<control type="button" format="action"/>
222+
</setting>
223+
<setting id="image_url" type="urlencodedstring" label="30953" help="30954" parent="">
224+
<level>0</level>
225+
<default>https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_16328.65.0_jacuzzi_recovery_stable-channel_JacuzziMPKeys-v19.bin.zip</default>
226+
<control type="edit" format="urlencoded">
227+
<heading>30953</heading>
228+
</control>
229+
</setting>
230+
</group>
231+
</category>
232+
</section>
25233
</settings>

0 commit comments

Comments
 (0)