MythTV

Useful Procedures

Suspend to RAM

/usr/sbin/pm-suspend

Backend wait for LAN

Wake On Lan

On DD-WRT device, create file in /tmp/cron.d wake-iris

# Wake up Iris for an evening of recording every day
58 16 * * * root  /usr/sbin/wol -h 192.168.0.104 00:24:8C:20:50:85

Database

  • Backup: mysqldump -u <myth_user> -p —extended-insert —databases <myth_db_name> > mythdatabase.bak
  • Repair: mysqlcheck -r -umythtv -p<pass> mythconverg
  • * From irc-freenode #ubuntu-mythtv: <Zinn> If you are having problems connecting to your mysql database, you can perform the following to reconfigure it: 1. sudo dpkg-reconfigure mysql-server-5.0 (pay attention to the root password you set, you will need it for the next step) 2. sudo dpkg-reconfigure mythtv-database 3. sudo dpkg-reconfigure mythtv-common

Testing tuner card

  • Install dvb-utils
  • Run scan on frequency table: scan /usr/share/doc/dvb-utils/examples/scan/atsc/us-NTSC-center-frequencies-8VSB

Adding the MythBuntu repository

echo "deb http://ppa.dogfood.launchpad.net/mythbuntu/ubuntu feisty multiverse universe restricted main"
sudo tee /etc/apt/sources.list.d/mythbuntu-feisty.list

Export Video

nuvexport —debug output

To encode

To make DVD of myth recordings

Xorg.conf for Westinghouse LVM-37W3

MythVideo

xmame

xmame -vidmod 1 -fullscreen -ctrlr xarcade %s

Maintenance

Tidbits from mythtv-users mailing list

Hardware

Sound

MythTV Wiki

  • List all soundcards and digital audio devices: aplay -l
  • List your available PCMs (device definitions): aplay -L
  • Test output to spdif: aplay -D ALSA:spdif test.ac3
  • Adjust channel volumes: alsamixer

Configuring Digital sound at MythTV wiki

  • Get your card number and device numbers from aplay -l, then create the following /etc/asound.conf with the appropriate changes

Lirc

Keymaps for xine in ~/.xine/keymap

Installing LIRC on Ubuntu

Follow directions at Ubuntu Lirc Howto

Ubuntu installing LIRC

Tidbits from mythtv-users mailing list

From: Nick Morrott
Have your tried running mythfrontend with '-v all' logging output -
this should output all possible log output from mythfrontend and may
catch something. (Note that plugins such as MythMusic/MythWeather run
on the frontend).

From: Dewey Smolka

You could run two instances of mythtv I guess… ?

This works quite well but requires a keyboard attached to the Myth
machine or the ability to ssh in.
Start one instance of mythfrontend and play the music. Ctrl-tab to a
new desktop and start a second mythfrontend to show
TV/video/recordings, or whatever.

From: Yan Seiner
I've been playing around with MythMusic, and so far, so good. Myth
stores its music as .ogg files.

From [https://help.ubuntu.com/community/MythTV_Feisty_hardware_list|https://help.ubuntu.com/community/MythTV_Feisty_hardware_list]

HD5500 - supported but with module issues

  • The cx88_dvb module is not loaded on boot. modprobe and add cx88_dvb to /etc/modules to fix this:

$ sudo sh -c "echo "cx88_dvb" » /etc/modules"

From [http://parker1.co.uk/mythtv_dvb.php|http://parker1.co.uk/mythtv_dvb.php]
scan /usr/share/doc/dvb-utils/examples/scan/atsc/us-ATSC-center-frequencies-8VSB > ~mythtv/.tzap/channels.conf

Sound

Wiki

  • List all soundcards and digital audio devices: {CODE()}aplay -l{CODE}
  • List your available PCMs (device definitions): {CODE()}aplay -L{CODE}
  • Test output to spdif: {CODE()}aplay -D ALSA:spdif test.ac3{CODE}
  • Adjust channel volumes: {CODE()}alsamixer{CODE}

Digital sound at MythTV wiki

  • Get your card number and device numbers from aplay -l, then create the following /etc/asound.conf with the appropriate changes

Links

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License