Difference between revisions of "MythTV"

From Amahi Wiki
Jump to: navigation, search
 
(31 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{NeedsUpdate}}
 +
 +
 +
==General Tips==
 
Tips on using the MythTV Backend app:
 
Tips on using the MythTV Backend app:
  
 
* Useful to run it as mythtvsetup --geometry 1024x720 so that you can see the messages in the launch window in the background (assuming your screen is larger than 1024x720)
 
* Useful to run it as mythtvsetup --geometry 1024x720 so that you can see the messages in the launch window in the background (assuming your screen is larger than 1024x720)
 +
 +
==Comcast Setttings==
 
* When connecting a source to an input (e.g. comcast to an HDHomeRun in my case), fetch channels from listing source only works *after* scanning for channels first
 
* When connecting a source to an input (e.g. comcast to an HDHomeRun in my case), fetch channels from listing source only works *after* scanning for channels first
 
* If you want to use a separate front end, the database is called '''mythconverg''' and the user and password are both '''mythtv'''
 
* If you want to use a separate front end, the database is called '''mythconverg''' and the user and password are both '''mythtv'''
 
* You have to explicitly tell Myth to add digital channels to the DB since they're almost always unusable without a scan
 
* You have to explicitly tell Myth to add digital channels to the DB since they're almost always unusable without a scan
 
==More Tips==
 
 
* Comcast seems to be rolling out SCTE channels
 
* Comcast seems to be rolling out SCTE channels
 
* I recommend reading (the /entire/ thread at): http://www.gossamer-threads.com/lists/mythtv/users/382657#382657
 
* I recommend reading (the /entire/ thread at): http://www.gossamer-threads.com/lists/mythtv/users/382657#382657
 
* Also http://www.mythtv.org/wiki/Comcast_Users_And_scte65scan
 
* Also http://www.mythtv.org/wiki/Comcast_Users_And_scte65scan
  
* This setup seems to be needed for F12
+
==Fedora 14==
** at line 21 posix_uname has to be changed to php_uname in file /var/hda/web-apps/mythtv/html/includes/defines.php
+
*MythTV requires the x server to be running.
** http://www.gossamer-threads.com/lists/mythtv/commits/374157
+
**further there must be a user logged in.  
* In Mythsetup
+
**under /etc/gdm/custom.conf ensure that the following text is added underneath the Daemon section to appear similar to this:
** On page 3 (Miscellaneous Settings) of option 1 ensure 'Master Backend Override' is enabled (toggled)
+
[daemon]
* good place for help http://www.mythtv.org/wiki/Installing_MythTV_on_Fedora#Setup_MythTV
+
TimedLoginEnable=true
* to ensure the backend starts at every boot, reboot, or after a power loss enter as root'''''/sbin/chkconfig mythbackend on'''''
+
TimedLogin=fooUser '''(<----This must be the user in Fedora)'''
 +
TimedLoginDelay=0
 +
 
 +
* F14 Setup
 +
**Simply install the app and step through the setup under mythtv-setup
 +
** to ensure the backend starts at every boot, reboot, or after a power loss enter as root at command line:
 +
/sbin/chkconfig mythbackend on
 +
'''NOTE:'''  Also if you have time Warner Cable in Texas you may have to set your broadcast settings to '''''US-CABLE'''''
  
 +
==Detailed Setup Instructions==
 
Edit by Dizzy1:
 
Edit by Dizzy1:
  
Line 24: Line 36:
 
http://www.mythtv.org/wiki/User_Manual:Index <--- Mythtv user manual
 
http://www.mythtv.org/wiki/User_Manual:Index <--- Mythtv user manual
  
After installing mythtv-backend, open a terminal and run "sudo mythtv-setup --geometry 1024x720".
+
After installing mythtv-backend, open a terminal and run:
 +
sudo mythtv-setup --geometry 1024x720
  
 
To navigate the menu use the arrow keys and enter to select.
 
To navigate the menu use the arrow keys and enter to select.
Line 30: Line 43:
 
Move to "1. General", and press enter.
 
Move to "1. General", and press enter.
  
1.1 Host address Backend setup
+
'''1.1''' Host address Backend setup<br />
Most of the options on the first page do not need to be changed. the local backend ip address and master backend ip address are the same if you are only running one backend. The value for them is the ip address of your hda ex. 192.168.1.19 or 192.168.2.87.  
+
* Most of the options on the first page do not need to be changed. the local backend ip address and master backend ip address are the same if you are only running one backend. The value for them is the ip address of your hda ex. 192.168.1.19 or 192.168.2.87.  
  
The security pin is only a 4 digit security code if mythtv is being run on a large LAN network. It is your choice if you wish to use it. If you don't set it to 0000.
+
* The security pin is only a 4 digit security code if mythtv is being run on a large LAN network. It is your choice if you wish to use it. If you don't set it to 0000.
  
