I am trying to get python to enqueue music files into Winamp. I have tried the following:
some functions work, but add to playlist doesn't
Again some command line switches work, but load file doesn't
Does anyone know some way to get this done? I am not looking for a complete controller for winamp, just a way to push files into the playlist in an already running instance.
I am using winamp 5.63 and windows 7 x64 and python 2.7
Not too sure if this is what you are looking for but I hope it may help...
I found a rough way to do it and that is:
Go to into Winamp, go to options->preferences->file types then check the box that says "Enqueue files on double click" then accept the preferences.
Once that is done the following Python code will put 20 (or how ever many you set the while loop to) songs into the playlist from the given directory.
Also if you didn't want the songs to be random you could assign the path variable to be the file path of whatever file you select