Difference between revisions of "Build from Source"
(Minor change in order - Setup the hardware, then the dependancies) |
Mitchell2345 (talk | contribs) (→Setup MythTV backend preferences and tune TV cards) |
||
Line 75: | Line 75: | ||
> mythtv-setup | > mythtv-setup | ||
− | You will now see the GUI for MythTV to setup the backend server and in particular the channel tuning for our | + | You will now see the GUI for MythTV to setup the backend server and in particular the channel tuning for our broadcast streams. You will need to set up: |
− | #General — | + | #General — General Backend settings, most user can use the defaults |
− | #Capture Cards — you | + | #Capture Cards — you will configure your capture cards/devices here |
− | #Video Sources — create | + | #Video Sources — create guide data. |
#Input connections — connect the Capture Card name to the Video Source | #Input connections — connect the Capture Card name to the Video Source | ||
#Channel Editor — scan for your channels here | #Channel Editor — scan for your channels here | ||
+ | #Storage Groups — Configure which folders your recordings will be saved. | ||
On entering each screen, the cursor is positioned at the bottom right on the "Next" button. The cursor may not be visible. Use the up, down, left, and right cursor keys to make selections. Fields marked with up and down arrows can be modified by pressing the PageUp and PageDown keys or the left and right cursor keys; in some cases, the action is different. For example, when setting times, cursor left and cursor right change the time by minutes, while Page Up and Page Down change by half hours. Some fields, notably text fields, accept direct keyboard input. For many fields, context-sensitive help appears in the bottom part of the screen when you position on the field. | On entering each screen, the cursor is positioned at the bottom right on the "Next" button. The cursor may not be visible. Use the up, down, left, and right cursor keys to make selections. Fields marked with up and down arrows can be modified by pressing the PageUp and PageDown keys or the left and right cursor keys; in some cases, the action is different. For example, when setting times, cursor left and cursor right change the time by minutes, while Page Up and Page Down change by half hours. Some fields, notably text fields, accept direct keyboard input. For many fields, context-sensitive help appears in the bottom part of the screen when you position on the field. | ||
Line 87: | Line 88: | ||
===Multiple tuner cards=== | ===Multiple tuner cards=== | ||
− | If you have more than one TV card, you only need to do the channel scan on one of the cards. All cards of the same type should point to the same video source. For example let's say you have two | + | If you have more than one TV card, you only need to do the channel scan on one of the cards. All cards of the same type should point to the same video source. For example let's say you have two cards both for Freeview. Create a Video Source called FreeviewUK, now connect both cards to this Video source. |
[DVB1] DVB card 1->FreeviewUK | [DVB1] DVB card 1->FreeviewUK | ||
Line 99: | Line 100: | ||
Older TV cards may need all of the parameters from the transmitters tab to be entered, and not just left as "auto". The next version of MythTV (0.19) should have a "blind" scan, and it should just find the channels for you. | Older TV cards may need all of the parameters from the transmitters tab to be entered, and not just left as "auto". The next version of MythTV (0.19) should have a "blind" scan, and it should just find the channels for you. | ||
+ | Alternatively users in the USA using Schedules Direct can fetch there lineups form Schedules Direct in Input Connections to automatically configure channel lineups. | ||
+ | |||
{{Navigate|User Manual:Introduction|User Manual:Index|User Manual:Detailed configuration Backend}} | {{Navigate|User Manual:Introduction|User Manual:Index|User Manual:Detailed configuration Backend}} |
Revision as of 03:03, 19 March 2008
Previous | Up | Next |
---|---|---|
![]() |
![]() |
User Manual:Detailed configuration Backend ![]() |
Contents
Introduction
There are four key parts to MythTV, and setup roughly in this order:
- Start system services that MythTV needs
- Initialize the system database, mythconverg
- Setup system preferences and tune your TV card using mythtv-setup
- Start main MythTV server, mythtvbackend
- Start MythTV, mythfrontend
Create a user called mythtv and do all of the following steps as this user
Its a good idea to run these from a terminal window to start with, so we can see that everything is as it should be. Once all has been set up and complete, then we can run mysql/mythbackend/frontend as background server processes.
Start system services
We need to have both "mysql" and "mythbackend" running on startup
For SUSE 10.0
Start YaST -> System ->System Services ( RunLevel)
Select mysql click "enable" Click OK after popup dialog
Select ntp click "enable" Click OK after popup dialog
Notice there is a mythbackend option, would suggest that you do not enable "mythbackend" just yet, until you have tried running in a terminal window as below. If all steps below work then enable this to run.
Setup mysql database mythconverg
Set the root password for the mysql database. (replace mysqlpassword with your own)
Open a Terminal window
> mysqladmin -u root password mysqlpassword
Setup the initial database The following command will prompt for password
> mysql -u root -p < /usr/share/mythtv/database/mc.sql
How to Reset the Root Password (Slackware):
Login as a root
> su -
Stop the database
> /etc/rc.d/rc.mysqld stop
Set the initial file for a new root database password
> echo "SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new_password');" > /var/lib/mysql/mysql-init
Change the user and group ownership
> chown mysql.mysql /var/lib/mysql/mysql-init
Start a database manually
> /usr/bin/mysqld_safe --init-file=/var/lib/mysql/mysql-init &
Login to the database as a root with a new password
> mysql -u root -p new_password
How to Reset the Root Password
Setup MythTV backend preferences and tune TV cards
Open a Terminal Window and type
> mythtv-setup
You will now see the GUI for MythTV to setup the backend server and in particular the channel tuning for our broadcast streams. You will need to set up:
- General — General Backend settings, most user can use the defaults
- Capture Cards — you will configure your capture cards/devices here
- Video Sources — create guide data.
- Input connections — connect the Capture Card name to the Video Source
- Channel Editor — scan for your channels here
- Storage Groups — Configure which folders your recordings will be saved.
On entering each screen, the cursor is positioned at the bottom right on the "Next" button. The cursor may not be visible. Use the up, down, left, and right cursor keys to make selections. Fields marked with up and down arrows can be modified by pressing the PageUp and PageDown keys or the left and right cursor keys; in some cases, the action is different. For example, when setting times, cursor left and cursor right change the time by minutes, while Page Up and Page Down change by half hours. Some fields, notably text fields, accept direct keyboard input. For many fields, context-sensitive help appears in the bottom part of the screen when you position on the field.
Multiple tuner cards
If you have more than one TV card, you only need to do the channel scan on one of the cards. All cards of the same type should point to the same video source. For example let's say you have two cards both for Freeview. Create a Video Source called FreeviewUK, now connect both cards to this Video source.
[DVB1] DVB card 1->FreeviewUK
[DVB0] DVB card 2->FreeviewUK
http://acaciaclose.co.uk/mediac/400_0/media/mythtune.jpg
When you scan for your channels make sure that you put in a frequency that corresponds to the transmitter that you will be receiving from, for instance Crystal Palace. You can find out the frequency on the web for your country and region.
Older TV cards may need all of the parameters from the transmitters tab to be entered, and not just left as "auto". The next version of MythTV (0.19) should have a "blind" scan, and it should just find the channels for you.
Alternatively users in the USA using Schedules Direct can fetch there lineups form Schedules Direct in Input Connections to automatically configure channel lineups.
Previous | Up | Next |
---|---|---|
![]() |
![]() |
User Manual:Detailed configuration Backend ![]() |