Backend Mac OS X USA HDHR Setup
The following instructions pertain to configuring the MythTV backendon OSX, using an HDHomeRun network tuner in the United States.
MythTV requires listings information to do a good job of displaying upcoming shows. Digital broadcasts send a few hours of listings information over the air, but they are often inaccurate.
Begin by obtaining an account from SchedulesDirect. Make a note of your User ID and password. For purposes of this document, we will assume they are sduser and sdpassword respectively. Substitute as necessary in the instructions below.
Know Your Network
To watch remotely, you will need to be able to let other computers talk to your backend and its database. Almost every home network is configured with NAT and will therefore have its addresses appear as A.B.C.x where A, B, and C never change.
In this document we will assume that A.B.C.x is 192.168.1.x. To find out the right numbers for your network, open a Terminal and type
shell> ifconfig -a
You should also go into System Preferences and click on Sharing to find the sharing name of your backend. It will likely be xx.local where xx is your machine name. If it is not something short and simple, now is a good time to change it. Here we will assume your sharing name is tvrecorder.local.
Substitute for 192.168.1.x and tvrecorder.local as necessary in the instructions below.
Set up the database as in the main instructions, but ensure that the database is configured to communicate with your entire home network:
mysql> GRANT ALL PRIVILEGES ON mythconverg.* TO 'mythtv'@'192.168.1.0/tvrecorder.local' IDENTIFIED BY "mythtv-password";; mysql> GRANT CREATE TEMPORARY TABLES ON mythconverg.* TO 'mythtv'@'192.168.1.0/tvrecorder.local' IDENTIFIED BY "mythtv-password"; mysql> GRANT ALL PRIVILEGES ON mythconverg.* TO 'mythtv'@'192.168.1.0/255.255.255.0' IDENTIFIED BY "mythtv-password";; mysql> GRANT CREATE TEMPORARY TABLES ON mythconverg.* TO 'mythtv'@'192.168.1.0/255.255.255.0' IDENTIFIED BY "mythtv-password"; mysql> FLUSH PRIVILEGES;
Download the backend, and copy its files to a new folder in
/Applications/, such as
Find the setup program MythTV-Setup.app. To navigate this program it is useful (but not completely necessary) to have a keyboard, a mouse and an Apple Remote all attached. They can all be used in the same session.
The setup program contains many pages consisting of boxes that need to be filled in, and buttons for Next or Prev pages of boxes.
You use the Tab key to switch to the next box or button, and the Enter key to select it. Shift-Tab behaves like Tab but moves the selection in the opposite direction.
Many boxes hide a list of possibilities inside. You are supposed to hit the right or left arrow keys to choose among them.
The Esc key lets you exit from a submenu, close a popup, or cancel an action.
The mouse can only be used to click on buttons, but is useful when the other aspects of the user interface make navigating to a button hard to figure out.
One difficulty is that the user interface likes to hide the mouse cursor. To find the cursor again, press ⌘-Tab to briefly switch away from the setup app. The cursor will become visible. Press ⌘-Tab again to get back into the setup app and click away.
You use the down arrow to switch to the next box or button, and the play button key to select it. up arrow behaves like down arrow but moves the selection in the opposite direction.
The cancel button lets you exit from a submenu, close a popup, or cancel an action.
Start the setup application. You will be asked to choose a country and language. The defaults of USA and US English are probably what you want, so just hit Tab twice to get to the Save button, and hit Enter to select it.
The application will close briefly and then reopen itself.
Main Setup Menus
The setup menus appear as a list of eight numbered selections, intended to be chosen and manipulated in their numeric order. We will be able to skip a couple of them.
Menu 1: General
- Set the address of the backend either to tvrecorder.local, or to the IP address of your backend if you know it to have a fixed address
- Set the security PIN to 0000
- Set the address of the master backend either to tvrecorder.local, or to the IP address of your backend if you know it to have a fixed address
- Select Next