Old 11th May 2003, 14:59   #1
Antithesis
Junior Member
 
Join Date: May 2003
Location: Livin' in a van down by the river
Posts: 3
Automatic detection of song...

(Sorry about the poor grammar... I woke up a few mins ago so yeah...)

I'm currently making an add-on for Patchou's Messenger Plus! 2 extension in Visual Basic 6. It detects the current song playing and posts it into the active MSN conversation. So far my progress has been pretty good. It would be ready for beta testers IF only I could figure out how to make it detect the playing song automatically. I noticed Winamp's status changes to stopped when it switches songs. I've been using that to automatically change the song but I realized some users like to leave Winamp in the system tray in stop mode, and in return, the program becomes a flooder. Anyone know the API to detect if the current song was changed (by the user or automatically), or is this not possible? I checked the NSDN page, but it doesn't help me any. Can anyone post example code, hints, places where I can get documentation or anything that can help me with this?
Thanks in advance
-Anti
Antithesis is offline   Reply With Quote
Old 11th May 2003, 16:06   #2
Boxie
Junior Member
 
Join Date: May 2003
Location: Perth, Western Australia
Posts: 1
why not just do something like this

-- begin psuedo code ---

If Winamp in stopped state,
  Get Winamp Song Name,
  if Song name/number is _NOT_ the same,
    Post it to active MSN Window.

-- End Pseudo Code ---

would that be acceptable??

Last edited by Boxie; 11th May 2003 at 16:41.
Boxie is offline   Reply With Quote
Old 11th May 2003, 19:50   #3
Antithesis
Junior Member
 
Join Date: May 2003
Location: Livin' in a van down by the river
Posts: 3
That might work... I'll try it in a few mins. Still trying to wake up
Antithesis is offline   Reply With Quote
Old 11th May 2003, 22:32   #4
Antithesis
Junior Member
 
Join Date: May 2003
Location: Livin' in a van down by the river
Posts: 3
Didn't work... I also tried to make it so if the track's max length in seconds was attained, it would automatically display, but that didn't work either... Any other ideas?
Antithesis is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Discussion

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