![]() |
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. |
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...
|
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. |
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 ;) ... |
| All times are GMT. The time now is 20:58. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.