I have a package, widevine-cdm
, mostly taken from the Chromium plugin:
https://gist.github.com/73880669d67a02fcb64e447f8c077fc9
And an overlay for qutebrowser
:
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
rec {
qutebrowser = pkgs.qutebrowser.overrideAttrs (super: {
propagatedBuildInputs = super.propagatedBuildInputs ++ [ widevine-cdm ];
postFixup = ''
${super.postFixup}
wrapProgram $out/bin/qutebrowser --add-flags "--set qt.args [ppapi-widevine-path=${widevine-cdm}/usr/lib/qt/plugins/ppapi/libwidevinecdmadapter.so]"
'';
});
}
But trying to watch Netflix gets me this error:
[1:1:0910/214639.789895:ERROR:ppapi_thread.cc(317)] Failed to load Pepper module from /nix/store/9mqb31wvfx7wqargrh245h33gp3myir0-widevine-cdm-18.0.0.233/usr/lib/qt/plugins/ppapi/libwidevinecdmadapter.so (error: /nix/store/9mqb31wvfx7wqargrh245h33gp3myir0-widevine-cdm-18.0.0.233/usr/lib/qt/plugins/ppapi/libwidevinecdmadapter.so: cannot open shared object file: Operation not permitted)
"x86_64-linux"
Linux 4.14.69, NixOS, 19.03.git.571c6c6 (Koi)
yes
yes
nix-env (Nix) 2.1.1
"nixos-19.03pre151837.ca2ba44cab4"
"nixos-19.03pre151837.ca2ba44cab4"
/nix/var/nix/profiles/per-user/root/channels/nixos
I'd also really like widevice (e.g. Netflix and stuff) support for qutebrowser. Can anyone help with this?
relevant prior art to possibly borrow from: https://aur.archlinux.org/packages/qt5-webengine-widevine
@colemickens, I've already done most of the work re: prior art. See the gist I linked in my OP.
I submitted the issue hoping that someone can tell us why we're getting "operation not permitted".
@ma9e yeah, I did notice the gist last night. I spent a couple of hours trying to get your widevine-cdm
to work with Falkon, but couldn't really figure it out...
@ma9e Just to make this easily reproducible, could you post your overlay with the widevine and qutebrowser packages?
Has there been any progress on this front? It looks like Qutebrowser still doesn't have support for drm content like Netflix and Spotify.
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Hey.
Has anyone find solution to this problem? Still can't figure out how to overlay qutebrowser to play spotify.
Most helpful comment
Has there been any progress on this front? It looks like Qutebrowser still doesn't have support for drm content like Netflix and Spotify.