Author |
Topic  |
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 25 October 2002 : 02:14:18
|
I thought I came across a feature that allowed one to create a web page that displayed the current track being played in ones winamp player. Did I dream this or does someone know if there is a way to do it? For example, I want to display something like:
Dayve is currently listening to: Nine Inch Nails - La Mer
the red section being read from the winamp window which is retrieved from the ID2/ID3 tag.
|
|
|
dayve
Forum Moderator
    
USA
5820 Posts |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 25 October 2002 : 02:23:49
|
I have seen people on other forums that have their currently playing song in their signature, so I'm pretty sure it's possible. |
 |
|
Azaniah
Senior Member
   
United Kingdom
1004 Posts |
Posted - 25 October 2002 : 12:32:25
|
Hmm
I have this for winamp 3 - not sure how helpful it will be...
int YourClass::corecb_onTitleChange
{
char Title[100];
CoreHandle core;
playstring = core.getCurrent();
api->metadb_getMetaData(playstring, MT_TITLE, Title, sizeof(cursong.Title), MDT_STRINGZ);
/* OR
api->metadb_getMetaData(playstring, MT_NAME, Title, sizeof(cursong.Title), MDT_STRINGZ);
*/
}
|
Eagles fly!, but weasels don't get sucked into jet engines. |
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 25 October 2002 : 22:09:50
|
I don't follow at all... are you using some kind of component with this? |
|
 |
|
work mule
Senior Member
   
USA
1358 Posts |
|
dayve
Forum Moderator
    
USA
5820 Posts |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 26 October 2002 : 00:26:00
|
I think I'll be using this:
http://www.deskmod.com/?state=view&skin_id=14591
it allows you to create a text file with the track info which I will read with an XML parser or FSO object and then display graphically using VB.NET like we did with the Project Dolphin scripts. |
|
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 26 October 2002 : 01:04:08
|
I got something working with this .... watch for new signature coming soon. |
|
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 26 October 2002 : 01:30:43
|
testing (if it says NOTHING then winamp is not playing)....
 |
|
Edited by - dayve on 26 October 2002 01:31:03 |
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 26 October 2002 : 01:52:33
|
the file layout for this component looks like this:
<Winamp version> <Artist> <Album> <Title> <Genre> <Year> <Comment> <Track Number> <Length of track (seconds)> <Position of file in playlist> <Number of files in playlist> <playstring (path to file)> <UNIX timestamp of playing start> <Component Version String>
problem being that not all mp3's have their ID2/ID3 tags set, so I opted to use the path... for now that is. |
|
Edited by - dayve on 26 October 2002 01:53:13 |
 |
|
Azaniah
Senior Member
   
United Kingdom
1004 Posts |
Posted - 26 October 2002 : 08:17:57
|
Now thats cool 
If you get it working be sure to share it - I rumaged with some code, but like you say they all need componenets .. which isn't great as you know..
Groovey.. |
Eagles fly!, but weasels don't get sucked into jet engines. |
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 26 October 2002 : 12:07:14
|
yeah, no problem, no real magic, just reading a text file. you'll need to be running your own web server with the .net framework installed for this one because the file is written to YOUR computer. |
|
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 26 October 2002 : 14:56:08
|
this one should accomodate for mp3's with no ID2/ID3 tags. by default it will show artist, album, track name. if that does not exist it will show the location of the file with file name
 |
|
 |
|
ROB
Junior Member
 
USA
347 Posts |
Posted - 26 October 2002 : 18:18:03
|
Just for reference, I use www.audio-tracker.com , which does the same thing, but they serve the images. It's all free, so far, and there are plug-ins for both Winamp 2 and 3.
Looks like this: www.audio-tracker.com/song.php/BigBlue" border="0"> |
Jeff (ROB) Hester BigBlueNetwork | BigBlueBall | Christian Church Today |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 26 October 2002 : 18:20:25
|
quote: Originally posted by ROB
Just for reference, I use www.audio-tracker.com , which does the same thing, but they serve the images. It's all free, so far, and there are plug-ins for both Winamp 2 and 3.
Looks like this: www.audio-tracker.com/song.php/BigBlue" border="0">
I knew someone showed that in the past but I couldn't remember who. Now I'm too late to say that it was you  |
 |
|
Topic  |
|