Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 3rd June 2006, 17:25   #1
pstone
Junior Member
 
Join Date: May 2006
Posts: 1
Easiest way to open and play a playlist

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
pstone is offline   Reply With Quote
Old 4th June 2006, 07:54   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,489
call IPC_DELETE, then IPC_ENQUEUEFILE and then SendMessage(hwnd_winamp,WM_COMMAND,MAKEWPARAM(WINAMP_BUTTON2,0),0) (that will start playback).

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump