How do you programatically change the playing song in Winamp?
I don't even know if it's possible, but I guess it is... If you have any idea how to do this or even point me to the right direction, I would really appreciate this. Thank you.
Re: How do you programatically change the playing song in Winamp?
Re: How do you programatically change the playing song in Winamp?
It is possible, but from Java, it is extremely tricky, and probably impossible without a JNI extension.
Re: How do you programatically change the playing song in Winamp?
Quote:
Originally Posted by CornedBee
It is possible, but from Java, it is extremely tricky, and probably impossible without a JNI extension.
Umm... oka... I like Java for many reasons and I need this to be done in Java, but would it have been easier if I would have been using another programming language? I'm just curious... I think I will use another solution if you say it's that complicated. Thank you.
Re: How do you programatically change the playing song in Winamp?
Yes, it would actually be a lot easier in C or C++ or C#.
You see, Winamp is controlled by Windows messages. (At least, Winamp2. I actually have no idea about later versions.) Java, with its platform-independence, does not have access to something as low-level as messages.
Re: How do you programatically change the playing song in Winamp?
Quote:
Originally Posted by CornedBee
Java, with its platform-independence, does not have access to something as low-level as messages.
This is one of the reasons I love Java... And now it's the first time when the platform-independence has a disadvantage :)