{"id":270,"date":"2015-03-24T22:30:26","date_gmt":"2015-03-24T12:30:26","guid":{"rendered":"http:\/\/www.ubermotive.com\/?p=270"},"modified":"2015-11-02T22:36:38","modified_gmt":"2015-11-02T12:36:38","slug":"integrating-netflix-into-mythtv","status":"publish","type":"post","link":"https:\/\/www.ubermotive.com\/?p=270","title":{"rendered":"Integrating Netflix into MythTV"},"content":{"rendered":"<p>Well, MythTV launched in Australia today. I couldn&#8217;t have my wife trying to start\/stop the MythTV frontend and poke around looking for web browsers, typing URLs and maximising windows and whatnot, so I quickly banged up a Netflix launch button for MythTV.<br \/>\n<!--more--><br \/>\n<a href=\"https:\/\/www.ubermotive.com\/wp-content\/uploads\/2015\/03\/netflix-mythtv.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-271 size-large\" src=\"https:\/\/www.ubermotive.com\/wp-content\/uploads\/2015\/03\/netflix-mythtv-1024x576.png\" alt=\"Netflix in MythTV\" width=\"474\" height=\"267\" srcset=\"https:\/\/www.ubermotive.com\/wp-content\/uploads\/2015\/03\/netflix-mythtv-1024x576.png 1024w, https:\/\/www.ubermotive.com\/wp-content\/uploads\/2015\/03\/netflix-mythtv-300x168.png 300w, https:\/\/www.ubermotive.com\/wp-content\/uploads\/2015\/03\/netflix-mythtv.png 1920w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/a><\/p>\n<p>It works by launching the Google Chrome browser in kiosk mode. You will need to download and install the <em>full<\/em> Google Chrome browser from <a title=\"Google Chrome\" href=\"https:\/\/www.google.com\/chrome\/browser\/desktop\/index.html\" target=\"_blank\">here<\/a>, because Chromium does not contain the necessary DRM libraries to decrypt the video that is delivered by Netflix. It won&#8217;t work in Firefox either.<\/p>\n<p>Once you have Chrome installed, create a directory to hold a custom default menu for MythTV:<\/p>\n<pre>mkdir -p ~\/.mythtv\/themes\/defaultmenu<\/pre>\n<p>Then clone the main menu file from MythTV into this directory:<\/p>\n<pre>cp \/usr\/share\/mythtv\/themes\/defaultmenu\/mainmenu.xml ~\/.mythtv\/themes\/defaultmenu<\/pre>\n<p>Open the new file in a text editor. Add this element right above the TV_WATCH_TV button (or wherever you like):<\/p>\n<pre>&lt;button&gt;\r\n   &lt;type&gt;NETFLIX&lt;\/type&gt;\r\n   &lt;text&gt;Netflix&lt;\/text&gt;\r\n   &lt;description&gt;Launch Netflix in a browser&lt;\/description&gt;\r\n   &lt;action&gt;EXEC &amp;quot;\/usr\/bin\/google-chrome&amp;quot; --kiosk &amp;quot;https:\/\/www.netflix.com\/ProfilesGate&amp;quot;&lt;\/action&gt;\r\n&lt;\/button&gt;<\/pre>\n<p>That&#8217;s about all there is to it. Save the file and restart the MythTV frontend and the button should appear. To exit Netflix press CTRL+W or ALT+F4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, MythTV launched in Australia today. I couldn&#8217;t have my wife trying to start\/stop the MythTV frontend and poke around looking for web browsers, typing URLs and maximising windows and whatnot, so I quickly banged up a Netflix launch button for MythTV.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-270","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=\/wp\/v2\/posts\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=270"}],"version-history":[{"count":7,"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=\/wp\/v2\/posts\/270\/revisions"}],"predecessor-version":[{"id":297,"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=\/wp\/v2\/posts\/270\/revisions\/297"}],"wp:attachment":[{"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ubermotive.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}