Difference between revisions of "Netflix Native Integration"

From MythTV Official Wiki
Jump to: navigation, search
(Mouse Controls)
(MythTV changes)
Line 52: Line 52:
The changes can all be retrieved from GitHub.
The changes can all be retrieved from GitHub.
<code>git merge https://github.com/chadparry/mythtv/tree/netflix</code>
<code>git remote add chadparry https://github.com/chadparry/mythtv.git && git pull chadparry netflix</code>
Then re-install like normal.
Then re-install like normal.

Revision as of 08:25, 23 December 2014

This describes how to integrate Netflix and Amazon Instant Video with a MythTV frontend. The system is made for maximum convenience, including these features:

  • Netflix runs in a native Chrome browser.
    • The HTML5 player with Encrypted Media Extensions is used.
    • Neither WINE nor pipelight are required for Netflix, (but pipelight is recommended for Amazon Instant Video).
    • Hardware acceleration is supported.
  • The remote can be used to load and start and stop movies and control the volume.
  • The remote can act as a mouse with acceleration.
  • The remote can enter letters using multi-tap on the number buttons.

These instructions are only for Linux.



The latest Chrome browser should be downloaded and installed by following the instructions at https://www.google.com/chrome/browser/. (The Chromium builds do not include all the required plugins, so use Chrome).

On a Debian-like system, the other dependencies can be installed with this command:

sudo apt-get install xdotool python-alsaaudio python-pylirc

These scripts were designed for the keys on a Windows-compatible remote control. You may have to adjust the LIRC configuration for other models. Full integration requires the BACK and ZOOM buttons and a number keypad.


Firefox changes

For Amazon Instant Video to work smoothly, you then need a Firefox installation with Silverlight support.

  1. Follow all the instructions in this article:
        How to Watch Amazon Instant Video on Linux
    Make sure that videos play well before proceeding.
  2. Start the Firefox profile manager:
    firefox -P
  3. Create a new profile called Kiosk and make it the default.
  4. Start the browser using the new profile.
  5. Log in to your Amazon Instant Video Library. Ask the browser to remember your password.
  6. Install the R-kiosk add-on. This will remove the navigation bar and enable the browser's fullscreen mode all the time. This makes it easier to watch movies, but harder to customize, so make sure movies are working before installing the add-on.

MythTV changes

These instructions assume that you built and installed MythTV yourself. If you used a binary installation, you will need to reinstall MythTV to get these features.

The changes can all be retrieved from GitHub.

git remote add chadparry https://github.com/chadparry/mythtv.git && git pull chadparry netflix

Then re-install like normal.

make && sudo make install



  • Start by choosing "Netflix" or "Amazon Instant Video" from the "Internet Video" menu.
  • To exit, use the BACK remote control button. (It looks like a ⬅ on the Windows remote control).
  • To control the volume, use the VOLUMEUP and VOLUMEDOWN buttons.

Shortcut Keys

While a show is playing in Netflix, the following keys are available. When a show is not playing, pressing these buttons could cause nonsense characters to be entered. These buttons are not supported in Amazon Instant Video.

  • PLAY
  • MUTE
  • ZOOM (toggles fullscreen mode)

Mouse Controls

The arrows can be used to control the mouse. Mouse acceleration is supported, meaning that the cursor will speed up as long as you hold the button down. This is ideal for both fine and large pointer adjustments.


The number buttons can be used to enter alphabetic characters. This is necessary for entering a name into a search box. Use the multi-tap system like on old mobile phones. For example, to enter the letter L, press 555. To enter an actual number 5, press 5555. To enter a space, press 0.