Now move to the next page with the next button (Sometimes covered by gnome task bar it is the bottom most left button).
+
* Now move to the next page with the next button (Sometimes covered by gnome task bar it is the bottom most left button).
  
1.2 Locale settings
+
'''1.2''' Locale settings<br />
TV format is NTSC for North America and Japan, PAL for most parts of Europe and everywhere else. The VBI format is whatever you selected for above. NTSC Closed Caption for NTSC and PAL Teletext for PAL.
+
* TV format is NTSC for North America and Japan, PAL for most parts of Europe and everywhere else. The VBI format is whatever you selected for above. NTSC Closed Caption for NTSC and PAL Teletext for PAL.
  
The Channel frequency table is used if you are using a coaxial input for either antenna or cable. If you are using an antenna use a "-bcast" selection. If you are using cable select one that says cable with your country code. If you are unsure select "auto".
+
* The Channel frequency table is used if you are using a coaxial input for either antenna or cable. If you are using an antenna use a "-bcast" selection. If you are using cable select one that says cable with your country code. If you are unsure select "auto".
  
For your local timezone, input your local timezone. pretty self-explanatory.
+
* For your local timezone, input your local timezone. pretty self-explanatory.
  
1.3 Misc. Settings
+
'''1.3''' Misc. Settings<br />
  
Master Backend Override: I think this means the backend will move stuff if it finds things in the videos directory on its machine.
+
* Master Backend Override: I think this means the backend will move stuff if it finds things in the videos directory on its machine.
  
Follow Symbolic links...: means if there is a sym. link in the videos directory when you add or delete things it will treat it as a folder rather then a file.
+
* Follow Symbolic links...: means if there is a sym. link in the videos directory when you add or delete things it will treat it as a folder rather then a file.
  
Delete files slowly: umm... delete them slowly as to not kill your pentium II.
+
* Delete files slowly: umm... delete them slowly as to not kill your pentium II.
  
HD Ringbuffer: Size in ram that it buffers recordings so when playing they dont stutter.
+
* HD Ringbuffer: Size in ram that it buffers recordings so when playing they dont stutter.
  
Misc. status App: A script that adds custom info to the system status pages.
+
* Misc. status App: A script that adds custom info to the system status pages.
  
Disable Auto. DB Backup: This should never be checked unless you have your own sql backup strategy in place.
+
* Disable Auto. DB Backup: This should never be checked unless you have your own sql backup strategy in place.
  
Disable Fire-wire Reset: Reset fire-wire bus when fire-wire recorders stop responding. Enable only if it causes problems.
+
* Disable Fire-wire Reset: Reset fire-wire bus when fire-wire recorders stop responding. Enable only if it causes problems.
  
1.4 EIT Scanner Options
+
'''1.4''' EIT Scanner Options<br />
  
EIT Transport Timeout: maximum time to wait on data before moving to next channel.
+
* EIT Transport Timeout: maximum time to wait on data before moving to next channel.
  
Cross Source EIT: Listing data collected on one source will be used on the first matching DVB channel.
+
* Cross Source EIT: Listing data collected on one source will be used on the first matching DVB channel.
  
Backend Idle...: time after the recorder finishes that the backend will go to get new EIT data.
+
* Backend Idle...: time after the recorder finishes that the backend will go to get new EIT data.
  
1.5 Shutdown/Wakeup Options:
+
'''1.5''' Shutdown/Wakeup Options:<br />
  
Startup command: a command run right after the Backend or BE is finished loading.
+
* Startup command: a command run right after the Backend or BE is finished loading.
  
Block Shutdown before...: Will not auto shutdown until until after client connects and disconnects.
+
* Block Shutdown before...: Will not auto shutdown until until after client connects and disconnects.
  
Idle shutdown time: time before myth shuts itself and all other backends off. 0 to disable.
+
* Idle shutdown time: time before myth shuts itself and all other backends off. 0 to disable.
  
Max. wait for rec.: if it is going to auto shutdown and there is recording starting in this time period it will stay on.
+
* Max. wait for rec.: if it is going to auto shutdown and there is recording starting in this time period it will stay on.
  
Startup before record: time before a recording that a backend is woken up.
+
* Startup before record: time before a recording that a backend is woken up.
  
Wakeup Time Format: time format of setwakeup command.
+
* Wakeup Time Format: time format of setwakeup command.
  
Command to set Wakeup time: umm...  
+
* Command to set Wakeup time: umm...  
  
Server Halt Command: Command used to turn backends off
+
* Server Halt Command: Command used to turn backends off
  
Pre shutdown check command: command run to check if backends can be shut off.
+
* Pre shutdown check command: command run to check if backends can be shut off.
  
1.6 Backend Wakeup settings
+
'''1.6''' Backend Wakeup settings<br />
  
Delay between Wakeup attempts: umm...
+
* Delay between Wakeup attempts: umm...
  
Wake attempts: umm...
+
* Wake attempts: umm...
  
Wake command:  the command used to wake the master backend
+
* Wake command:  the command used to wake the master backend
  
Sleep command: command to put slaves to sleep.
+
* Sleep command: command to put slaves to sleep.
  
Wake command: Command used to wake slaves
+
* Wake command: Command used to wake slaves
  
1.7 Backend Control
+
'''1.7''' Backend Control<br />
  
Backend stop command: command to stop the local backend
+
* Backend stop command: command to stop the local backend
  
Backend start command: command to start the local backend
+
* Backend start command: command to start the local backend
  
1.8 Job Queue  
+
'''1.8''' Job Queue <br />
  
Maximum Simultaneous...: max jobs going at a time
+
* Maximum Simultaneous...: max jobs going at a time
  
Job Queue...: time between job checks
+
* Job Queue...: time between job checks
  
Job Quene start/end time: when the current day's queue end
+
* Job Quene start/end time: when the current day's queue end
  
CPU Usage: umm...
+
* CPU Usage: umm...
  
Various allows: allow certain jobs to take place on this machiene.
+
* Various allows: allow certain jobs to take place on this machiene.
  
1.9 Job Queue (Global)
+
'''1.9''' Job Queue (Global)<br />
  
Run Jobs on Original...: when doing an operations on a video, do it on the backend that recorded it.  
+
* Run Jobs on Original...: when doing an operations on a video, do it on the backend that recorded it.  
  
Start commercial flagging...: do flagging at the same time as recording.
+
* Start commercial flagging...: do flagging at the same time as recording.
  
Commercial flagger command: should not be changed unless you are using your own commercial flagger.
+
* Commercial flagger command: should not be changed unless you are using your own commercial flagger.
  
Trans-coder Command: should not be changed unless you are using your own trans-coder.
+
* Trans-coder Command: should not be changed unless you are using your own trans-coder.
  
run trans-code jobs...: do trans-coding before commercial flagging.
+
* run trans-code jobs...: do trans-coding before commercial flagging.
  
Save orig. files after trans-code: keep original file instead of deleting them after trans-coding them.
+
* Save orig. files after trans-code: keep original file instead of deleting them after trans-coding them.
  
1.10 Job Quene
+
'''1.10''' Job Quene<br />
  
User job #1 Description: desc. for user job #1
+
* User job #1 Description: desc. for user job #1
  
User job #1 command: command to run when running this job.
+
* User job #1 command: command to run when running this job.
  
same for all of the rest.
+
* same for all of the rest.
  
1.11 UNNP Server settings
+
'''1.11''' UNNP Server settings<br />
  
Video Content to show to Windows Media Player Client: show recording or Videos
+
* Video Content to show to Windows Media Player Client: show recording or Videos
  
Upnp media update time: time between the first check the backend does of files to server via. upnp and the next one.
+
* Upnp media update time: time between the first check the backend does of files to server via. upnp and the next one.
  
2. Capture Cards
+
'''2.''' Capture Cards<br />
  
 
being done some other time
 
being done some other time

Latest revision as of 22:30, 14 September 2015

Msgbox.update.png Update Needed
The contents of this page have become outdated or irrelevant. Please consider updating it.


General Tips

Tips on using the MythTV Backend app:

  • Useful to run it as mythtvsetup --geometry 1024x720 so that you can see the messages in the launch window in the background (assuming your screen is larger than 1024x720)

Comcast Setttings

  • When connecting a source to an input (e.g. comcast to an HDHomeRun in my case), fetch channels from listing source only works *after* scanning for channels first
  • If you want to use a separate front end, the database is called mythconverg and the user and password are both mythtv
  • You have to explicitly tell Myth to add digital channels to the DB since they're almost always unusable without a scan
  • Comcast seems to be rolling out SCTE channels
  • I recommend reading (the /entire/ thread at): http://www.gossamer-threads.com/lists/mythtv/users/382657#382657
  • Also http://www.mythtv.org/wiki/Comcast_Users_And_scte65scan

Fedora 14

  • MythTV requires the x server to be running.
    • further there must be a user logged in.
    • under /etc/gdm/custom.conf ensure that the following text is added underneath the Daemon section to appear similar to this:
[daemon]
TimedLoginEnable=true
TimedLogin=fooUser (<----This must be the user in Fedora)
TimedLoginDelay=0
  • F14 Setup
    • Simply install the app and step through the setup under mythtv-setup
    • to ensure the backend starts at every boot, reboot, or after a power loss enter as root at command line:
