Description:
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
Version: 1.5
Requirements: AutoIt 3.2.10.0 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 v3.3.0.0+.
=====================================================
Change Log:
v1.5 [16.12.2010]
* _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):
_Winamp_GetPan
_Winamp_SetPan
_Winamp_GetEq
_Winamp_SetEq
v1.4 [22.May.2009]
* The library now compatible with AutoIt v3.3.0.0.
* 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).
v1.3 [19.May.2008]
The library now compatible with AutoIt v3.2.12.0.
Added UDF: _Winamp_ClearPlayList()
Added UDF: _Winamp_GetCurrentTrackFilePath()
Changed _Winamp_GetPlayListToArray() function.
Now it return a 2 dimensional array, where [0][0] is the element of current track, [n][0] is the track title, and [n][1] is the track file path.
* Fixed UDF _Winamp_GetCurrentTrackTitle(), with $iMode <> -1 it was not returning correct track position.
v1.2 [15.May.2008]
_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
P.S
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.







