PDA

View Full Version : Load file or playlist with API


rlevis
21st March 2002, 23:08
I'm the author of an external program which I want to control Winamp with.

I would like to use the API to load a file or playlist but I can't see any specific WM_USER message to do it. I see "129 Adds the specified file to the Winamp bookmark list" but I presume a bookmark is not a playlist.

Thanks,
Ross Levis
Station************* (http://www.Station*************)

Gourou
22nd March 2002, 20:37
C:\program files\winamp\winamp.exe C:\music\playlist.pls

or something like that, no api required :)

rlevis
22nd March 2002, 23:29
I'm currently using the /ADD enqueue command but it's much slower than using the API so I thought I would ask.

Ross.

Gourou
23rd March 2002, 13:20
I know, but I think the slowness comes from winamp, an api would probably be just as slow, but I dont know that for a fact

b_baggins
27th March 2002, 02:19
HI,

I just did this too, and i just add one song to winamp at a time and keep the play list in my app, not winamp. When it stops playing, it grabs the next song from the list and gives it to winamp. I jsut posted the source if you want to look at it. Post is title ' i wrote a winamp front end with cd covers'

CHeers,
BB