Skip to content

Commit a8c76e6

Browse files
authored
widevine: enable Linux aarch64 download from repo (#647)
Google finally released a widevine version for 64bit ARM Linux, current version in the repo is 4.10.3057.0. This saves a lot of time compared to downloading+extracting the ChromeOS image. As it's a native Linux version we also no longer need those nasty glibc hacks / widevine library patches. Tested on RPi5 running LibreELEC master with the glibc RELR patches dropped. Signed-off-by: Matthias Reichl <hias@horus.com>
1 parent ac20a70 commit a8c76e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/inputstreamhelper/widevine

‎lib/inputstreamhelper/widevine/repo.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
def cdm_from_repo():
1212
"""Whether the Widevine CDM is available from Google's library CDM repository"""
1313
# Based on https://source.chromium.org/chromium/chromium/src/+/master:third_party/widevine/cdm/widevine.gni
14-
if 'x86' in arch() or arch() == 'arm64' and system_os() in ('Darwin', 'Windows'):
14+
if 'x86' in arch() or arch() == 'arm64' and system_os() in ('Darwin', 'Linux', 'Windows'):
1515
return True
1616
return False
1717

@@ -45,7 +45,7 @@ def latest_widevine_available_from_repo(cdm_os, cdm_arch):
4545
'platform': cdm_os,
4646
},
4747
'protocol': '4.0',
48-
'updaterversion': '142.0.7444.175'
48+
'updaterversion': '151.0.7922.173'
4949
}
5050
}
5151
text = http_post(url, data=json.dumps(payload).encode('utf-8'), headers=headers)

0 commit comments

Comments
 (0)