Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 26th February 2012, 07:55   #1
Zahl
Junior Member
 
Join Date: Apr 2008
Posts: 9
How to get current artist and title of playing stream

So I have a plugin up and running that gets the artist and title of currently playing local files, but I just can't figure out how to do that for steaming music aka. web radio. Any hints?
All I got so far is getting the name of the playlist entry, but there it's just one string I'd need to parse, and if the user changes the playlist format I'd be out of luck.
Zahl is offline   Reply With Quote
Old 26th February 2012, 21:33   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,489
generally the title of the playlist entry is all that is available since most streaming won't provide that actual tag information. if it is available then it would be returned via the normal lookup, otherwise there is no specific format (though "artist - title" is common but never guaranteed) for stream titles since it otherwise makes stream-ripping simpler and stations don't like that.

-daz
DrO is offline   Reply With Quote
Old 29th February 2012, 23:44   #3
Zahl
Junior Member
 
Join Date: Apr 2008
Posts: 9
Hm, so I assume Winamp does the same internally?
At least when using the Bento skin, I see Artist and Title displayed separately in the GUI for most streams.
Zahl is offline   Reply With Quote
Old 1st March 2012, 09:11   #4
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,489
bento attempts to guess what it would be against common title patterns from what i remember.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump