Thursday, January 31, 2008

Comedy Linkages

The above image is of my 2 Screens being filled with the bookmarks automagically created every time Seanie sends me teh linkage!

These are the links for last year.... as you can see there is barely 10% of my visible screen left after displaying all the bookmarks. Seanie... seriously... i'm scared.. look at some of the titles of those links!

The list of links can be found here:

BEWARE: Most of these links are NOT SAFE FOR WORK, EYES OR BRAIN. Seriously... you should NOT look at *ANY* of the links.. ever!!!!

Have Fun!

Tuesday, January 29, 2008

MythTV and USB Audio Problem [Resolved]

So, I have been struggling for months to get MythTV to play all my videos and audio correctly!! and i Finally got it figured out this evening ! Hurrah!

I was getting the following error message:

AudioOutput Error: Rate doesn't match (requested 44100Hz, got 48000Hz)

My current setup consists of the follow 2 sound cards:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SI7012 [SiS SI7012], device 0: Intel ICH [SiS SI7012]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: UA1D [EDIROL UA-1D], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

The second of which is a USB Audio device with only SPDIF in and outputs. I want all my audio to go through this SPDIF interface and into my Surround Sound AMP. Sadly, The above error was preventing most of my media to play correctly through mythtv... especially when it came to music.

This error message appears becasue mythtv tries to set the spdif interfaces to 44100khz when spdif only supports 48000khz audio modes.

The following .asoundrc in my mythtv frontend users account ~mythtv/.asoundrc solved the problem once and for all.

pcm.!default {
type plug slave {
pcm "hw:1,0"
rate 48000
format S16_LE

So simple huh. This basically sets the default soundcard to be second (in this case USB) card and then informs ALSA to set re-sample all input to 48000khz in 16bit Little Endian format.

Then I simply set the sound devices in mythtv and mythmusic to use ALSA:default to seal the deal.

You might need to change the above to your specific hardware numbers. If so, don't forget to use the card number show in aplay -l (number start from 0).

Tuesday, January 01, 2008

Grandad sitting

We sent grandad up to put Ruben to bed. 10 minutes later we hear snoring and i find Ruben playing with his rocket and grandad away with the fairies ! Happy New Year folks ! :)