PDA

View Full Version : Easiest way to open and play a playlist


pstone
3rd June 2006, 17:25
I am looking for the easiest way for an external program to open and play a new playlist (not queing but open and play). I guess there is a difference whether the playlist is a ML playlist or filebased but that doesn't matter for me, I can choose whatever is most suitable.

I have searched the forums and tried to find answers from the SDK and I have found so far that sending windows messages in some way should do it.

Thanks in advance

DrO
4th June 2006, 07:54
call IPC_DELETE, then IPC_ENQUEUEFILE and then SendMessage(hwnd_winamp,WM_COMMAND,MAKEWPARAM(WINAMP_BUTTON2,0),0) (that will start playback).

-daz