View Single Post
combatdoc's Avatar
Posts: 204 | Thanked: 29 times | Joined on May 2008
#13
You don't even need to load xmradio.com Even under Diablo the site itself is a little sluggish. I have just run a nice little script in Xterm since I got my n810. Less overhead, seems to work better.

Anyway, if anyone is interested here's the script. I built it for my own use, so its not very sophisticated. It will take any channel for input, I just listed my commonly used ones for my own edification.

You need mplayer to get it to work as it just basically passes variables to an mplayer command:

Code:
#!/bin/sh

USER=user@email.account
PASS=password

echo "XM Radio Player Script (^C Exits)"
echo "XM Radio Favorites"
echo "42 - XM Liquid Metal"
echo "43 - XMU"
echo "44 - Fred"
echo "45 - Starbucks Cafe"
echo "47 - Ethel"
echo "48 - Squizz"
echo "52 - The Verge"
echo "53 - Fungus"
echo "54 - Lucy"
echo  "XM Radio Channel?"
read REPLY

echo "Speed/Quality? <low, high>"
read SPEED
                                
if ["$REPLY" ==""]; then
echo "I need a Channel to listen to."
exit

else
mplayer -vo null -cache 256 -playlist "http://www.xstreamxm.com/mobile/stream.asx?email=$USER&pass=$PASS&chan=$REPLY&speed=$SPEED"
fi
exit
__________________
Doc, 68W3P, AAS, NREMT-P
Far From Perfect
Mobile Version (Under Dev, Please Comment)
Nokia n810 Diablo
(After many years of Palm and Windows PDAs)
"So Shut Up, Live, Travel, Adventure, Bless, And Don't Be Sorry." - Jack Kerouac

Last edited by combatdoc; 2008-07-07 at 04:00.
 

The Following 3 Users Say Thank You to combatdoc For This Useful Post: