38 Functions to handle Winamp Media Player (http://winamp.com).
This library written base on the SDK that provided at Wanamp's home page: http://www.winamp.com/development/sdk
Requirements: AutoIt 184.108.40.206 or higher, Winamp 2.x or higher.
Note: This UDF Library tested on Winamp v5.x.
There is video available that shows how i started this UDF, the basic functions creation process
Watch the video and download the library here
New! Now compatible with AutoIt v220.127.116.11+.
* _Winamp_GetCurrentTrackInfo now returns an array as it should have:
0: Sample Rate in khz, 1: Bitrate, 2: Number of Channels, 3: Video LOWORD=w HIWORD=h, 4: Video Description, 5: Sample rate in hz
+ Added 4 new UDFs (thanks to Erion):
* The library now compatible with AutoIt v18.104.22.168.
* Added optional $h_Winamp_Wnd parameter to all functions that sends message to winamp's window - It should allow to manage multiple winamp instances.
(by default the handle is taken from $sWINAMP_CLASS).
The library now compatible with AutoIt v22.214.171.124.
Added UDF: _Winamp_ClearPlayList()
Added UDF: _Winamp_GetCurrentTrackFilePath()
Changed _Winamp_GetPlayListToArray() function.
Now it return a 2 dimensional array, where  is the element of current track, [n] is the track title, and [n] is the track file path.
* Fixed UDF _Winamp_GetCurrentTrackTitle(), with $iMode <> -1 it was not returning correct track position.
_Winamp_GetCurrentTrackOutputTime() function now always will return output time in milliseconds.
Now if $iMode = -1 (default) function return current position, if <> -1 it return song lenght.
Added UDF: _Winamp_GetVolume()
I know that lot of functions needs to be added, so please let me know what is missing, and i will try to add them .
There is already available Winamp Automation Library by big_daddy, very good library, but that library required ActiveWinamp installation.
Edited by MrCreatoR, 06 March 2011 - 11:10 AM.