My New Shop
MTS Creations

Subscribe to My YouTube Channel

Monday, December 13, 2010

Uncle Buck quote...

I was channel surfing and landed watching Uncle Buck. I couldn't help but laugh at this part in the movie (quote: link) and thought it would make a funny Maternity shirt.

Wednesday, November 3, 2010

squeezeboxserver "playlist could not be saved"

Squeezeboxserver on linux expects ownership of the Playlist folder in order for it to save your playlists even though it belongs to the group with full permissions.

Friday, September 24, 2010

Mason Turned 2... (wow, that was fast!)

Time has flown and so did we... Mason turned 2 the day we left for Jamaica. See our Jamaica pictures for the video of the pilot announcing it over the PA.
We had to celebrate the birthday for those who were not in Jamaica as well, so here are the pictures from the party!

Jamica Anybody?

We spent a week in Jamaica visiting my parents (blog). It was extremely fun to see them and to let them see Mason.
Here are the pictures from the trip.

Spanish Anchor

My dad and I

Some beautiful corral

Who said scuba diving was hard? As you can see, you just sit there...

Thursday, September 23, 2010

Squeezeboxserver tweek

I have been using squeezeboxserver for sometime now and have loved it!

My wife and I stream our music via squeezeslave to our laptops and my desktop.  (Mac, linux and Windows)

When I mow my lawn I wanted to use my Android phone like a squeezeslave.  The way I have done it in the past was using "SqueezeDroid" or "SqueezeControl" to control the playlist and then use "A Online Radio" to open the stream.mp3.

I didn't think it would be that hard to port squeezeslave to Android.  Well after many hours of searching, there is nothing like that for Android and from what I can tell many people have tried.

Today I found a way around the need for porting squeezeslave!

Here is my findings.


Squeezeboxserver setup info:
Ubuntu Server 10.4
squeezeboxserver 7.5.1

Stop squeezeboxserver (/etc/init.d/squeezeboxserver stop)

Edit the perl file in /usr/share/perl5/Slim/Web/

Line 816 I changed from:
this: "if (!defined($client) && ($path =~ /(?:stream\.mp3|stream)$/)) {"

to this: "if (!defined($client) && ($path =~ /(?:stream\.mp3|stream|phone\.mp3)$/)) {"

I added the following on line 819:

if (($path =~ /(?:phone\.mp3)$/)) {
$address = "";

Line 1129 I changed from:
this: "} elsif ($path =~ /^(?:stream\.mp3|stream)$/o) {"

to this: "} elsif ($path =~ /^(?:stream\.mp3|stream|phone\.mp3)$/o) {"

Start squeezeboxserver (/etc/init.d/squeezeboxserver start)

Now you can browse to your squeezeboxserver and stream your new stream name on any HTTP stream.
http://<squeezeboxserver address>:9000/phone.mp3

The cool thing is that if my phone gets a different IP address from the carrier that it will still keep playing the same playlist without creating a new player each time.

Wednesday, July 21, 2010

NetBeans 6.9 Install with Subversion for ssh+svn

I thought that NetBeans included everything needed to use ssh+svn but it doesn't.

SSH Install Notes
So in order to get SVN to work over SSH you will have to download "plink.exe" from the following site:
(plink is also included with TortoiseSVN as well)

The plink needs to be available in your Environmental Path in order to run from the command line. In order to do this you will need to either:
(hard) add the location of "plink.exe" in your Environmental Path or
(easy) save the file to your %WINDIR%. (usually "C:\Windows\")

After it is in your Environmental Path you can run the following from a command line. ("Start" -> "Run..." -> "cmd" + "OK")

You will be prompted with a "Host Key warning" that you will need to accept by pressing "y" and "enter".

The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 79:41:a7:99:89:5e:4f:91:c4:15:74:42:34:b5:80:20
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
Store key in cache? (y/n)

You can now exit and close that command prompt window. (to exit press Ctrl + C)

NetBeans Install Notes
Download and install NetBeans 6.9 from

I downloaded just the PHP version (31MB)

Run the download with all the defaults (you can choose to register and help improve if you want)

After install select "Team" -> "Subversion" -> "Checkout".

You will be prompted with this Subversion Screen Shot: (if you run a 64-bit version you will have to download and install separately)

After install you will have to restart NetBeans.

After restart select "Team" -> "Subversion" -> "Checkout" again.

Substitute your username and password for "username" and "password"

Monday, January 11, 2010

Linux Ramblings...

This is the line used to mount a folder on startup.

# nano /etc/fstab
/home/chroot_directory/somefolder /home/marc/somefolder   none    rw,bind   0       0

Another great command is "umask 002" which is run from inside the folder where you would like the default -rwx permissions set on folder/file creation.
umask 022 is default which is -rwxr-xr-x.  I had to use
umask 002 for the group to write to it as well (-rwxrwxr-w)