Streaming DRM protected content/Pipelight

Recently it has become possible to watch Netflix on Linux and FreeBSD via Wine with good performance.

xattr
File system extended attributes are used to keep the precious DRM working, so you’ll potentially need to add support in your kernel as well as having your file system mounted explicitly with the option.

Adding support
In recent kernel versions there doesn’t appear to be an option for ext4 extended attributes, presumably meaning they’re always on already.

See Kernel/Upgrade for in-depth kernel rebuild instructions.

If you were only missing the option in :

Installation
Initially, pipelight is only keyworded on. Stable users will need to keyword it. Otherwise, it is a simple emerge command:

Initialization
After the installation just initialize the plugin(s) you want to use. To use Netflix you have to enable Silverlight.

Press to accept the plugin license. Then run Firefox (or your chosen web browser) from the Terminal to check if the plugin will run, i.e. for firefox-bin:

Watch the startup in the terminal for any errors. The plugin installation either starts immediately, or when visiting about:plugins in your webbrowser. If there are some errors please check again that you really installed Wine and Pipelight according to this page, if not then proceed with the following steps.

Microsoft core fonts (optional)
For Wine-Compholio < 1.7.14 this step was required such that Silverlight works properly (see this FAQ entry). With Wine-Compholio 1.7.14 or greater the patchset already includes a Arial replacement font, which seems to be sufficient for the Silverlight plugin.

To install the Microsoft core fonts for Wine, you can use winetricks; just emerge it:home directory):

Then run it, specifying the Wine prefix used for Pipelight:

Then select "" -> "" -> "" and click "".

Netflix
Install an extension listed at http://answers.launchpad.net/pipelight/+faq/2351 such as https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/ and configure a Windows UA string, such as this one:* Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1

Enjoy improved Netflix.

Troubleshooting

 * Try different UA strings
 * (Re)Move
 * (Re)Move from . Find it by running:


 * Check paths and other variables in (or if nonexistent, )

Audio
If you use Pulseaudio but find that wine32 is trying to load 64-bit pulseaudio drivers, consider the solution found in this here

External resources

 * FDS-Team | Pipelight: using Silverlight in Linux browsers
 * Gentoo Forums :: View topic - HOWTO: Install Netflix on Gentoo
 * Gentoo Forums :: View topic - HOWTO: Install Netflix on Gentoo