Skip to content

Commit 2dfdb58

Browse files
ARM-based devices cannot automatically install binary
1 parent a8793a6 commit 2dfdb58

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/inputstreamhelper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ def _supports_widevine(self):
199199

200200
def _install_widevine_cdm(self):
201201
dialog = xbmcgui.Dialog()
202+
if self._arch in config.WIDEVINE_DOWNLOAD_UNAVAILABLE:
203+
dialog.ok(self._language(30001), self._language(30006))
204+
return False
202205
download_path = os.path.join(xbmc.translatePath('special://temp'), 'widevine_cdm.zip')
203206
cdm_platform = config.WIDEVINE_DOWNLOAD_MAP[self._arch][self._os]
204207
cdm_source = json.loads(self._http_request(config.WIDEVINE_CDM_SOURCE))['vendors']['gmp-widevinecdm']['platforms']

resources/language/resource.language.en_gb/strings.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ msgid "An error occurred while installing Widevine DRM. Please enable debug logg
3434
msgstr ""
3535

3636
msgctxt "#30006"
37-
msgid "Widevine DRM is supported on this system architecture but is not possible to automatically install due to legal distributing issues. Hint: Google might be able to help you out! :-)"
37+
msgid "Widevine DRM is supported on this system architecture but is not possible to automatically install due to legal distributing issues.[CR][CR]Hint: Google might be able to help you out! :-)"
3838
msgstr ""
3939

4040
msgctxt "#30007"

0 commit comments

Comments
 (0)