MythFlix README
From MythTV
This page is a copy of an external document. It has been copied into the wiki for convenient reference by readers (it may have been stored within a tarball or zipfile in its native location, or otherwise require extra work to link to). You should not edit it here on the wiki, as these changes will likely not make it back into the original. Most such documents include the address of their author; if you see a necessary correction, you can mail it to that person.
- see this link for packaged version [1]
MythFlix is a NetFlix plugin for mythTV
Contents |
Compilation
Unzip the mythflix-x.x-x.tgz to the mythplugin-x.x-x directory.
type 'qmake mythflix.pro' in the mythflix directory to create the Makefile.
type 'make' in the mythflix directory to begin compiling
Compiling note: If you get an error on building this that says something about 'mkspecs', then you don't have the QTDIR environment variable set. On Debian, this should be set to /usr/share/qt3.
Once the make is completed, do a 'make install' as root
- libmythflix.so will go into /usr/local/lib/mythtv/plugins - data files will be put into the /usr/local/share/mythtv/mythflix directory - image files and ui file go to /usr/local/share/mythtv/themes/default
Generate Your Queue's Custom RSS Feed
Run mythfrontend and setup the Netflix RSS feeds to include when you browse for movies. You MUST run the mythfrontend first to give the plugin a chance to initialize the database before continuing. See Configuration/Usage.
Currently, MythFlix plugin lacks a configuration UI, so your Netflix account settings need to be initialized manually. To do this run the following command. The following isn't a typo: for some reason you must run the script twice to properly initialize the Netflix cookie. Do not run as root, run as user mythtv is running as.
$ /usr/local/share/mythtv/mythflix/scripts/netflix.pl -L <userid> <passwd> $ /usr/local/share/mythtv/mythflix/scripts/netflix.pl -L <userid> <passwd>
If you run across the following error
LWP::UserAgent::request: Simple response: Not Implemented or a 501 error when running the previous lines, install Crypt::SSLeay
Note: You may also need to install LWP::UserAgent. The easiest way to do this is open CPAN and type install LWP::UserAgent
Final Installation
After running the plugin once you must manually enter your Netflix Queue RSS feed into the database. This can be found by going to NetFlix.com, login, click RSS feed at the bottom of the page. Copy and paste the url into the netflix table with the is_queue flag set.
# mysql -u root -p
> insert into mythconverg.netflix values ('Queue','NetFlix', '[YOUR QUEUE RSS URL]','http://cdn.nflximg.com/us/icons/nficon.ico', null, 1, '[YOUR QUEUE NAME]');
> insert into mythconverg.netflix values ('History','NetFlix', '[YOUR HISTORY RSS URL]','http://cdn.nflximg.com/us/icons/nficon.ico', null, 2, '[YOUR QUEUE NAME]');
Configuration/Usage
Once you have installed mythflix, you will need to set it up. Go to Settings->NetFlix Settings (This will setup the mythflix database for you automatically). On the Settings page there will be RSS feed on the left window. Double clicking or selecting and pressing return/space will add them to the database (These will also be shown on the right window). Now exit the setup page (by pressing ESC).
Go to the NetFlix main page and you should see the RSS feeds on the left column and corresponding movies on the right). You can move between RSS feeds/articles using the UP/DOWN keys and between the news sites column and articles column using the LEFT/RIGHT keys.
In the Queue screen, pressing "ENTER" will bring up a menu of options to perform on the current selection including "Move to top of queue" and "Remove from queue". Also, pressing "1" will move an item to the top of the queue while "D" will remove it from the queue.
