Thursday, December 24, 2009

Mythtv File Parsing for Metadata

From
http://www.mythtv.org/wiki/MythVideo_File_Parsing

Filenames

  • 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

Command-line:

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



http://www.go2linux.org/which_service_or_program_is_listening_on_port

Sorting DU results

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

from: http://ubuntuforums.org/showthread.php?t=885344


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:

http://www.techthrob.com/2009/03/02/enabling-hardware-sensors-in-linux/

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:

http://www.ehow.com/how_2160460_custom-iphone-ringtones-free.html


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.

http://www.osnews.com/story/22305/Linux_Distros_that_Don_t_Suck

Saturday, March 28, 2009

MythTV

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

Motherboard: Asus M3N78-EM http://usa.asus.com/products.aspx?l1=3&l2=149&l3=676&l4=0&model=2260&modelmenu=1
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 http://www.silicondust.com/
Receiver: ONKYO TX-DS696
Case: Antec Fusion Remote Black http://www.antec.com/Believe_it/product.php?id=NzE4
TV: Panasonic 42" plasma TH-42PX60U
Country: USA
TV provider: Comcast

This was done on the Mythbuntu 8.10 release http://www.mythbuntu.org/ 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:
http://www.mythtv.org/wiki/Silicondust_HDHomeRun
Notes:
* (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 schedulesdirect.org. Plus enabling that channel in my lineup in schedulesdirect.org.
* Ensure that the network is up before mythtv backend (otherwise the tuner is marked as down)
http://ubuntuforums.org/showthread.php?t=1018339



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
http://ubuntuforums.org/showthread.php?t=1103474

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: http://www.mythtv.org/wiki/Screen_size_setting_wizard

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)