Updating Widevine for Puppy - a guide
Posted: Thu 03 Oct 2019, 01:25
Evening, boys & girls.
Streaming media services are becoming more & more commonplace on the world-wide web these days. Many well-known services exist:_
- NetFlix
- Amazon Prime
- Hulu
- BBC iPlayer (UK)
- ITV Player (UK)
.....to name but a few. Doubtless there are many others I haven't mentioned.
Many of these require the Widevine Content Decryption Module (libwidevinecdm.so) for use with the DRM (Digital Rights Management) system, which 'protects' providers content from being 'illegally' accessed - read viewed for free, when providers wish to make you pay for the privilege of viewing it..!
One facet of this modern requirement I've noticed is that the players provided by many of these content providers are incredibly 'fussy' about the very newest version always being in use. This being the case, I thought I'd just provide a quick guide to keeping your Widevine module(s) 'up-to-date'.
-------------------------------------------
This can be broadly sub-divided into 2 sections; the Chromium-based 'clones', and the Mozilla-based browsers (where this is supported).
Chromium-based browsers
- Chrome
Linux Chrome has caught up pretty much to its Windows counterpart, with both PepperFlash & Widevine being regularly auto-updated from within the browser process.....without the user needing to lift a finger. Good news for Chrome users!
The others - Chromium itself, Slimjet & Iron - are rather more 'hands-on', unfortunately.
- Chromium
Easiest way to obtain the Widevine module is to visit AlienBob's website, here:-
http://www.slackware.com/~alien/slackbu ... ne-plugin/
.....and download the appropriate 32- or 64-bit .txz package. Best one to use is the 14.2 package. Unzip them with SFR's UExtract, then place the libwidevinecdm.so module inside the main chromium directory; this may vary in location, so you can't install the package direct (only works in the Slackos, anyway). Chromium will automatically pick it up when required.
- SlimJet
Same procedure as above. The Widevine module wants to be placed inside the main slimjet directory, wherever it's located. You may find it necessary to sym-link it to /spot/.local/lib as well (Slimjet will only run as user 'spot' these days, as is the case with Chrome, so you'll probably need to create these directories yourself, then place the symlink manually within it. It's another location where Widevine is looked-for.)
- Iron
Iron, unfortunately, is a real PITA these days. From experience, I've discovered that as of Iron 70 and onwards, the Widevine module simply isn't recognised. If you try to access DRM-controlled content with Iron, you get a message telling you to visit
chrome://components
.....access the Widevine entry in the list, then manually 'Check for update'. Which would be fine if that entry in fact existed.....but in Iron, there's no sign of it, and it appears that Iron has been coded to expect Widevine to be accessed this way only..!
The SRWare Forums remain resolutely 'schtum' on the matter. I've posed this question at least 3 times during the last 12 months, and to date, haven't received one single response yet.....so don't use Iron if you want to access the likes of NetFlix.
Iron 69 (and earlier) are trouble-free in this respect, luckily.
---------------------------------------
Mozilla-based browsers
Accessing DRM-controlled content is a much more recent prospect for the Mozilla-based browsers. To the best of my knowledge, only Firefox itself (and possibly the Palemoon derived Basilisk browser) are capable of playing such. Palemoon never will support it (I've been told that in no uncertain terms on the Palemoon Forum), and neither will Seamonkey.
Fortunately, the Mozilla DRM mechanism is a lot easier to administer. To enable it, all you need to do is go into 'Preferences' in the menu (the 'hamburger' symbol, top-right). Under 'General', scroll down to the section titled 'Digital Rights Management (DRM) Content', and tick the checkbox for 'Play DRM-controlled content'. This will download, and install, the Widevine module. After a re-start of the browser, the DRM stuff is up-and-running.
I'm not certain whether the Widevine module is auto-updated during the frequent browser updates or not. In Quantum itself, these occur fairly regularly; in the ESR (Extended Support Release) versions, not so often.
It's perfectly possible to force a manual 'update' of Widevine yourself. (You can watch this in action, if you want to. Go into your profile, and enter the 'gmp-widevine-cdm' directory. Within, you'll find another directory, marked with a number - currently, 4.10.1440.19. Inside this, you'll find libwidevinecdm.so, and a couple of text documents.)
As you untick the DRM checkbox, this numbered directory will disappear. Shut the browser down, either re-boot, or restart 'X' (I do the former. but the latter will probably do what's necessary), then open Firefox, go into 'Preferences' again, and re-tick that checkbox. Doing so will cause the browser to search for, download and install the most up-to-date version of the Widevine module. Simples!
This same procedure works identically for Firefox ESR, too.
Here in the UK, the BBC iPlayer is accessed purely and simply via HTML5, with no DRM in sight. You do, however, need an up-to-date TV licence. The ITV Player, on the other hand, like NetFlix requires Widevine, since it's DRM-controlled.
I opened an account for this just a couple of days ago, and earlier today it quit working on me. By carrying-out the above Mozilla 'workaround', access was restored.....just like that. So it obviously wanted a newer version of Widevine to be present on the system.
-------------------------------------------------------
Hopefully, this short guide will help those of you who access DRM-controlled content to remain up-to-date, and a wee bit more secure into the bargain.....as well as allowing you to continue enjoying your chosen media streams.
Mike.
Streaming media services are becoming more & more commonplace on the world-wide web these days. Many well-known services exist:_
- NetFlix
- Amazon Prime
- Hulu
- BBC iPlayer (UK)
- ITV Player (UK)
.....to name but a few. Doubtless there are many others I haven't mentioned.
Many of these require the Widevine Content Decryption Module (libwidevinecdm.so) for use with the DRM (Digital Rights Management) system, which 'protects' providers content from being 'illegally' accessed - read viewed for free, when providers wish to make you pay for the privilege of viewing it..!
One facet of this modern requirement I've noticed is that the players provided by many of these content providers are incredibly 'fussy' about the very newest version always being in use. This being the case, I thought I'd just provide a quick guide to keeping your Widevine module(s) 'up-to-date'.
-------------------------------------------
This can be broadly sub-divided into 2 sections; the Chromium-based 'clones', and the Mozilla-based browsers (where this is supported).
Chromium-based browsers
- Chrome
Linux Chrome has caught up pretty much to its Windows counterpart, with both PepperFlash & Widevine being regularly auto-updated from within the browser process.....without the user needing to lift a finger. Good news for Chrome users!
The others - Chromium itself, Slimjet & Iron - are rather more 'hands-on', unfortunately.
- Chromium
Easiest way to obtain the Widevine module is to visit AlienBob's website, here:-
http://www.slackware.com/~alien/slackbu ... ne-plugin/
.....and download the appropriate 32- or 64-bit .txz package. Best one to use is the 14.2 package. Unzip them with SFR's UExtract, then place the libwidevinecdm.so module inside the main chromium directory; this may vary in location, so you can't install the package direct (only works in the Slackos, anyway). Chromium will automatically pick it up when required.
- SlimJet
Same procedure as above. The Widevine module wants to be placed inside the main slimjet directory, wherever it's located. You may find it necessary to sym-link it to /spot/.local/lib as well (Slimjet will only run as user 'spot' these days, as is the case with Chrome, so you'll probably need to create these directories yourself, then place the symlink manually within it. It's another location where Widevine is looked-for.)
- Iron
Iron, unfortunately, is a real PITA these days. From experience, I've discovered that as of Iron 70 and onwards, the Widevine module simply isn't recognised. If you try to access DRM-controlled content with Iron, you get a message telling you to visit
chrome://components
.....access the Widevine entry in the list, then manually 'Check for update'. Which would be fine if that entry in fact existed.....but in Iron, there's no sign of it, and it appears that Iron has been coded to expect Widevine to be accessed this way only..!
The SRWare Forums remain resolutely 'schtum' on the matter. I've posed this question at least 3 times during the last 12 months, and to date, haven't received one single response yet.....so don't use Iron if you want to access the likes of NetFlix.
Iron 69 (and earlier) are trouble-free in this respect, luckily.
---------------------------------------
Mozilla-based browsers
Accessing DRM-controlled content is a much more recent prospect for the Mozilla-based browsers. To the best of my knowledge, only Firefox itself (and possibly the Palemoon derived Basilisk browser) are capable of playing such. Palemoon never will support it (I've been told that in no uncertain terms on the Palemoon Forum), and neither will Seamonkey.
Fortunately, the Mozilla DRM mechanism is a lot easier to administer. To enable it, all you need to do is go into 'Preferences' in the menu (the 'hamburger' symbol, top-right). Under 'General', scroll down to the section titled 'Digital Rights Management (DRM) Content', and tick the checkbox for 'Play DRM-controlled content'. This will download, and install, the Widevine module. After a re-start of the browser, the DRM stuff is up-and-running.
I'm not certain whether the Widevine module is auto-updated during the frequent browser updates or not. In Quantum itself, these occur fairly regularly; in the ESR (Extended Support Release) versions, not so often.
It's perfectly possible to force a manual 'update' of Widevine yourself. (You can watch this in action, if you want to. Go into your profile, and enter the 'gmp-widevine-cdm' directory. Within, you'll find another directory, marked with a number - currently, 4.10.1440.19. Inside this, you'll find libwidevinecdm.so, and a couple of text documents.)
As you untick the DRM checkbox, this numbered directory will disappear. Shut the browser down, either re-boot, or restart 'X' (I do the former. but the latter will probably do what's necessary), then open Firefox, go into 'Preferences' again, and re-tick that checkbox. Doing so will cause the browser to search for, download and install the most up-to-date version of the Widevine module. Simples!
This same procedure works identically for Firefox ESR, too.
Here in the UK, the BBC iPlayer is accessed purely and simply via HTML5, with no DRM in sight. You do, however, need an up-to-date TV licence. The ITV Player, on the other hand, like NetFlix requires Widevine, since it's DRM-controlled.
I opened an account for this just a couple of days ago, and earlier today it quit working on me. By carrying-out the above Mozilla 'workaround', access was restored.....just like that. So it obviously wanted a newer version of Widevine to be present on the system.
-------------------------------------------------------
Hopefully, this short guide will help those of you who access DRM-controlled content to remain up-to-date, and a wee bit more secure into the bargain.....as well as allowing you to continue enjoying your chosen media streams.
Mike.