Difference between revisions of "Mythfilldatabase"

From MythTV Official Wiki
Jump to: navigation, search
m (Need cleanup)
Line 1: Line 1:
= Manual use of mythfilldatabase =
= Manual use of mythfilldatabase =

Revision as of 04:53, 24 April 2006

Clean.png Cleanup: This article or section may require cleanup. Discuss the issue on the talk page

Important.png Note: The correct title of this article is mythfilldatabase. It appears incorrectly here due to technical restrictions.

Manual use of mythfilldatabase

If you are in a country where mythfilldatabase will not work the normal way you will need to use the --file flag (e.g. XMLTV does not have a grabber included, or the grabber options are not fully supported by MythTV).

1. Obtain xml file of tv guide

Here in Belgium, I use pytvgrab to get my tv guide and output to an xml file:

$ tv_grab_be_tvb --configure  (you only need this the first time)
$ tv_grab_be_tvb -o belgium.xml

2. Find out the source id of your card

This is normally '1' if you have only one input card, but it is best to check it out because I have found if I have run mythtv setup more than once it can end up being something other than 1. To check, you need to look at the database:

$ mysql -u root mythconverg
mysql> select * from cardinput\G

Remember the source id

3. Run mythfilldatabase with the --file flag

The -1 means to replace all data, belgium.xml is the file name for the output of the grabber as above:

$ mythfilldatabase --file <sourceid> -1 belgium.xml

The first time you will need to use the --manual flag, but this is better explained on the XmlTv page.