I guess I should've specified that I'm trying to implement this as a cgi script. I've used programs that are designed like the Winamp::Control program, and if Winamp crashes you just out of luck. The idea is to implement this as a cgi script and use system to launch winamp if needed.
Alas, it appears I may have to resort to this if I don't want to learn c right now. Maybe I'll try to figure out how to modify Winamp::Control to use a CGI interface instead of the httpQ plugin.
So, my original question still stands. | [reply] |
It sounds like I have just the code you're looking for. Unfortunately it's: (a) Not finished and (b) Stored on my laptop meaning it'll take me a little while to find it.
It uses Win32::API to send calls directly to the Winamp window. It only works with Winamp 2. I'll post it here once I get my laptop out and remember where I've stored it.
--
Grant me the wisdom to shut my mouth when I don't know what I'm talking about.
| [reply] |
Hey that would be great. It just so happens I'm using Winamp 2. I appreciate any help I can get on this, even if the script isn't finished.
| [reply] |
Well, I finally managed to dig up the code but it turns out I was stuck at the same place you were. It doesn't add files but it does just about everything else. I can still post it if you'd like to take a look.
--
Grant me the wisdom to shut my mouth when I don't know what I'm talking about.
| [reply] |