Setup General

From MythTV Official Wiki
Revision as of 00:06, 5 February 2006 by Mikec (talk | contribs) (Backend Configuration)

Jump to: navigation, search

Backend

MythTV Detailed Backend Configuration v. 0.18.1. (Incomplete)


Contents

MythTV Backend

The backend process (mythbackend) is the portion of the system that handles the Video Capture Cards as well as Scheduling Recordings on those cards, Commercial Flagging, and transcoding. The backend process interacts with the Database primarily.

As with the MythFrontend, there can be multiple backends. One backend process is designated as the master backend. This is usually the first backend installed on a system. This backend is responsible for coordinating the activities of the other backends known as slaves. This is especially true for scheduling as the master backend will determine the best distribution of programs across all available tuners. Each backend can have any number of tuners, including zero. As of 0.16, Commercial Flagging can be distributed across different backends, thereby spreading the load of that process.

There is no requirement for direct user interaction with the backend. The backend can use local HardWare/File Storage or have it mounted from another system. If remotely mounted, network performance should be considered as there will be considerable traffic on the network as recordings are stored and retreived by the backend process.

Communications Protocol

The backend and frontend communicate using their own Myth Protocol. The developer of Win Myth, a windows frontend to MythTV for playing recordings on Windows, has documented his workings on the procotol here. Work on defining the Myth Protocol is also be performed on this Wiki.


Backend Configuration

The MythTV Backend configuration has two main objectives

  • Tell MythTV what TV Capture/Tuner cards to use
  • Populate the Myth Database with information about channels and tuning information

There are additional items that can be configured, but without successfully achieving the above two steps you will not be able to get Live TV.


Backend Configuration

Configure the Myth backend like so

> mythtv-setup

The system will now prompt to see if you want to keep the current TV card settings as well as the channel information.

Once configuration is done you can test to see if the mythbackend process is running correctly by starting it in a Terminal window:

> mythbackend

Watch out for any error messages.

Backend Reference

Host Address Backend Setup

IP address for mythtv
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Port the server runs on:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Port the server shows status on:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Master Server IP address:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Port the master server runs on:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject

Host-specific Backend Setup

Directory to hold recodings:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Directory to hold the Live-TV buffers:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Live TV Buffer (GB):
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Minimum free Live TV Buffer:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Save original files after transcoding
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject

Global Backend Setup

TV format:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
VBI format:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Channel frequency table:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Time offset for XMLTV listings:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Master Backend Override
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Follow Symbolic links when deleting files
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject

Shutdown/Wakeup Options

Block Shutdown before client connected
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Idle timeout (secs):
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Max wait for recording (min):
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Startup before rec. (secs):
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Wakeup time format:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Set wakeuptime command
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Server halt command:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject
Pre Shutdown check-command:
Default Setting PUT IN THE DEFUALT HERE
On Page Description Copy the description on the page Here
Detailed Description and Comments This is the meat of the subject

WakeOnLan settings

MasterBackend
Reconnect wait time (secs):
Count of reconnect tries:
Wake Command
Wake command for slaves:

Job Queue (Host-Specific)

Maximum simultaneous jobs on this backend:
Run Jobs only on original recording host
Job Queue Check frequency (in seconds)
CPU Usage
Allow Commercial Detection jobs
Allow User Job #1 jobs
Allow User Job #2 jobs
Allow User Job #3 jobs
Allow User Job #4 jobs

Job Queue (Job Commands)

User Job #1 Description:
User Job #1 Command:
User Job #2 Description:
User Job #2 Command:
User Job #3 Description:
User Job #3 Command:
User Job #4 Description:
User Job #4 Command: