Old 16th December 2004, 16:10   #1
Farmi
Junior Member
 
Join Date: Dec 2004
Location: Germany
Posts: 3
Send a message via ICQ to Farmi
playlist limiting plugin

Hi,

i'm working on a small plugin which should limit the playlist to a specified maximum number of songs

perhaps someone of you guys can help me with tracking commands like add-files to playlist etc. so that when the maximum songlimit is reached that dialog is blocked..

i tried stuff but the only thing which works is the block of the standard open file(s) dialog but that even doesn't enqueue files you select

i hope someone got the idea of that plugin and can help me. thanks.
Farmi is offline   Reply With Quote
Old 22nd December 2004, 12:00   #2
Farmi
Junior Member
 
Join Date: Dec 2004
Location: Germany
Posts: 3
Send a message via ICQ to Farmi
does someone know which command to use to add files to the playlist or to open the add file(s) dialog? i think that is the only thing i still need...
Farmi is offline   Reply With Quote
Old 22nd December 2004, 15:38   #3
eleet-2k2
Forum King
 
eleet-2k2's Avatar
 
Join Date: Aug 2001
Location: Mobil Ave.
Posts: 5,381
Look for IPC_PLAYFILE in winamp\wa_ipc.h to find the code to enqueue a file to the playlist.

The open file dialog is WINAMP_BUTTON2_SHIFT. I dont remember the open file dialog, but you'll find it in the same file.

"Welcome to the Island of people who know too much."..."Did you really think balloons would stop him?!"
See what I'm listening too.
eleet-2k2 is offline   Reply With Quote
Old 23rd December 2004, 18:22   #4
Farmi
Junior Member
 
Join Date: Dec 2004
Location: Germany
Posts: 3
Send a message via ICQ to Farmi
yeah i found that stuff, but the "enqueue file" only seems to work when i directly click on a file without an "open file(s)" or "add file(s)" dialog...the other things kill the present songs in the playlist and put the new ones in...

so no one knows how i can directly get the control of the playlist "add" controls? mh...ok i'll try some other stuff, and it could have been sooo easy ...
Farmi is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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