Back to main
05/03/2007 - my latest FRESH install notes

Installation version=0.20
Information I found in the MythTV wiki that didn't seem to be in the installation instructions:

DataDirect web site = labs.zap2it.com
'certificate code' for MythTV = ZIYN-DQZO-SBUT

#####
Problems installing mythtv-frontend on your "frontend only" system and/or mplayer on Ubuntu Edgy (or Fiesty?) due to dependency problems? Here's how I got it to work, for now.

Using your favorite file editor - I'm apparently a little old skool and use vi (a.k.a. vim):

vi /etc/apt/sources.list
change
deb http://us.archive.ubuntu.com/ubuntu/ edgy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ edgy universe
to
deb http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse

** NOTE: if you're using feisty then change edgy above to feisty of course **

Installation of mplayer should work now.

---
On to mythtv-frontend....

In order to install mythtv-frontend I had to install the full mythtv package since mythtv-frontend had unresolvable dependencies. I followed the instructions on the MythTV Wiki Ubuntu page with a few slight modifications, but here is a quick overview which *should* be a straight cut-n-paste. I did all my steps as root (sudo -). If you don't want to do that then add sudo to the front of the commands that need them.

sudo -
cd /tmp <--change this to whatever you want
wget 'http://mythtv.org/modules.php?name=Downloads&d_op=getit&lid=129'
tar xvfj mythtv-0.20.tar.bz2
cd mythtv-0.20
./configure --prefix=/usr --enable-xvmc --enable-opengl-vsync --enable-proc-opt
qmake mythtv.pro
make
make install


Then:
apt-get install mysql-client


Log on to the mythtv backend server and log in to the mysql database using either of the following methods:

mysql -u root mysql #<-- doesn't require a password
mysql -u root -p mysql #<-- requires a password, use this if you set one after the default mysql install

then run:

GRANT ALL PRIVILEGES ON *.* TO 'mythtv'@'*';
(I know, it's not very secure but it get's it working and hopefully your network IS secure :) )


Next, while on the backend server, edit /etc/mysql/my.cnf and change:

bind-address=127.0.0.1
to
#bind-address=127.0.0.1

and restart mysql:

/etc/init.d/mysql restart


run mythfrontend and go through the initial setup.

I didn't have any errors when following the steps above. If you encounter any problems then I can try to help - just email me @ finite at gmail dot com.

That's it so far - it seems to be working.

#####


05/02/2007 - Updates coming soon...honestly

I just installed the latest MytTV again and am going to set it up this weekend. I expect I'll have updates at some point before Monday so check back. The wife and kid are out of town for four days so I'll have plenty of time to work on it. All I have left to do is run mythtv-setup and mythbackfill for the most part. Those things are hard to do from work though since I have to export the display back for mythtv-setup (see the main page for why I'm doing the install from work, if you're interested).

The reason I haven't messed around with MythTV since November of 2004 (the last post below) is because I met my future wife on the 16th of that month which was the day after that post. Things changed a lot after that.


11/15/2004 - Updates coming soon

I'm finally going to get around to upgrading mythtv to the latest version and try exploring more of the features again. Since I don't watch much tv anymore I kind of let this go by the wayside but I'm looking for a few wintertime projects and this is definately on my list. I have a few things to do before I get to this again so don't expect any updates in the next week or so, but hopefully in the next few weeks. Besides - I'm going to be on-call for three out of four weeks in December so I'll have a lot of free time while sitting around the house ;)


05/12/2004 - I feel dumb

Took me 40 minutes to figure out that that reason my newly downloaded music wasn't showing up when I scaned for it was because MythTV expects a directory structure of band/album/*.mp3. I had a few directories set up as band/*.mp3 and it was driving me crazy because MythTV was putting them all in a generic directory. Grr. Hope this helps someone out there.

Sorry for the lack of updates, I've been fairly content with my setup so I haven't been motivated to experiment, test, or otherwise grow my Myth knowledge. I'm thinking of getting a new system to replace my two current myth systems, and getting a mod chip to do a full native linux install on my X-Box so I'll be starting out at square 1 again. I'm sure I'll be updating this page a bit more if I do.


02/15/2004 - Mythtv (usb us-104) keyboard commands

Since I couldn't find this list anywhere on the web I thought I'd map the keys myself and post them. Hope you find them as usefull as I do since I don't use a remote yet. Feel free to let me know if you see anything missing or if I've listed anything wrong.

VIDEO KEYS            

These keys say this is what they do on the screen but don't seem to work:
[   = volume down *
]   = volume up *
|   = mute on/off *
F9  = mute on/off *
F10 = volume down *
F11 = volume up *

These keys do work:
q   = skip commercial back
w   = aspect ratio (4:3, 16:9, 16:9 zoom, zoom)
e   = not exactly sure - pauses video and ff/rr keys work
u   = speed up (see Note below)
i   = info
o   = set commercial skip / set auto expire (?)
p   = pause
j   = slow down (see Note below)      
z   = skip commercials forward
x   = transcoding on/off
m   = not exactly sure, seems to act same as "e"
pg up = jump back "x number of minutes" (set in mythfrontend as "jump" setting)
pg down = jump ahead "                     "                       "
arrow up = jump back
arrow dn = jump ahead
fwd arrow = skip ahead "x number of seconds" (set in mythfrontend as "skip" setting)
bk arrow = skip back  "                   "                      "

Note: in "speed mode" (u and j commands), 0-9 set the speed and 0 (zero) = off. You have to use zero to break out of the speed mode.

MUSIC KEYS   

This is not complete yet, but this is what I have so far:
space = start/restart song
enter = start/restart song
end   = next song
home  = go to the top of the play list
pg up = rewind
pg dn = ff
The Function keys listed above work here too.


Blog is below my config setup at the bottom

** This was copied from my entry at pvrhw.goldfish.org **

Click here to read my PS2/X-Box as a myth tv frontend review (a.k.a "Why the PS2 is better than the XBox, IMO").


Name: Subpuppy ( newpvr ) PVR Software: MythTV ( 0.13-4 ) Rating: 8/10
OS: GNU/Linux ( Debian )
Hardware:
Motherboard CPU CPU Type Memory Memory Type HardDrive HardDrive Type Tuner GFX Audio
ECS K7VTA3 AMD Duron 1.6 512 DDR PC2100 Other Hitachi 200G ATA-100 7200rpm Hauppage PVR-250 X-Box frontend onboard Via
Software settings:
CODEC Capture Size CODEC Quality Tuner Driver GFX Driver Audio Driver Audio Settings
MPEG2 640x480 3000-4500 IVTV 0.1.6 N/A ALSA 0



Sorry for the brain dump, just trying to help my fellow pvr enthusiast and not leave out any details that might be helpful.

The ivtv driver is a little hard to compile at first, it works best using gcc-3.2 - had tons of problems compiling with gcc-2.95. My original pvr was using ivtv 0.12 and was running on a PIII 500mhz, 256M Dell Optiplex and had problems with audio and video recording about half the time. I had to write several monitoring scripts that detected things like DMA errors or zero length recording files and would reboot the system automatically to clear up the problems. The new system and upgraded MythTV is much more stable but still has the occasional tinny audio and the occasional zero length recording, but then again I do need to upgrade to the latest ivtv driver. I only have one script on the new system to monitor for the zero-length recordings and restart mythtv-backend and rmmod/modprobe the ivtv driver. No reboots neccessary anymore. It's not perfect yet but it's almost there.

The 0.13 release of MythTV has some excellent features incorporated and the "blink" feature for the X-Box frontend is pretty cool too. I'm going to install the linux kit for my PS2 and see if the frontend performance gets better. The X-Box playback is a little jittery for my taste but it works fairly well for the most part. I tried setting up the remote but found that a pain and decided to use a keyboard instead. I'll try to configure the remote again but I'm lazy and the keyboard works.

I use my pvr extensively every day. I record approx 4.5 hours a day, not counting the occasional movie. With the configuration listed above an hour of recording uses 1.5G of space. A note about playing MP3's - if you are using a separate frontend be sure to nfs mount the mp3 directory from the pvr (or whatever system houses your mp3's) on to the frontend, configure the mounted directory in mythfrontend then scan for music. Kind of the same thing for dvd's - the frontend has to have a dvd player and the decoding software (to decode protected dvd's) installed, it won't play dvd's from the backend pvr over the network (or at least I don't know how to make it do that).

All in all it was a little expensive but not much more than a Tivo/ReplayTV. I prefer to have total control over all aspects of the recording process and hardware anyway so the cost is well worth it. All together the whole project cost me around $550 (computer parts + X-Box) but I don't have to subscribe to a service, I can upgrade the hardware any way and any time I want, and I can save all of my favorite shows on dvd.



01/22/2004

Note: do not select "Agressive audio buffering" if using an xbox frontend. I learned this the hard way. I apparently selected it while adjusting some settings in mythfrontend and when I tried to play something it would grind away like crazy with a black screen and no audio output. I eventually had to kill off mythfrontend. When I de-selected the option I was then able to play recordings without any problems.