Well, for listening to streams, I currently use mplayer as that was already installed, it works well but the volume seems to be way too low, even when I set mplayer to 100% by repeatedly mashing the asterix (*) key..
I plan on writing a Perl script to automate this, just a simple while-loop that'll call mplayer, then if mplayer dies, bring down ppp0, wait 5 seconds, bring it back up again, wait another 5 seconds and then relaunch mplayer.
As for the tracking, I've installed bluez-utils and wrote a perl script that does the following;
1. Open the GPS device using the rfcomm util
2. Open the serial device step 1 creates; /dev/rfcomm0
3. While-loop through the data, whenever it receives a $GPRMC line, store this in a variable
4. As part of the above while-loop there is a check on the last time it submitted the content to an external API via a HTTP GET / POST request, it will do it once every 5 seconds (configurable).
To do this I've had to apt-get update the system, and then install the following CPAN modules;
* Device::SerialPort
* HTTP::Request
It's still a work-in-progress, it works fine but the coordinates appear offset slightly, I think it may be due to me just shifting the decimal place on the DDMM.MMMM request, maybe I need to use another formula.. heh
I'll post up all my work once I'm satisfied it's bug-free
Ps. Installing CPAN modules with Perl is a complete nightmare, you have to create at least a 128MB Swap File and it's PAINFULLY slow, it took 45 minutes to install HTTP::Request, I think I'll release a gzipped tarball of my filesystem once it's done.