Search This Blog

Spotify (and Netflix) on Chromium, with help from Steam, without root!

Users of Chromium will have trouble listening to Spotify, even if "protected content" (another word for "we own you") is on. This is because there are missing Widevine libraries.

The usual way to find them is to copy them from your Chrome installation, sometimes at /opt/google/chrome, sometimes at /usr/share/chrome, but these can also be acquired from Steam installations (since Steam embeds Chrome).

If you're running Steam, copy both

~/.steam/steam/config/widevine/libwidevinecdm.so

and~/.steam/steam/config/widevine/libwidevinecdmadapter.so

to~/.config/chromium

then restart Chromium.

If you use Netflix, use a user agent extension to set your user agent to Chrome, so Netflix won't automatically assume that you can't use it.

Comments

Popular posts from this blog

I haven't made a blog in a long while, so I'd thought I'd share this, which I recently discovered how to do.

If you find the idea of proxies a bit restrictive. because after all, they have to be set up in the applications in question, and may not work for some applications, help is here. And all you need is an SSH server you can connect to. Sadly, this method requires root, but it's worth having for the system-wide Internet connection you'll get from it.

Authenticating as root
First, make sure you're root on the client machine (sudo -s or su -, depending on your distro), and that you can ssh as root to your target server. This is of course causes security implications, so it may be a good idea to generate a key pair for root-to-root access and block off passworded access for root, so that no one can bruteforce your root password.

Did you know that Android devices expose a modem on the USB interface, even when "Tethering" is turned off? It appears like this in dmesg:

[22338.529851] cdc_acm 1-3:1.1: ttyACM0: USB ACM device

You can connect to this as a raw serial console like: screen /dev/ttyACM0 or: minicom -D /dev/ttyACM0

This will accept GSM modem commands prefixed with AT, and give information about the phone, and presumably allow a dialup-like interface.
Many of the examples on M2MSupport.net will work with the phone, depending on which manufacturer and capability set, presumably. With my Samsung Galaxy XCover 4, I got the GSM capability set.
Try playing around with this, but don't get charged by your provider too much for making calls you never end! Make sure you hang up properly as per the protocol.
For more on standard modem commands, see the Hayes command set article on Wikipedia.
That's all for now!