How to retrieve song info periodically
I need to create a plug-in that can retrieve basic song info such as artist, title, album, etc. I've searched these forums and attempted to look and work with the empty templates given here but there seems to be a complete lack of actual tutorials on how to work with Winamp plug-ins.
Basically all I need to do is somehow retrieve the amount of time a certain song is played. Either I can poll Winamp every few seconds using messages or can somehow detect when a user plays or changes songs, but I really have no idea how to get started doing this.
It seems like a simple enough thing to do, if anyone could give some concrete examples or sample code instead of just a barebones plug-in template that doesn't actually do anything I would be greatly appreciative.
Thanks in advance for any help!