/sbin/chkconfig mythbackend on

NOTE: Also if you have time Warner Cable in Texas you may have to set your broadcast settings to US-CABLE

Detailed Setup Instructions

Edit by Dizzy1:

http://www.mythtv.org/wiki <--- Mythtv wiki http://www.mythtv.org/wiki/User_Manual:Index <--- Mythtv user manual

After installing mythtv-backend, open a terminal and run:

sudo mythtv-setup --geometry 1024x720

To navigate the menu use the arrow keys and enter to select.

Move to "1. General", and press enter.

1.1 Host address Backend setup

  • Most of the options on the first page do not need to be changed. the local backend ip address and master backend ip address are the same if you are only running one backend. The value for them is the ip address of your hda ex. 192.168.1.19 or 192.168.2.87.
  • The security pin is only a 4 digit security code if mythtv is being run on a large LAN network. It is your choice if you wish to use it. If you don't set it to 0000.
  • Now move to the next page with the next button (Sometimes covered by gnome task bar it is the bottom most left button).

1.2 Locale settings

  • TV format is NTSC for North America and Japan, PAL for most parts of Europe and everywhere else. The VBI format is whatever you selected for above. NTSC Closed Caption for NTSC and PAL Teletext for PAL.
  • The Channel frequency table is used if you are using a coaxial input for either antenna or cable. If you are using an antenna use a "-bcast" selection. If you are using cable select one that says cable with your country code. If you are unsure select "auto".
  • For your local timezone, input your local timezone. pretty self-explanatory.

1.3 Misc. Settings

  • Master Backend Override: I think this means the backend will move stuff if it finds things in the videos directory on its machine.
  • Follow Symbolic links...: means if there is a sym. link in the videos directory when you add or delete things it will treat it as a folder rather then a file.
  • Delete files slowly: umm... delete them slowly as to not kill your pentium II.
  • HD Ringbuffer: Size in ram that it buffers recordings so when playing they dont stutter.
  • Misc. status App: A script that adds custom info to the system status pages.
  • Disable Auto. DB Backup: This should never be checked unless you have your own sql backup strategy in place.
  • Disable Fire-wire Reset: Reset fire-wire bus when fire-wire recorders stop responding. Enable only if it causes problems.

1.4 EIT Scanner Options

  • EIT Transport Timeout: maximum time to wait on data before moving to next channel.
  • Cross Source EIT: Listing data collected on one source will be used on the first matching DVB channel.
  • Backend Idle...: time after the recorder finishes that the backend will go to get new EIT data.

1.5 Shutdown/Wakeup Options:

  • Startup command: a command run right after the Backend or BE is finished loading.
  • Block Shutdown before...: Will not auto shutdown until until after client connects and disconnects.
  • Idle shutdown time: time before myth shuts itself and all other backends off. 0 to disable.
  • Max. wait for rec.: if it is going to auto shutdown and there is recording starting in this time period it will stay on.
  • Startup before record: time before a recording that a backend is woken up.
  • Wakeup Time Format: time format of setwakeup command.
  • Command to set Wakeup time: umm...
  • Server Halt Command: Command used to turn backends off
  • Pre shutdown check command: command run to check if backends can be shut off.

1.6 Backend Wakeup settings

  • Delay between Wakeup attempts: umm...
  • Wake attempts: umm...
  • Wake command: the command used to wake the master backend
  • Sleep command: command to put slaves to sleep.
  • Wake command: Command used to wake slaves

1.7 Backend Control

  • Backend stop command: command to stop the local backend
  • Backend start command: command to start the local backend

1.8 Job Queue

  • Maximum Simultaneous...: max jobs going at a time
  • Job Queue...: time between job checks
  • Job Quene start/end time: when the current day's queue end
  • CPU Usage: umm...
  • Various allows: allow certain jobs to take place on this machiene.

1.9 Job Queue (Global)

  • Run Jobs on Original...: when doing an operations on a video, do it on the backend that recorded it.
  • Start commercial flagging...: do flagging at the same time as recording.
  • Commercial flagger command: should not be changed unless you are using your own commercial flagger.
  • Trans-coder Command: should not be changed unless you are using your own trans-coder.
  • run trans-code jobs...: do trans-coding before commercial flagging.
  • Save orig. files after trans-code: keep original file instead of deleting them after trans-coding them.

1.10 Job Quene

  • User job #1 Description: desc. for user job #1
  • User job #1 command: command to run when running this job.
  • same for all of the rest.

1.11 UNNP Server settings

  • Video Content to show to Windows Media Player Client: show recording or Videos
  • Upnp media update time: time between the first check the backend does of files to server via. upnp and the next one.

2. Capture Cards

being done some other time