260 likes | 419 Views
Myth TV. Linux Personal Video Recorder. Jim Weir and Jeff Forde 11 July 2005. Overview. Features System-at-a-glance Requirements Hardware Installation Configuration Program Guide Plug-ins DEMO!!!. Features. Digital Television Capture Live TV Control (Pause,REW,FF)
E N D
Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005
Overview • Features • System-at-a-glance • Requirements • Hardware • Installation • Configuration • Program Guide • Plug-ins • DEMO!!!
Features • Digital Television Capture • Live TV Control (Pause,REW,FF) • Commercial Detection/Skip • Editing/Exporting Recordings • Electronic Program Guide • Digital Jukebox (MythMusic) • Photo Gallery (MythGallery) • Video Library (MythVideo) • DVD Frontend (MythDVD) • Games Launcher (MythGame) • Weather Updates (MythWeather) • News Feeds (MythNews) • Remote Web Interface (MythWeb)
MythBackend MythFrontend System-at-a-glance TV Drivers (Video4Linux) Capture Hardware MySQL
Requirements • Hardware • TV Capture Board • Software • Linux OS • Video4Linux Drivers • X Windows • QT Library • MySQL Database Server
Hardware • TV Capture Board required • Frame Grabber • ATI TV Wonder (~$80) • Requires encoding by software • Hardware Encoder • Hauppauge PVR 150 (~$85) • Encodes MPEG2 in hardware • HDTV Board • HD-3000 (~$170) • Handles Hi-Definition content
Installation • Stable Release (0.18) • RPM packages • Gentoo ebuilds • CVS Head (recommended) • Checkout via CVS
Configuration • All configuration is stored in a MySQL database • Must initially configure Myth with information about your TV card and channel lineup • Otherwise, default settings usually work well
Program Guide • Freely available from Zap2It.com • Must create an account • Requires completion of a small survey every 3 months • Run process mythfilldatabase to acquire updates
Plug-ins • MythMusic • MythGallery • MythVideo • MythDVD • MythGame • MythWeather • MythNews • MythWeb
MythMusic • Store and play digital music through MythFrontend • Supports playlists/organization • Cool visualizations during playback
MythGallery • View photos from MythFrontend • Photos organized into folders • Myth can automatically scan for Flash Media cards
MythVideo • Archive movies and launch them from the frontend • Myth can store and display poster graphics and details associated with each movie
MythDVD • Provides a frontend to DVD playback • Can be configured to launch your favorite DVD playing software
MythGame • Launch various games from MythFrontend including: • NES emulator • SNES emulator • Arcade emulator • Any system executable • Myth can store and display artwork for each game
MythWeather • Pulls weather updates from the net and displays in the frontend • Displays current and forecasted weather along with radar maps
MythNews • Allows you to subscribe to various RSS news feeds and view them
MythWeb • Remote access to MythTV over the web • Allows user to: • Browse the program guide • Schedule/edit recordings • Stream recordings to client • Stream audio from MythMusic to client • View information from MythWeather
Controlling Satellite or Cable Boxes with MythTV • Building the IR Emitter. • Finding and configuring the LIRC to transmit as well as receive Infrared Signals. • Configuring for your cable or satellite box.
Building the Emitter • Parts List • RadioShack Parts: • # 276-1538 - Connector, 9-Position Female Solder D-Sub • # 276-1122 - Diode, Pkg10 1N914/4148 • # 271-1328 - Resistor, Pkg5 3.3Kohm 1/4 Watt • # 276-0143 - LED, IR 940nm, 5mm diameter OR • IR LED that came with your capture card.
Building the Emitter • Soldering: • The componets are all soldered in series in the following order. • Pin 4 of the DB9 connector to the to the Anode (end without the stripe) on the Reverse Blocking Diode. • Cathode of the Reverse Blocking Diode(the striped end) to either end of the Resistor. • The other side of the resistor to the Anode (long lead) of the LED. • Cathode of the LED (short lead) to Pin 5 of the DB9 connector.
Building the Emitter The Finished Product:
Configuring LIRC for Transmitting • Get LIRC 0.7.0 and myth-ledxmit which are both available Here • Follow the instructions on how to configure myth-ledxmit • This creates a second instance of LIRC demon that controls transmitting IR Signals • Find a suitable Remote configuration file for your cable or satellite box. Available from http://lirc.sourceforge.net/remotes/ • Copy this conf file to /etc/ledxmitd.conf
Configuring LIRC for Transmitting • Finally configure MythTV to use your IR Blaster. • For this step you just need to make a simple bash script like the following… #!/bin/sh REMOTE_NAME=SA2000 #Name of the remote in /etc/ledxmit.d file for digit in $(echo $1 | sed -e 's/./& /g'); do /usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE $REMOTE_NAME $digit sleep 0.4 # note, you may have to tweak the interdigit delay up a bit, depending on your receiver model Done /usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE $REMOTE_NAME SELECT
Configuring MythTV to Change The Channel • Save your bash script and name it something like chan_change.sh • From within mythtv-setup navigate to “input-connections” and enter the script location into the external channel change command box. • Finally fire up MythTV and enjoy!
Resources • MythTV Homepage • http://www.mythtv.org/ • MythTV Wiki • http://www.mythtv.info/ • Gentoo MythTV Guide • http://gentoo-wiki.com/HOWTO_Setup_MythTV • Fedora MythTV Guide • http://wilsonet.com/mythtv • TV Cards • http://www.pchdtv.com/ • http://mythic.tv/ • http://www.hauppauge.com/ • IR Blaster • http://losdos.dyndns.org:8080/public/mythtv-info/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html • IRC