Active Topics

 



Notices


Reply
Thread Tools
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#1
http://soma.fm is a good recommendation for those of you in Last.fm sorrow.

A question, though. Going to one of its channels e.g. http://somafm.com/play/lush opens the Media Player and starts streaming automatically. However, I can't get any metatag shown in the Fremantle media player I'm trying out. The result is:

205.188.214
(unknown artist) / (unknown song)

Before filing a bug I want to know whether the tag handling in the stream is correct and if there is any media player out there able to process it correctly. Any help trying out players with the very same URL posted above is appreciated. Thanks!
 

The Following 2 Users Say Thank You to qgil For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
Amarok 1.4.10 says "Artemis - Sync Or Swim (Breakshop Studios Mix) - Dj F :: http://205.188.214.184:8420" when adding that stream to my playlist.

Last edited by qwerty12; 2009-03-28 at 07:40.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#3
SomaFM is a must: they really help me to survive my xmas(es?) with the holyday channel xmax in frisco .
If anyone have any news about tags please keep posting here:
I was planing to write a python frontend just for somafm (and access to their history logs).
Don't forget to support them
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 
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:
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#5
Weird. Last week clicking the link would at least open the media player and stream. Now it only shows me the pls object in the browser. Did something change in soma.fm?
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#6
Originally Posted by qgil View Post
Before filing a bug I want to know whether the tag handling in the stream is correct and if there is any media player out there able to process it correctly. Any help trying out players with the very same URL posted above is appreciated.
Media Player on 5.2008.43-7 identifies the stream as, "Lush: Mostly female vocals with an electronic influence. [SomaFM]" It also displays the artist and track names as songs play. iTunes 8.1 on Mac OS does the same.
__________________
maemo.org profile
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#7
From here it works like it should both on the server side and the client sides I tested.

If you open http://somafm.com/play/lush with a desktop browser (Opera, Firefox) in GNOME it will tell you the default application to open the .pls file with. By default this is Totem. This application will then add both URLs (so #1 and #2) in the playlist. Rhythmbox, which you can also decide to use to listen to internet radio, has a seperate entry for the radio stations the user wants to listen to to which these URLs (again, both) are added and can be maintained. Allowing management and keeping them seperate is useful. Think of it: it is great to have your internet radio stations in your Media Player application on your mobile device. BTW, it'll play the http:// link fine including showing correct metadata artist and track.

Here on Diablo it works with Media Player (I never used this application before but it looks nice). However it doesn't show the metadata in the title bar above. It says 'Now playing'. Above the 2 playlists it says either: 'Playing: Lush: Mostly female vocals with an ele...' or it says: 'Playing: Carmen Rizzo - Easy Way Out (Featuri...'. It says either 1 of these 2, and switches every once in a while between these 2. Ofcourse when a new track is played it will show that track. Right now it has become 'Playing: Afterlife - Falling' which fits. You will notice what did not fit. From what I see here, with this version, metadata (internet radio station name, artist name, track name) is correct. I do get disconnected sometimes, but maybe that is my internet connectivity.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 

The Following User Says Thank You to allnameswereout For This Useful Post:
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#8
uhm, this thread begin to became like a list of which player on the tablet can manage the mp3 tags: could be usefull for a more general approach (ID3v1, ID3v2, APEv2 etc. etc) but still if it just can figure out how manage the somafm streams is already a success .

<random rant>
Lets 'link' a player to send the current tags to the ovi accounts and we can have a tablet user musical social network (connected with the nokia music store?). Being evil like apple: let buy the song directly from the player (1 tap) and give part of the money to somafm (that would work better on cellphones using the contract or the prepaied credit money).
</random rant>
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#9
Thats the thing. Nobody was talking about ID3! The internet radio DJ software (the DSP of SHOUTcast, IceCast, etc) reads the metadata (ID3v1, ID3v2, or some other format) and tells this to the internet radio server software (SHOUTcast, IceCast, etc itself) which then uses ICY-META to let the media players know this information. The media player doesn't get the MP3 and read the ID3 metadata for there is no ID3 metadata. All the media player has to do is heads up when it receives a ICY-META from the internet radio server software. Normally, media player receives this right after first connect, and when DSP announces it succesfully to server.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#10
Originally Posted by qgil View Post
...in the Fremantle media player I'm trying out..
Thank you for being so evil. Anything else you want to wave in our faces?

How about, "While I was watching a 720p video on the RX-51 device I'm trying out, I found that the HDMI out wasn't working entirely correctly..."

Originally Posted by sjgadsby View Post
Media Player on 5.2008.43-7 identifies the stream as, "Lush: Mostly female vocals with an electronic influence. [SomaFM]" It also displays the artist and track names as songs play.
Originally Posted by qgil View Post
Weird. Last week clicking the link would at least open the media player and stream. Now it only shows me the pls object in the browser.
And there are your Karmic rewards for your evil deeds.

__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2009-04-01 at 22:00.
 

The Following User Says Thank You to qole For This Useful Post:
Reply

Tags
media player, streaming, testing


 
Forum Jump


All times are GMT. The time now is 20:13.