Thursday, January 10, 2008

Jump Ahead/Back Setting have changed

FastForwardAmount and RewindAmount settings have changed.

Added playgroups which allow default playback options (timestretch, skip and jump intervals) to be set on a per recording schedule basis.
Important: The new default playback group does not inherit the skip settings previously configured in mythfrontend. Please visit the Playback group configuration screen to reset your defaults to the expected behavior.

[ http://www.mythtv.org/wiki/index.php/Release_Notes_-_0.19#New_Features ]

Thread found about this:

http://readlist.com/lists/mythtv.org/mythtv-users/0/136.html

Mythbuntu 7.10 install

Hard disk partitions: Make sure root/boot partition is the first one on the first drive. Got grub error 18 (bios can't support cylinder #). So, don't put swap partition first.

Well that didnt matter. Still got lots of grub boot errors 16, 18, others. Then "read failure". Abandoned the WD 80GB drive and kept the WD 200G and Maxtor 300GB. Made root and swap partition on WD200G and bulk storage partition on Mx300G. Both ext3 (ext3 for boot/root partition is recommended; tried XFS and it gave me warnings). Reinstalled off cdrom and now it boots off wd200g drive :)

Did not run mythtv-setup from install disc. Instead shutdown and booted off HD. Then manually set ip address and rebooted for that to take effect.

I notice there's no root password. A google hit says mythbuntu doesn't have a root account. It asks for one user account to be setup. You do all sys maintenance via sudo.

So, this was an annoying problem. If I tried to add/configure DVB tuner cards in mythtv-setup while fresh off the mythbuntu live/boot cdrom, the "Frontend id:" line would say "can't open device" or something like that. But, if I post-pone running mythtv-setup until after I boot off the hard drive, sudo chmod 777 /dev/video* (and vbi* and /dev/dvb/adapter*), then run mythtv-setup, then when I add tuner card that 'frontend' line reads "pcHDTV HD-3000 Subtype: ATSC" :)

Did full channel scan on both tuner cards.
Log looks ok, /var/log/mythtv/mythbackend.log

Installed frontend next. Plasma did not like resolution/scanrate that the install CD was using, so had to install with computer monitor hooked up to frontend PC. (will have to port old xorg.conf settings later).

Problem: When setting up FE, installer asks for ip addr and password for mysql BE. When I click the "test connection" button, it failed. Moving on with install resulted in installer crash and "Failed to connect to DB: Can't connect to MySQL server on '192.168.1.200' (111)" error near the end of the crash. From BE shell, I can login with 'mysql -u mythtv -p' just fine, but if I add "-h 192.168.1.200" it gives the same msg. So netstat confirms that BE ain't listening to 192.168.1.200:3306 (mysql tcp port):

donn@fatso:/etc/mythtv$ mysql -u mythtv -pHiddenPw -h 192.168.1.200
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.1.200' (111)
donn@fatso:/etc/mythtv$ netstat -ln grep 3306
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN

(only accepting from localhost 127.0.0.1 !)

Compare this to the myth port #:

donn@fatso:/etc/mythtv$ netstat -ln grep 6543
tcp 0 0 0.0.0.0:6543 0.0.0.0:* LISTEN
donn@fatso:/etc/mythtv$

(0.0.0.0 = "any")

So need to sql GRANT remove access to mysql.

Update my.cnf:

root@fatso:~# cat /etc/mysql/my.cnf egrep bind
bind-address = 127.0.0.1 (bad! fix that)

$ service mysql restart

Now it looks good:
root@fatso:~# netstat -ln grep 3306
tcp 0 0 192.168.1.200:3306 0.0.0.0:* LISTEN
root@fatso:~#

GRANT permission in mysql to user 'mythtv':
mysql> GRANT ALL ON mythconverg.* TO mailto:mythtv@ IDENTIFIED BY 'HiddenPw';
Query OK, 0 rows affected (0.00 sec)

Now rerun setup. and now when i click the mysql test button, it says "Connection results: successful" :)

FE video driver: selected 'nvidia' for my nVidia GeForce FX5200 (MSI FX5200-TD128; 128M DDR,DVI-I, 4pin tv-out (s-video out), AGP)

===
For reference, cmds for manually adding/removing tuner card kernel-modules on backend:
modprobe -v cx88-dvb
To remove modules:
modprobe -rv cx88-dvb
modprobe -rv cx8800

Wednesday, January 09, 2008

Saving frontend soundcard settings before Mythubuntu install

dvd player (mythDvd setup):
xine -pfhq --no-splash dvd:///dev/hdc

mythVideo:
mplayer -fs -zoom -monitoraspect 16:9 -quiet -vo x11,xv -ao alsa:device=digital2c %s

Important xine + soundcard setup info:
http://mymythtv.blogspot.com/2005/06/turtle-beach-riviera-installation.html

fe: /root/.asoundrc


[root@myth root]# cat .asoundrc
pcm.digital {
type plug
slave.pcm "digital-hw"
}
pcm.digital-hw {
type hw
card 0
device 0
}

pcm.digital2 {
type plug
slave.pcm "digital-hw2"
}
pcm.digital-hw2 {
type hw
card 1
device 0
}

pcm.digital2b {
type plug
slave.pcm "digital-hw2b"
}
pcm.digital-hw2b {
type hw
card 1
device 1
}

pcm.digital2c {
type plug
slave.pcm "digital-hw2c"
}
pcm.digital-hw2c {
type hw
card 1
device 2
}

pcm.!iec958 {
type plug
slave.pcm "hw:1,2"
}
ctl.!iec958 {
type hw
card 1
}

pcm.emu10k1 {
type hw
card 0
}

ctl.emu10k1 {
type hw
card 0
}