Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 20th April 2006, 18:40   #1
jrweikle
Junior Member
 
Join Date: Apr 2006
Location: us
Posts: 4
playing selected song

I have set up a front end program for winamp
I can select a song in the playlist but can not make
that song play which command am i missing here
i can do it if i remove all song in a playlist and only put the song i want there but thats not what i want to do
jrweikle is offline   Reply With Quote
Old 20th April 2006, 18:48   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,272
SendMessage(hwnd_winamp,WM_WA_IPC,0,IPC_STARTPLAY) or SendMessage(hwnd_winamp,WM_COMMAND,MAKEWPARAM(WINAMP_BUTTON2,0),0). using IPC_SETPLAYLISTPOS allows you to set which file will be played when using either of the above methods (personally i use the wm_command option but it's your choice)

-daz
DrO is offline   Reply With Quote
Old 20th April 2006, 19:10   #3
jrweikle
Junior Member
 
Join Date: Apr 2006
Location: us
Posts: 4
I've tried that and for some reason it will replay the current song not the one i have selected
jrweikle is offline   Reply With Quote
Old 20th April 2006, 21:06   #4
jrweikle
Junior Member
 
Join Date: Apr 2006
Location: us
Posts: 4
ah gotta put a slight delay between selecting the file and hitting the play key
thanks for the help
jrweikle 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