View Single Post
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#4
I get a .pls when I visit your link.

[playlist]
numberofentries=2
File1=http://205.188.214.184:8420
Title1=(#1) SomaFM: Lush (128k mp3): Sensuous and mellow vocals, mostly female, with an electronic influence.
Length1=-1
File2=http://voxsc1.somafm.com:8800
Title2=(#2) SomaFM: Lush (128k mp3): Sensuous and mellow vocals, mostly female, with an electronic influence.
Length2=-1
Version=2


So I fired up mpg123:

$ mpg123 --verbose http://205.188.214.184:8420
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.4.3; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
Decoder: generic

Directory: http://
Playing MPEG stream 1 of 1: 205.188.214.184:8420 ...
ICY-NAME: Lush: Mostly female vocals with an electronic influence. [SomaFM]
ICY-URL: http://somafm.com
MPEG 1.0, Layer: III, Freq: 44100, mode: Stereo, modext: 0, BPF : 418
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0.
Bitrate: 128 kbit/s Extension value: 0
Frame# 72 [ 0], Time: 00:01.88 [00:00.00], RVA: off, Vol: 100(100)
ICY-META: StreamTitle='Drop The Fear - Goodbye';StreamUrl='';
Frame# 1617 [ 0], Time: 00:42.24 [00:00.00], RVA: off, Vol: 100(100)^C
[0:42] Decoding of 205.188.214.184:8420 finished.
I did this a few times. You don't get the ICY-META right away. It takes a few seconds.

Then I went to http://205.188.214.184:8420/admin because I thought that was how to get the admin interface (which contains a lot of useful information about the server). What I got was at least the version:

ICY 404 Resource Not Found icy-notice1:
SHOUTcast Distributed Network Audio Server/Linux v1.9.8
icy-notice2:The resource requested was not found
I used libmpg123 because I remember this worked with MP3 radio (Shoutcast) for ages. It uses its own library.

$ ldd /usr/bin/mpg123
linux-vdso.so.1 => (0x00007fffb83fe000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007ff3afe1e000)
libdl.so.2 => /lib/libdl.so.2 (0x00007ff3afc1a000)
libmpg123.so.0 => /usr/lib/libmpg123.so.0 (0x00007ff3af9db000)
libm.so.6 => /lib/libm.so.6 (0x00007ff3af756000)
libc.so.6 => /lib/libc.so.6 (0x00007ff3af3e4000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff3b0027000)
I could not get mpg321 to work. I wanted to use a lightweight client because its easier to locate the problem (if exists) then. If you look up, you'd see what the web server streams as meta data and how this should be used in a music player.

(Personally, I don't listen to music stations a lot but I recognize the impact of such. SomaFM is nice, with a wide variety for electronic music lovers! However, LastFM (while I did not use this actively either) was something different. It was a platform for networking, for stumbling upon, with social networking capabilities. I collect certain electronic music, and LastFM has found me people who are also in that genre/style, while just using Google no less! So in many regards SomaFM or online radio is not really a replacement. There are other projects which fill/compete LastFM role (lets use them instead?), but they'd also cost the managers who run the platform money; it is difficult to run such for free, or only with ads.)
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!

Last edited by allnameswereout; 2009-03-31 at 15:58.
 

The Following 2 Users Say Thank You to allnameswereout For This Useful Post: