查看“特殊:Badtitle/NS100:MythFlix”的源代码
来自Ubuntu中文
←
特殊:Badtitle/NS100:MythFlix
跳到导航
跳到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{From|https://help.ubuntu.com/community/MythFlix}} {{Languages|UbuntuHelp:MythFlix}} [[Include([[UbuntuHelp:MythTV|MythTV]]/Header)]] [[Include(MythTV_Plugins_Flix)]] === Installation and Setup === On your frontend machine: (you will need to do this step on each frontend you want to use mythflix on) <pre><nowiki> $ sudo apt-get install mythflix </nowiki></pre> '''The next command must be run by the each user that will be running mythfrontend (for most people this will be just one user).''' If you're not already logged in as that user, press CTRL-ALT-F1, log in as that user and run the next line of code:<br> <pre><nowiki> $ /usr/share/mythtv/mythflix/scripts/netflix.pl -L <username> <password> </nowiki></pre> * Your username is an email address<br> * This should produce the message: <pre><nowiki> Code 200 </nowiki></pre> * If you get the error: <pre><nowiki> Can't locate LWP/UserAgent.pm </nowiki></pre> * run the following code (as root) then try the above code again: <pre><nowiki> $ sudo apt-get install libwww-Perl </nowiki></pre> * Or if you get this message: <pre><nowiki> Code 501 </nowiki></pre> * run the following code (as root) then try the above code again: <pre><nowiki> $ sudo apt-get install libcrypt-ssleay-perl </nowiki></pre> You must now setup some browse-rss feeds in order to spawn mythconverg.netflix (the database): * Go to '''Utilities/Setup --> Setup --> Info Center Settings --> Netflix Settings''' ** Choose at least one of the browse-rss feeds * Go to Netflix.com and login. At the very bottom of the page click on "RSS" ** You will see four addresses under "Personal Feeds". You want to insert them in the following code that you need to run on the '''backend''' machine: (you should only need to do this once, even with multiple frontends: <pre><nowiki> $ mysql -u root -p </nowiki></pre> then, enter the following two instructions, '''substituting''' the '''''complete URL for your Queue RSS''''' for '''''"RSS-Q"''''' and the '''''complete URL for your History RSS''''' for '''''"RSS-H"''''': <pre><nowiki> insert into mythconverg.netflix values ('Queue','NetFlix', 'RSS-Q','http://cdn.nflximg.com/us/icons/nficon.ico', null, 1); insert into mythconverg.netflix values ('History','NetFlix', 'RSS-H','http://cdn.nflximg.com/us/icons/nficon.ico', null, 2); exit </nowiki></pre> You should now have a working plugin. Go to '''Information Center --> Netflix''' in the frontend menu to start using it. === Adding and Editing RSS Feeds === '''Editing feeds and adding custom feeds makes use of PHPmyadmin. Please make sure you have this installed as a prerequisite:''' https://help.ubuntu.com/community/MythTV/Install/WhatNext/phpmyadmin Enable additional feeds (such as "Commedy Top 25", "Independent Top 25", etc.): * Start mythfrontend * Go to '''Utilities/Setup --> Setup --> Info Center Settings --> Netflix Settings''' * Select or de-select the RSS feeds you would like shown in Mythflix's "Browse Movies" section. Editing Existing RSS feeds: Some of the RSS feeds available by default in [[UbuntuHelp:MythFlix|MythFlix]] have obsolete RSS addresses. These included Music & Musicals, Special Interest, Sports & Fitness, and Television Top 25. * Go to netflix.com, click on RSS at the very bottom of the page in the middle. * You will see the Netflix Top 25 by Genre RSS feeds. Each genre is identified by a gid (genre identification) number which is what has become obsolete. For instance, the Music & Musicals gid is 2310 as you can see by its RSS address: <pre><nowiki> http://rss.netflix.com/Top25RSS?gid=2310 </nowiki></pre> * Open PHPmyadmin in a browser (replace "localhost" with your backend's ip address if necessary): http://localhost/phpmyadmin * Log in as root with password, select "mythconverg" from the "database" drop-box. Click on the "netflix" table in the left hand column and click on the "browse" tab in the right hand pane. * Locate the feed you would like to change by its name (ie: Music & Musicals). Click on the pencil icon beside it to edit the feed information. * In the edit window change the value of the "url" row to match the address you looked up on the Netflix RSS webpage. Click the "go" button on the bottom of the page to save this change. Adding Custom RSS Feeds to [[UbuntuHelp:MythFlix|MythFlix]]: Custom RSS feeds not normally available can be added using PHPmyadmin. For example, you can add recommendations using these steps: * Go to netflix.com, click on RSS at the very bottom of the page in the middle. * Locate the "Recommendations" feed URL under the "Personalized Feeds" list. * Open PHPmyadmin in a browser (replace "localhost" with your backend's ip address if necessary): http://localhost/phpmyadmin * Log in as root with password, select "mythconverg" from the "database" drop-box. Click on the "netflix" table in the left hand column. * Click on the "Insert" tab at the top of the right hand pane. * In the insert window fill in these values: ** '''name:''' Recommendations ** '''category:''' Netflix ** '''url:''' <RSS Feed URL from the Netflix RSS page> ** '''ico:''' (Uncheck the "null" checkbox) '''value:''' http://cdn.nflximg.com/us/icons/nficon.ico ** '''updated:''' (Make sure "null" box is checked) ** '''is_queue:''' (Uncheck the "null" checkbox) '''value:''' 0 * Click the "go" button at the bottom of the page to save your setting. * Start mythfrontend, go to '''Utilities/Setup --> Setup --> Info Center Settings --> Netflix Settings''' and select your newly added RSS feed. === External Links === [http://www.mythtv.org/wiki/index.php/MythFlix MythFlix at mythv.org] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Http://cdn.nflximg.com/us/icons/nficon.ico
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回
特殊:Badtitle/NS100:MythFlix
。
导航菜单
页面操作
页面
讨论
阅读
查看源代码
历史
页面操作
页面
讨论
更多
工具
个人工具
登录
导航
首页
最近更改
随机页面
页面分类
帮助
搜索
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息