Album List for Winamp

Developers

Note: The material in these files is released under the GNU General Public License. Please read it before redistributing or mirroring. If you would like to mirror Album List, be aware that it is not legal under the GPL to mirror the binary alone, and please email me with your intention to mirror so we can make sure mirrors are consistent and updated. Please link to this page, and not the files directly, as direct linking is a bandwidth and administrative hassle, and linking here ensures that your link remains valid even if the download sites are changed. Thank you.

Here you will find the SDK and source code for Album List. If you require other functions for your plugin/application, feel free to email me or fill out the form on the contact page.

Get the API header here

Album List SDK (2kb) - last updated October 30, 2005.

Finding the Album List window

HWND hwnd = FindWindow("Winamp AL",NULL);

Calling Album List functions

int r = SendMessage(hwnd,WM_AL_IPC,command,command_data);

Currently supported functions

Function (requires AL 1.35)

Description

IPC_PLAYALBUM

Plays a particular album in the list

 

Function (requires AL 1.36)

Description

IPC_GETVERSION

Gets the version number of Album List

IPC_GETALBUMSIZE

Gets the number of albums in the list

IPC_PLAYRANDOMALBUM

Plays a random album in the list

IPC_GETALBUMINDEX

Gets the current album index

IPC_GETALBUMNAME

Gets a particular album's name

IPC_GETALBUMYEAR

Gets a particular album's year

IPC_GETALBUMTITLE

Gets a particular album's title

IPC_GETALBUMARTIST

Gets a particular album's artist name

 

Function (requires AL 1.37)

Description

IPC_PLAYALBUM1

Plays a particular album in the list (1-based index)

IPC_GETALBUMNAME1

Gets a particular album's name (1-based index)

IPC_GETALBUMINDEX1

Gets the current album index (1-based index)

IPC_GETALBUMYEAR1

Gets a particular album's year (1-based index)

IPC_GETALBUMTITLE1

Gets a particular album's title (1-based index)

IPC_GETALBUMARTIST1

Gets a particular album's artist name (1-based index)

 

Function (requires AL 1.41)

Description

IPC_PLAYPREVALBUM

Plays the previous album

IPC_PLAYNEXTALBUM

Plays the next album

IPC_PLAYALLALBUMS

Plays all albums in the list

 

Function (requires AL 1.43)

Description

IPC_ENQUEUEALBUM

Enqueues a particular album in the list

IPC_ENQUEUEALBUM1

Enqueues a particular album in the list (1-based index)

 

Function (requires AL 2.0)

Description

IPC_SHOWHIDE

Toggles Album List

IPC_PLAYPREVALBUMARTIST

Plays the previous album (same artist) in the list.

IPC_PLAYNEXTALBUMARTIST

Plays the next album (same artist) in the list.

IPC_JUMPTOALBUM

Brings up the 'Jump to Album' dialog.

IPC_COVER_VIEW

Switches to cover view

IPC_LIST_VIEW

Switches to details view

 

Function (requires AL 2.01)

Description

IPC_SHOWPREFERENCE

Shows the preference page

Export to HTML template variables (export.htt)

Variable (requires AL 1.43)

Description

<%outfilename%>

Output file name (good for "save as")

<%charset%>

Character set (as set by encoding)

<%totalalbums%>

Total number of albums

<%averagelength%>

Average length of an album (hh:mm:ss)

<%totallengthhrs%>

Total length of all albums (hours)

<%totallengthmin%>

Total length of all albums (minutes)

<%totallengthsec%>

Total length of all albums (seconds)

<%albumcover%>

Path to album cover (requires v2.02)

The following works inside the <%liststart%> and <%listend%> tags:

<%albumindex%>

Album index

<%albumname%>

Album's name

<%albumcount%>

Number of songs in the album

<%displayname%>

Album's display name

<%albumartist%>

Album's artist

<%albumyear%>

Album's year

<%albumlength%>

Album's length (hh:mm:ss)

<%albumlengthhrs%>

Album's length (hours)

<%albumlengthmin%>

Album's length (minutes)

<%albumlengthsec%>

Album's length (seconds)

<%songcounter%>

Song counter

Show Album Cover template variables (cover.htt)

Variable (requires AL 1.43)

Description

<%backgroundcolor%>

Background color of the current skin

<%albumindex%>

Album index

<%albumname%>

Album's name

<%albumcount%>

Number of songs in the album

<%displayname%>

Album's display name

<%albumartist%>

Album's artist

<%albumyear%>

Album's year

<%albumlength%>

Album's length (hh:mm:ss)

<%albumlengthhrs%>

Album's length (hours)

<%albumlengthmin%>

Album's length (minutes)

<%albumlengthsec%>

Album's length (seconds)

The following works inside the <%liststart%> and <%listend%> tags:

<%slidepic%>

Filename of album covers

Album List Source Code

Album List v2.04 Source (737kb) - last updated October 30, 2005.
Album List v2.03 Source (729kb) - last updated October 30, 2005.
Album List v2.02 Source (727kb) - last updated October 30, 2005.
Album List v2.01 Source (708kb) - last updated September 22, 2005.
Album List v2.0 Source (666kb) - last updated November 30, 2004.
Album List v1.43 Source (298kb) - last updated December 2, 2003.
Album List v1.42 Source (292kb) - last updated April 4, 2003.
Album List v1.41 Source (206kb) - last updated July 14, 2002.
Album List v1.40 Source (181kb) - last updated May 20, 2002.
Album List v1.37 Source (149kb) - last updated February 8, 2002.