Hi,
I recommend to use mplayer to listen stream media, if you have mplayer running on your Z, you can play shoutcast streams.
Actually I'm planning to write some scripts when I got time to get the pls links from shoutcast site to search, list & play them.
To give some quick&dirty hints, one can obtain the playlist urls on the frontapage of
www.shoutcast.com with:
links -source www.shoutcast.com|grep shoutcast-playlist.pls|awk -F\" '{print "http://www.shoutcast.com"$6}'it produces something like that:
http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=3281&file=filename.pls
http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=2297&file=filename.pls
http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=1346&file=filename.pls
http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=928&file=filename.plsand this output could be used with mplayer (notice the double quotes)
mplayer -playlist "http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=8010&file=filename.pls"the output from the command:
# mplayer -playlist "http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=8010&file=filename.pls"
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
for Zaurus 1.1.5 (C) 2004-2005 AGAWA Koji (atty)
CPU: ARM
CPUflags: iWMMXt
Resolving www.shoutcast.com for AF_INET...
Connecting to server www.shoutcast.com[207.200.98.25]:80 ...
Cache size set to 320 KBytes
Connected to server: www.shoutcast.com
Unknown entry type Version=2
85 audio & 196 video codecs
CommandLine: '-playlist' 'http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=8010&file=filename.pls'
Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.)
Playing http://194.158.114.66:8000.
Connecting to server 194.158.114.66[194.158.114.66]:8000 ...
Name : FREQUENCE3 - www.frequence3.fr - No ads ! It's only HITS live from Paris France ! - French Webradio
Genre : Top 40 Dance Pop Rock
Website: http://www.frequence3.fr
Public : yes
Bitrate: 192kbit/s
Cache size set to 320 KBytes
Connected to server: 194.158.114.66
Cache fill: 17.50% (57344 bytes) Audio file detected.
==========================================================================
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
# mplayer -playlist "http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=3281&file=filename.pls"
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
for Zaurus 1.1.5 (C) 2004-2005 AGAWA Koji (atty)
CPU: ARM
CPUflags: iWMMXt
Resolving www.shoutcast.com for AF_INET...
Connecting to server www.shoutcast.com[207.200.98.25]:80 ...
Cache size set to 320 KBytes
Connected to server: www.shoutcast.com
Unknown entry type Version=2
85 audio & 196 video codecs
CommandLine: '-playlist' 'http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=3281&file=filename.pls'
Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.)
Playing http://64.236.34.196:80/stream/1074.
Connecting to server 64.236.34.196[64.236.34.196]:80 ...
Name : CLUB 977 The Hitz Channel (HIGH BANDWIDTH)
Genre : Pop Rock Top 40
Website: http://www.hitsradio.com
Public : yes
Bitrate: 128kbit/s
Cache size set to 320 KBytes
Connected to server: 64.236.34.196
Cache fill: 17.50% (57344 bytes) Audio file detected.
==========================================================================
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Video: no video
Starting playback...
A: 3.0 (03.0) 9.2% 16% p.s: I tested this on my sl-C3000 but i think once you install the mplayer it runs on any Z.