Add Chromium Widevine app

pull/76/head
Botspot 4 years ago
parent c3a658d383
commit ab77e4f71b

@ -0,0 +1,17 @@
Widevine DRM support for chromium-browser v84
This adds the ChromeOS DRM video decoding library to Chromium, and sets a ChromeOS user-agent. Websites you browse will think your Pi is a Chromebook!
To run: Menu -> Internet -> Chromium Widevine.
To test DRM: https://bitmovin.com/demos/drm
For normal browsing, it's advisable to use the standard Chromium launcher.
This works on these websites:
• Netflix
• Hulu
• Amazon Prime
• Disney+
• HBO
• Spotify
• Pandora
• Hoopla
• MUBI
• BritBox
• Bell Satellite TV

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

@ -0,0 +1,29 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
rm -rf ~/chromium-v84-widevine &>/dev/null
git clone https://github.com/Botspot/chromium-v84-widevine || error 'Failed to clone example.com repository!'
echo "[Desktop Entry]
Version=1.0
Name=Chromium Widevine
GenericName=Web Browser
Comment=Play Netflix & Spotify on Chromium v84
Exec=chromium-browser --user-agent="\""Mozilla/5.0 (X11; CrOS armv7l 13099.85.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.110 Safari/537.36"\"" %U
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=$(dirname "$0")/icon-64.png
Categories=Network;WebBrowser;
StartupNotify=true" > ~/.local/share/applications/widevine-chromium.desktop
sudo cp -a ~/chromium-v84-widevine/WidevineCdm /opt
rm -rf ~/chromium-v84-widevine

@ -0,0 +1,13 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
sudo rm -rf /opt/WidevineCdm
rm -rf ~/chromium-v84-widevine ~/.local/share/applications/widevine-chromium.desktop &>/dev/null
exit 0

@ -0,0 +1 @@
https://github.com/Botspot/chromium-v84-widevine
Loading…
Cancel
Save