Thursday, December 24, 2009

Mythtv File Parsing for Metadata



  • A Movie Title.mpg
  • Title s01e01 Subtitle.mpg
  • Title 1x01 Subtitle.mpg
  • Title Season 1 Episode 1 Subtitle.mpg

Filename/Path combinations

  • Title/Season 1/01 Subtitle.mpg
  • Title/Season 1/s01e01 Subtitle.mpg
  • Title/Season 1/1x01 Subtitle.mpg
  • Title/Season 1/Title s01e01 Subtitle.mpg
  • Title/Season 1/Title 1x01 Subtitle.mpg
  • Title/Season 1/Episode 1 Subtitle.mpg
  • Title/Season 1/Season 1 Episode 1 Subtitle.mpg
  • Title Season 1/01 Subtitle.mpg
  • Title Season 1/s01e01 Subtitle.mpg
  • Title Season 1/1x01 Subtitle.mpg
  • Title Season 1/Title s01e01 Subtitle.mpg
  • Title Season 1/Title 1x01 Subtitle.mpg
  • Title Season 1/Episode 1 Subtitle.mpg
  • Title Season 1/Season 1 Episode 1 Subtitle.mpg

Sunday, December 13, 2009

Ubuntu squeezeserver audio transcoding support

To add a few more transcoding/decoding dependencies for your ubuntu squeezeserver install:
sudo apt-get install faad flac lame mplayer ffmpeg alac-decoder sox wavpack shntool

Tuesday, December 08, 2009

Linux process listening on a port


sudo netstat --tcp --udp --listening --program

Sorting DU results

A quick 'one-liner' to sort the results of a du by size.


sudo du -hx --max-depth=1 / | perl -e '%byte_order = ( G => 0, M => 1, K => 2 ); print map { $_->[0] } sort { $byte_order{$a->[1]} <=> $byte_order{$b->[1]} || $b->[2] <=> $a->[2] } map { [ $_, /([MGK])/, /(\d+)/ ] } <>'

Thursday, November 26, 2009

Ubuntu and temp sensors applet in the panel

The following is the link to how to configure this for Ubuntu:

Wednesday, November 11, 2009

Turn your mp3 into an iphone Ringtone

This little nugget worked for me to turn one of my existing mp3s into an iphone ringtone:

All that and it was free and just a little work using iTunes.

Friday, October 23, 2009

Network UPS Tools (NUT) in Ubuntu Server

I used this Ubuntu NUT article as a basis for installing NUT on Ubuntu Server 9.04.

I did install it command-line ( apt-get install nut) and found you need to 'reboot' to have the new udev rule file run against the USB UPS.

Wednesday, October 07, 2009

Linux Distro Review

A quick, easy to read review of a number of Linux popular distributions.

Saturday, March 28, 2009


The following is the documentation I used to configure MythTV on the following system:

Motherboard: Asus M3N78-EM
CPU: 65w AMD Athlon 64 X2 Dual Core Processor 5200+ Brisbane 2.7GHz
Heatsink/Fan: Thermaltake TR2-R1
RAM: 4GB RAM DDR2 800MHz Patriot
Video Card: On board video Geforce 8300
Sound Card: On board motherboard Realtek ALC1200 8 -Channel HD audio
HD: 2 x SATA 1TB WD Caviar Green WD10EADS-00L
Optical: Lite-On iHAS120 DVD-RAM
Remote: Harmony One Advanced Universal Remote
Tuner: HDHomeRun Home Networked Digital TV Tuner
Receiver: ONKYO TX-DS696
Case: Antec Fusion Remote Black
TV: Panasonic 42" plasma TH-42PX60U
Country: USA
TV provider: Comcast

This was done on the Mythbuntu 8.10 release by simply sticking the 64 Bit (x86_64) Direct Desktop Download CD in the drive and walking through the installation wizard. It was later upgraded to the Mythbuntu 9.04.

Configuring the HD Homrun Tuner:
* (time consuming) Channel mapping in Seattle required watching all the TV station, then hitting the 'E' key to type in the station information (Callsign and number) as per Plus enabling that channel in my lineup in
* Ensure that the network is up before mythtv backend (otherwise the tuner is marked as down)

LCD and Remote:
The new Soundgraph LCD/IR (Antec Fusion usb-id 15c2:0038 with RM200 remote) required the most custom work all phenomenally well documented on this thread

My 19 month son was helping and together we found we could move the front-end screen (by accident pressing the ctrl-[mouse right button[-drag). To restore reset here:

SPDIF(PCM/etc) Sound not working out of the box: For the builtin sound processor on the Asus M3N78-EM(Realtek ALC1200 8-Channel High Definition Audio Codec)
Requires adding the following line to /etc/modprobe.d/alsa-base.conf:
options snd-hda-intel model=6stack-dig

Secondly it required starting the alsamixer, scrolling to the right and un-muting the digital out (IEC958, IEC958 D, IEC958 1)