Old 14th June 2007, 00:46   #1
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Clean unexisting files in the playlist

What message do I send to the playlist to clean-up entries that its filenames doesn't exists?


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 14th June 2007, 11:23   #2
Joonas
Forum King
 
Join Date: Mar 2004
Location: Sweden
Posts: 2,263
There's no message for that. You have to step through the playlist and check which files exists and remove them by yourself.
Joonas is offline   Reply With Quote
Old 14th June 2007, 12:06   #3
DrO
 
Join Date: Sep 2003
Posts: 27,873
i'm guessing joel is refering to something like the 'Remove missing files from playlist (Alt+Delete)' option. the menu id is 40222 for that

-daz
DrO is offline   Reply With Quote
Old 14th June 2007, 13:53   #4
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Quote:
Originally posted by DrO
i'm guessing joel is refering to something like the 'Remove missing files from playlist (Alt+Delete)' option. the menu id is 40222 for that

-daz
Yeah... working now


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 28th June 2007, 09:53   #5
Moonlite
Junior Member
 
Join Date: Jun 2007
Posts: 4
is my way correct?

i use it this way:
PHP Code:
SendMessage(plugin.hwndParentWM_COMMAND402220); 
but doesn't work. am i missing something?
just to test, i try
PHP Code:
SendMessage(plugin.hwndParentWM_COMMAND400470); 
to stop winamp from playing and it works.
Moonlite is offline   Reply With Quote
Old 28th June 2007, 11:33   #6
DrO
 
Join Date: Sep 2003
Posts: 27,873
it needs to go to the playlist window and not the main winamp window

-daz
DrO is offline   Reply With Quote
Old 29th June 2007, 10:25   #7
Moonlite
Junior Member
 
Join Date: Jun 2007
Posts: 4
oh my
thanks!
Moonlite 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