特殊:Badtitle/NS100:MythFlix:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/MythFlix}} | {{From|https://help.ubuntu.com/community/MythFlix}} | ||
{{Languages|UbuntuHelp:MythFlix}} | {{Languages|UbuntuHelp:MythFlix}} | ||
[[Include(MythTV/Header)]] | [[Include([[UbuntuHelp:MythTV|MythTV]]/Header)]] | ||
[[Include(MythTV_Plugins_Flix)]] | [[Include(MythTV_Plugins_Flix)]] | ||
=== Installation and Setup === | === Installation and Setup === | ||
第56行: | 第56行: | ||
* Select or de-select the RSS feeds you would like shown in Mythflix's "Browse Movies" section. | * Select or de-select the RSS feeds you would like shown in Mythflix's "Browse Movies" section. | ||
Editing Existing RSS feeds: | Editing Existing RSS feeds: | ||
Some of the RSS feeds available by default in MythFlix have obsolete RSS addresses. These included Music & Musicals, Special Interest, Sports & Fitness, and Television Top 25. | 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. | * 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: | * 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: | ||
第67行: | 第67行: | ||
* 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. | * 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. | * 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 MythFlix: | 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: | 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. | * Go to netflix.com, click on RSS at the very bottom of the page in the middle. |
2007年12月4日 (二) 10:56的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/MythFlix }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/af | • {{#if: UbuntuHelp:MythFlix|Afrikaans| [[::MythFlix/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/ar | • {{#if: UbuntuHelp:MythFlix|العربية| [[::MythFlix/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/az | • {{#if: UbuntuHelp:MythFlix|azərbaycanca| [[::MythFlix/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/bcc | • {{#if: UbuntuHelp:MythFlix|جهلسری بلوچی| [[::MythFlix/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/bg | • {{#if: UbuntuHelp:MythFlix|български| [[::MythFlix/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/br | • {{#if: UbuntuHelp:MythFlix|brezhoneg| [[::MythFlix/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/ca | • {{#if: UbuntuHelp:MythFlix|català| [[::MythFlix/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/cs | • {{#if: UbuntuHelp:MythFlix|čeština| [[::MythFlix/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/de | • {{#if: UbuntuHelp:MythFlix|Deutsch| [[::MythFlix/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/el | • {{#if: UbuntuHelp:MythFlix|Ελληνικά| [[::MythFlix/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/es | • {{#if: UbuntuHelp:MythFlix|español| [[::MythFlix/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/fa | • {{#if: UbuntuHelp:MythFlix|فارسی| [[::MythFlix/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/fi | • {{#if: UbuntuHelp:MythFlix|suomi| [[::MythFlix/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/fr | • {{#if: UbuntuHelp:MythFlix|français| [[::MythFlix/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/gu | • {{#if: UbuntuHelp:MythFlix|ગુજરાતી| [[::MythFlix/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/he | • {{#if: UbuntuHelp:MythFlix|עברית| [[::MythFlix/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/hu | • {{#if: UbuntuHelp:MythFlix|magyar| [[::MythFlix/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/id | • {{#if: UbuntuHelp:MythFlix|Bahasa Indonesia| [[::MythFlix/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/it | • {{#if: UbuntuHelp:MythFlix|italiano| [[::MythFlix/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/ja | • {{#if: UbuntuHelp:MythFlix|日本語| [[::MythFlix/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/ko | • {{#if: UbuntuHelp:MythFlix|한국어| [[::MythFlix/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/ksh | • {{#if: UbuntuHelp:MythFlix|Ripoarisch| [[::MythFlix/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/mr | • {{#if: UbuntuHelp:MythFlix|मराठी| [[::MythFlix/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/ms | • {{#if: UbuntuHelp:MythFlix|Bahasa Melayu| [[::MythFlix/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/nl | • {{#if: UbuntuHelp:MythFlix|Nederlands| [[::MythFlix/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/no | • {{#if: UbuntuHelp:MythFlix|norsk| [[::MythFlix/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/oc | • {{#if: UbuntuHelp:MythFlix|occitan| [[::MythFlix/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/pl | • {{#if: UbuntuHelp:MythFlix|polski| [[::MythFlix/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/pt | • {{#if: UbuntuHelp:MythFlix|português| [[::MythFlix/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/ro | • {{#if: UbuntuHelp:MythFlix|română| [[::MythFlix/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/ru | • {{#if: UbuntuHelp:MythFlix|русский| [[::MythFlix/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/si | • {{#if: UbuntuHelp:MythFlix|සිංහල| [[::MythFlix/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/sq | • {{#if: UbuntuHelp:MythFlix|shqip| [[::MythFlix/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/sr | • {{#if: UbuntuHelp:MythFlix|српски / srpski| [[::MythFlix/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/sv | • {{#if: UbuntuHelp:MythFlix|svenska| [[::MythFlix/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/th | • {{#if: UbuntuHelp:MythFlix|ไทย| [[::MythFlix/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/tr | • {{#if: UbuntuHelp:MythFlix|Türkçe| [[::MythFlix/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/vi | • {{#if: UbuntuHelp:MythFlix|Tiếng Việt| [[::MythFlix/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/yue | • {{#if: UbuntuHelp:MythFlix|粵語| [[::MythFlix/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/zh | • {{#if: UbuntuHelp:MythFlix|中文| [[::MythFlix/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/zh-hans | • {{#if: UbuntuHelp:MythFlix|中文(简体)| [[::MythFlix/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MythFlix | UbuntuHelp:MythFlix | {{#if: | :}}MythFlix}}/zh-hant | • {{#if: UbuntuHelp:MythFlix|中文(繁體)| [[::MythFlix/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:MythFlix|:MythFlix|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :MythFlix/zh | | {{#ifexist: MythFlix/zh | | {{#ifeq: {{#titleparts:MythFlix|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MythFlix|1|-1|}} | zh | | }}
[[Include(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)
$ sudo apt-get install mythflix
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:
$ /usr/share/mythtv/mythflix/scripts/netflix.pl -L <username> <password>
- Your username is an email address
- This should produce the message:
Code 200
- If you get the error:
Can't locate LWP/UserAgent.pm
- run the following code (as root) then try the above code again:
$ sudo apt-get install libwww-Perl
- Or if you get this message:
Code 501
- run the following code (as root) then try the above code again:
$ sudo apt-get install libcrypt-ssleay-perl
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:
$ mysql -u root -p
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":
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
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 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:
http://rss.netflix.com/Top25RSS?gid=2310
- Open PHPmyadmin in a browser (replace "localhost" with your backend's ip address if necessary):
- 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 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):
- 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.