Difference between revisions of "MythTV/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(Configuring MythTV for Multiple Systems)
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Image:home.png|link=http://wiki.pcbsd.org/index.php/PC-BSD_9_Handbook|center|Return to Table of Contents]] [[Image:previous1.png|left|link=http://wiki.pcbsd.org/index.php?title=Multimedia|Previous: Multimedia]] [[Image:next1.png|right|link=http://wiki.pcbsd.org/index.php?title=XBMC|Next: XBMC]]
+
<noinclude>{{NavHeader|back=Files and File Sharing|forward=XBMC}}</noinclude>
  
 +
[[File:myth1.png|thumb|393px|'''Figure 9.4a: MythTV Configuration GUI''']]
  
 +
{{citelink|url=http://mythtv.org|txt=MythTV}} is an open source software digital video recorder (DVR) that is an alternative to Tivo or Windows Media Center. It allows you to pause and rewind live TV shows, skip commercials, schedule TV show recordings, and control a {{citelink|wp|url=Set-top_box|txt=set-top box}} using an infrared remote or firewire. In order to use MythTV, you will need a video capture card. Hardware requirements are described on the {{citelink|url=http://www.mythtv.org/wiki/Hardware_Requirements|txt=MythTV Wiki}}.
  
[http://mythtv.org MythTV] is an open source software digital video recorder (DVR) that is an alternative to Tivo or Windows Media Center. It allows you to pause and rewind live TV shows, skip commercials, schedule TV show recordings, and control a settop box using an infrared remote or firewire. In order to use MythTV, you will need a video capture card. Hardware requirements are described on the [http://www.mythtv.org/wiki/Hardware_Requirements MythTV Wiki].
+
{{note|width=48.5%|in PC-BSD®, '''webcamd''' is used to provide the drivers for video capture cards. This is enabled by default, meaning any devices supported by {{citelink|url=http://linuxtv.org/wiki/index.php/Main_Page|txt=Video for Linux}} should “just work”.}}
  
During the installation of PC-BSD the installer provided an option to install MythTV. If you wish to install MythTV afterwards, use the  [http://wiki.pcbsd.org/index.php/System_Manager#Install.2FUninstall_Desktops_and_System_Components System Packages tab of System Manager]. You'll find MythTV under Misc.
+
During the installation of PC-BSD® the installer provided an option to install MythTV. If you wish to install MythTV afterwards, use ''[[Control Panel]]'' ➜ [[System Manager#Install/Uninstall Desktops and System Components|''System Manager'' ➜ ''System Packages'']] ➜ ''Misc''. Once MythTV is installed, an entry should be added to the "Multimedia" section of the application menu of your desktop. You can also run MythTV from the command line by typing '''/usr/local/share/pcbsd/scripts/mythtv.sh'''.
  
'''Note:''' if you have installed MythTV and don't have a MythTV desktop icon or entry in your window manager's Multimedia category, you can run '''mythtv-setup''' as the superuser to run the setup configuration and '''mythfrontend''' to access the MythTV frontend. Both of these programs open a graphical screen; however you will need to use your arrow keys instead of the mouse to access the GUI options.
+
== Running MythTV for the First Time ==
  
===Configuring MythTV for Multiple Systems===
+
[[File:myth3.png|thumb|393px|'''Figure 9.4b: MythTV Configuration Screen''']]
  
By default, only the computer running MythTV has access rights to the database that stores your configuration settings and recordings. If you wish to be able to access the MythTV database from other computers, you will need to change the database permissions. To do so, open a command prompt on the system that has MythTV installed, become the superuser and issue the following commands:
+
The PC-BSD® version of MythTV provides an initialization script to properly setup the database backend used by MythTV. The first time you run MythTV, you will be prompted for the superuser password in order to configure MythTV. After inputting the superuser password, a console will temporarily open indicating that the MySQL service is starting and that the MySQL database is being created. Once that is complete, you will see the configuration GUI shown in Figure 9.4a.
  
'''mysql -u root mythconverg'''
+
The initial screen will prompt you to select your "Country" and "Language". Once the desired options are highlighted, click the "Save" button. You should see the MythTV front-end screen shown in Figure 9.4b.
mysql> '''grant all on mythconverg.* to mythtv@"192.168.1.%" identified by "mythtv";'''
+
mysql> '''flush privileges;'''
+
mysql> '''quit;'''
+
'''/usr/local/etc/rc.d/mysql-server restart'''
+
  
This example will allow any computer on the 192.168.1.x network to access the MythTV database--modify to suit the IP address of your network.
+
Navigate to the configuration screen you wish to access, then press enter. To leave a screen, press ESC. To exit the front-end completely, press ESC from the main configuration menu.
  
===Additional Resources===
+
Chapters 10-12 of the {{citelink|url=http://www.mythtv.org/docs/mythtv-HOWTO.html#toc10|txt=MythTV Howto}} demonstrate the possible configurations and how to schedule recordings.<br>
  
[http://www.mythtv.org/docs/ MythTV Documentation]
+
== Additional Resources ==
 +
 
 +
* {{citelink|url=http://www.mythtv.org/docs/|txt=MythTV Documentation}}
 +
 
 +
* {{citelink|fbsd|url=WebcamCompat|txt=FreeBSD Webcam and DVB Compatibility List}}
 +
 
 +
<noinclude>
 +
{{refheading}}
 +
[[category:handbook]]
 +
[[category:Common Tasks]]
 +
[[category:MythTV]]
 +
</noinclude>

Revision as of 01:11, 5 March 2013

(Sorry for the inconvenience)

Contents

Figure 9.4a: MythTV Configuration GUI

MythTV[1] is an open source software digital video recorder (DVR) that is an alternative to Tivo or Windows Media Center. It allows you to pause and rewind live TV shows, skip commercials, schedule TV show recordings, and control a set-top box[2] using an infrared remote or firewire. In order to use MythTV, you will need a video capture card. Hardware requirements are described on the MythTV Wiki[3].

Template:Word-note in PC-BSD®, webcamd is used to provide the drivers for video capture cards. This is enabled by default, meaning any devices supported by Video for Linux[4] should “just work”.

During the installation of PC-BSD® the installer provided an option to install MythTV. If you wish to install MythTV afterwards, use Control PanelSystem ManagerSystem PackagesMisc. Once MythTV is installed, an entry should be added to the "Multimedia" section of the application menu of your desktop. You can also run MythTV from the command line by typing /usr/local/share/pcbsd/scripts/mythtv.sh.

Running MythTV for the First Time

Figure 9.4b: MythTV Configuration Screen

The PC-BSD® version of MythTV provides an initialization script to properly setup the database backend used by MythTV. The first time you run MythTV, you will be prompted for the superuser password in order to configure MythTV. After inputting the superuser password, a console will temporarily open indicating that the MySQL service is starting and that the MySQL database is being created. Once that is complete, you will see the configuration GUI shown in Figure 9.4a.

The initial screen will prompt you to select your "Country" and "Language". Once the desired options are highlighted, click the "Save" button. You should see the MythTV front-end screen shown in Figure 9.4b.

Navigate to the configuration screen you wish to access, then press enter. To leave a screen, press ESC. To exit the front-end completely, press ESC from the main configuration menu.

Chapters 10-12 of the MythTV Howto[5] demonstrate the possible configurations and how to schedule recordings.

Additional Resources


References


  1. http://mythtv.org
  2. http://en.wikipedia.org/wiki/Set-top_box
  3. http://www.mythtv.org/wiki/Hardware_Requirements
  4. http://linuxtv.org/wiki/index.php/Main_Page
  5. http://www.mythtv.org/docs/mythtv-HOWTO.html#toc10
  6. http://www.mythtv.org/docs/
  7. http://wiki.freebsd.org/WebcamCompat
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox