|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Okay - here's where things got very region specific. Jarods guide refers to using Zap2it as a listings source, this is fine if you're in America, but for everyone else, he suggests an alternate listing guide. I chose XMLTV as, well it is the only guide available for NZ that I could find. The BIG note is, you must use XMLTV version 5.33 or earlier as after 5.33, support for New Zealand listings was dropped because of the lack of commercial program guides and the people who own the programming information continually changing their pages in an attempt to block scraping the code for the current listing data.
Setting Up XMLTV for New Zealand
You will need to get the version 5.33 RPM as this is the last release before NZ listings support was dropped.
# cd /home/mythtv/Downloads/xmltv-0.5.33
# perl Makefile.PL
This will ask if you want to install everything (default is yes). I chose no as I'm only interested in the NZ data. You are then asked what to install. Choose:
# make
# make test
# make install
Now XMLTV is installed we need to configure and run it to pull down the channel information.
$ cd /home/mythtv/
$ tv_grab_nz --configure
$ tv_grab_nz
Okay - now we need to make sure our mythtv user can run mythtv...
Creating Folders for Myth & Setting Permissions
It's quite possible/probable that I missed this in the instructions, but I found that after setup - I needed to create the /video/recordings and /video/buffer directories and allow the user 'mythtv' to play with them. With a default setup, some folders are owned by root but MythTV is run as the user MythTV thus the permissions need to be changed.
To fix this we need to: # cd /var/lib
# ls -la # chown mythtv:mythtv myth* # chown mythtv:mythtv pictures* # chown mythtv:mythtv games* You'll also need to make sure that mythtv can write to the /video mountpoint
# chown mythtv:mythtv /video
$ mkdir /video/recordings $ mkdir /video/buffer Okay - NOW we can setup mythtv!
The MythTVSetup Application To start the MythTV setup process you'll need an X session as the setup utility is an X application. Type the following command:
$ mythtvsetup
Would you like to clear all capture card settings before starting configuration? [no] Select the default option unless this is your first time into MythTV Setup and/or something weird is happenning with your config. Would you like to clear all program/channel settings before starting configuration? [no] Again, defaults are your friend subject to the caveat above. The X application should now start and present you with the following options: General
Host Address Backend Setup (Screen #1)
These are the default values - I just left them as is. Host-specific Backend Setup (Screen #2)
Global Backend Setup (Screen #3)
Shutdown/Wakeup Options (Screen #4)
Shutdown/Wakeup Options (Screen #4) Master Backend
Capture Cards
I need to keep running [# /sbin/modprobe saa7134] before starting Myth - I should do something about this...
If no capture cards are in the list AND you are using a PAL base LifeView FlyVideo 2000 capture card, try these settings - they worked for me: Capture Card Setup
In stating the above, I'm not yet getting sound so I may need to twiddle with the Audio Device settings or something. Video Sources
BEFORE GETTING TO THIS STAGE YOU NEED TO INSTALL XMLTV Select 'Create a New Video Source' and give it the following attributes
Clicking finish brings up a progress bar within the setup utility, you'll need to <Alt>+<Tab> to the terminal window and allow it to download the list of available channels Terminal Window Do you wish to overwrite the old configuration (y/N)? If you respond 'Yes' then you'll download the latest files & settings. Do you wish to download tv1 (Y/n)? Do you wish to download tv2 (Y/n)? Do you wish to download tv3 (Y/n)? Do you wish to download tv4 (Y/n)? Do you wish to download primetv (Y/n)? Choosing 'No' will exit the application. Use <Alt>+<Tab> to get back to the setup utility. Use <Ecs> to jump back to the main setup screen At this point, I exited the setup utility so I could check latest listings data. Once happy with the listings, you need to populate the Myth database using the following command: $ mythfilldatabase
This may take awhile, be patient and once completed, go back into the setup utility: $ mythtvsetup
Input Connections
Highlight the Television device and hit <Enter> Connect source to input
Hit finish and then <Esc> out to the main menu Channel Editor
Channel Options - Common
Channel Options - Common
Channel Options - Common
Channel Options - Common
Channel Options - Common
You'll probably need to jump in and out of Myth during the initial tweaking period to check that the channels are working for you and all appears as it should be.
# ps -ef | grep mythbackend
# ps -ef | grep mythfrontend
This will list the process ID(s) of the MythBackend, now all you need to do is kill them: # kill [PID Number Goes Here]
Once the backend is stopped you'll be able to configure the frontend
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Copyright © 2003 - Republication rights available on request