Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Winamp Development (http://forums.winamp.com/forumdisplay.php?f=14)
-   -   playlist limiting plugin (http://forums.winamp.com/showthread.php?t=202246)

Farmi 16th December 2004 16:10

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 22nd December 2004 12:00

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...

eleet-2k2 22nd December 2004 15:38

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.

Farmi 23rd December 2004 18:22

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.