Archive for May, 2007

Shoutoutz

Friday, May 4th, 2007

Ok its time I thanked a few of my Internet brothers.

Firstly Pauly over at unpointless.com for the FREE hosting! The service provided is simply amazing, huge disk space, huge file transfer and ssh (IRC,VIM,GNU Compilers) which allows me to do things like the Full metal Racket steam recording. Also thanks for being there with web-dev help.

Secondly Phranticsnr, my older bro who resides up North at phranticsnr.wordpress.com thanks for being my top referral behind the search engines. Thanks for the tour of Brisbane and the in-sight into technology and gadgets.

And last but not least, Orbitor who chills (literally) south of heaven down at cradanka.yi.org who hooked my up with some html layout (pictured below) which I use in the images and programs section of the site. He probably dosnt even remember doing this but thanks anyway. He also tries to provide a public e-service and rid the Internet of idiots, we should all thank him for this.

555.png
Theres more of you. You know who you are…

Peace

Full metal racket mp3’s

Wednesday, May 2nd, 2007

I have set up a process to record the weekly Australian heavy metal radio ‘Full metal racket” on JJJ which also broadcasts over the internet. I did this using Cron, Bash scripting, Mplayer using the -streamdump switch and PHP. Then I host the Mp3 files on my site for download on IPods or portable mp3 players for listening at our own leisure.
For those that are interested this is the bash script called DownloadFMR.sh:

1) #!/bin/sh
2) mp3filename=Full_Metal_Racket-`date +%y%m%d`
3) /home/slith/apps/MPlayer-1.0rc1/mplayer http://202.6.74.107:8060/triplej.mp3 -dumpstream -dumpfile /home/slith/emkay.unpointless.com/FMR/${mp3filename}.mp3

Here is my crontab; maybe theres a better way of stoping the recording than killing all instances of mplayer. Does anyone know?

0 5 * * 2 /home/slith/scripts/DownloadFMR.sh > /home/slith/mylogs/FMR.log
0 8 * * 2 kill -9 `ps -ef | grep DownloadFMR.sh | grep -v grep | awk ‘{print $2}’`
0 8 * * 2 kill -9 `ps -ef | grep mplayer | grep -v grep | awk ‘{print $2}’`

If all you care about is downloading the shows in Mp3 format you can find these here.

Full metal racket Slayer