Help - Search - Members - Calendar
Full Version: foo_massdelete
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2
Wizard
Massdelete recycles/deletes multiple files.

Options:
- Display delete confirmation dialog box.
- Display full file path in delete confirmation dialog (single file deletion only)
- Stop and restart playback if necessary (single file deletion only).
- Remove directories if empty.

Current version: 1.7.1 (20 Mar 2005)

You can get it here: http://pelit.koillismaa.fi/plugins/general.php#81
Lyx
thank you.

- Lyx
jkwarras
Thanks smile.gif
Gnerma
QUOTE(Wizard @ Aug 14 2004, 02:13 PM)
I forgot to mention that deleted files do NOT go in the recycle bin!
*

Would it be possible to make this an option as you've made the confirm dialog? I know some don't like the recycle bin but others (like me) think it serves a very useful purpose.

Thanks for the nice plugin smile.gif
damaki
That's a cool plugin. I'm damn lazy and I like things that allow me to do less wink.gif
Even emptying recycle bin is bothersome...
Wizard
QUOTE(Gnerma @ Aug 20 2004, 12:30 PM)
QUOTE(Wizard @ Aug 14 2004, 02:13 PM)
I forgot to mention that deleted files do NOT go in the recycle bin!
*

Would it be possible to make this an option as you've made the confirm dialog? I know some don't like the recycle bin but others (like me) think it serves a very useful purpose.

Thanks for the nice plugin smile.gif
*



I'll see what I can do wink.gif
Wizard
QUOTE(damaki @ Aug 20 2004, 05:47 PM)
That's a cool plugin. I'm damn lazy and I like things that allow me to do less wink.gif
Even emptying recycle bin is bothersome...
*



I'm lazy too laugh.gif You have nothing to worry, if I succeed in sending files to the recycle bin instead of deleting them, I'll make that an option too! cool.gif
Squeller
Thanks, Wiz!
Wizard
v1.1 is available!

Changes:
-It can now use the Recycle Bin (default in Configuration page) smile.gif
-"Delete" in right-click is now renamed to "Massdelete", so as not to be any confusion with other similar plugins.
-One-time reminder at first use that the Recycle Bin must be enabled in Recycle Bin Properties to be used by this plugin (just in case...)

Todo:
-"Remove directories if empty" option?
-Make it faster(?) by deleting all selected files with a single command, instead of deleting them one-by-one?

Enjoy! smile.gif
bluenet
Suggest: When press Shift + Massdelete directly delete files form disk, if not than send to Recycle Bin. wink.gif
Wizard
v1.2 is available!

Changes:
-It can now remove directories if empty (not default in Configuration page) smile.gif
-Improvements in delete confirmation dialogs.

Enjoy! wink.gif

@bluenet: this would be ideal, but I don't know if it can be done with current functionality that foobar2000 provides (combination of right-click menu & key-press).
foosion
QUOTE(Wizard @ Aug 23 2004, 06:14 PM)
@bluenet: this would be ideal, but I don't know if it can be done with current functionality that foobar2000 provides (combination of right-click menu & key-press).
*

You could provide two different versions of the delete command: one that sends the deleted files to the recycle bin, and one that doesn't.
Wizard
QUOTE(foosion @ Aug 23 2004, 08:02 PM)
QUOTE(Wizard @ Aug 23 2004, 06:14 PM)
@bluenet: this would be ideal, but I don't know if it can be done with current functionality that foobar2000 provides (combination of right-click menu & key-press).
*

You could provide two different versions of the delete command: one that sends the deleted files to the recycle bin, and one that doesn't.
*



I suppose "Massdelete->Recycle" and "Massdelete->Delete" context menus are better interface-wise than the current option in the configuration page. I'll do that in the next few days, when I have some time.
Wizard
ok, here's v1.3!

Changes:
- "Massdelete" context menu now has 2 options: "Send to Recycle Bin" and "Delete". The Recycle Bin option in the configuration page is gone.
- Removed "Remove directories if empty" (for now) because it didn't remove directories which had other empty directories. I'll see what I can do about that.

I think that I'll rest for a while cool.gif
mimeryme
Terrific plugin Wizard! Thanks. smile.gif

A suggestion to aid in distinguishing which command one just selected. The dialog box should reflect which command was chosen, recyle bin or delete.
Wizard
QUOTE(mimeryme @ Aug 24 2004, 02:50 AM)
Terrific plugin Wizard!  Thanks. smile.gif

A suggestion to aid in distinguishing which command one just selected.  The dialog box should reflect which command was chosen, recyle bin or delete.
*



Thanks! smile.gif
But it does! The message (even the icon too) is different. These are the exact dialog messages and dialog titles that you get when you right-click in Window Explorer and choose "Delete" and Shift+"Delete". I deliberately did this to have the same feeling.
mimeryme
My mistake. I should've checked again before posting.
Wizard
v1.4!

Changes:
- Now it removes from playlist only the items that were successfully deleted. Previously, it would just call "Remove dead entries from playlist" (I was just lazy...) wink.gif

Enjoy! cool.gif
eweaverp
since you seem on top of this thing i'm not gonna update foo_Delete anymore... my windows C skills are minimal anyway.

whether or not you used my code from foo_Delete in foo_massdelete, I hearby grant you explicit written permission to use it in any way you see fit. However, I provide absolutely no warranty or guarantee of fitness or fitness for a particular purpose and use of such code absolves me from all responsibility for life, the universe, and everything.

tongue.gif

peace

~e
Wizard
QUOTE(eweaverp @ Sep 10 2004, 02:57 AM)
since you seem on top of this thing i'm not gonna update foo_Delete anymore... my windows C skills are minimal anyway.

whether or not you used my code from foo_Delete in foo_massdelete, I hearby grant you explicit written permission to use it in any way you see fit. However, I provide absolutely no warranty or guarantee of fitness or fitness for a particular purpose and use of such code absolves me from all responsibility for life, the universe, and everything.

tongue.gif

peace

~e
*



LOL! laugh.gif *presses Agree button to license* smile.gif
jkwarras
Wizard, thanks for your work.

I have some little requests for your plugin.

1) Option to assign DELETE key to one or another massdelete action. I know I can do it via keyboard shortcut in foobar config, but maybe it's easier for newbies.

2) An option to have a a confirmation dialog (like the one we have right now) that ask user whatever he wants:

--> To delete physically the files (send it to the recycle bin or delete it)
--> To delete the entries from the playlist.

This is very useful when you have (like me) DELETE key associated with Massdelete>Send to recycle bin. Sometimes I just want to delete the playlist selection, and not the file(s).
Wizard
QUOTE(jkwarras @ Sep 12 2004, 06:38 PM)
Wizard, thanks for your work.

I have some little requests for your plugin.

1) Option to assign DELETE key to one or another massdelete action. I know I can do it via keyboard shortcut in foobar config, but maybe it's easier for newbies.

2) An option to have a a confirmation dialog (like the one we have right now) that ask user whatever he wants:

--> To delete physically the files (send it to the recycle bin or delete it)
--> To delete the entries from the playlist.

This is very useful when you have (like me) DELETE key associated with Massdelete>Send to recycle bin. Sometimes I just want to delete the playlist selection, and not the file(s).
*



Hi!
I'll think about your suggestions, but since delete playlist selection exists, it's better to leave it outside massdelete. What I'd do is assign Ctrl+R to recycle files, Ctrl+D to delete files and leave Num Del to delete selection. Although I can see your point having one common shortcut for the functions.
Raymond
Hi, Wizard

I'm missing one feature in another foo_delete plugin: delete on playing file

Often after playing some files for a while, I like to check them out one by one. Play one, if don't like it anymore, delete it right there, jump to and play next file automatically..., it's a handy way, isn't it?
So, is it possiable to add this feature in next version?
Thanks for your work. smile.gif
Wizard
QUOTE(Raymond @ Sep 13 2004, 05:11 AM)
Hi, Wizard

I'm missing one feature in another foo_delete plugin: delete on playing file

Often after playing some files for a while, I like to check them out one by one. Play one, if don't like it anymore, delete it right there, jump to and play next file automatically..., it's a handy way, isn't it?
So, is it possiable to add this feature in next version?
Thanks for your work. smile.gif
*



Hi!
This is the thing I plan to do in the future, but not right now since I have little time free. Maybe in a couple of weeks or so.
haloeight
Thanks - looking forward to the version of this plugin that will allow the deletion / recycling of a file that is currently playing.

Is it possible to change the name of the option in the context menu from "Send To Recycle Bin" to just plain and simple "Recycle" ?
kwanbis
exelent ... it should be included in the special installer!
Wizard
ok, here's v1.5!

Changes:
-Added an option to stop playback if necessary (single file deletion only), default is off. If you right-click a song that is being played or paused and the "stop playback" option is on, when you choose "Send to Recycle Bin" or "Delete", playback stops, song gets deleted and next song is played. NOTE: by next song, I mean the song that its playlist index is (deleted song index + 1), NOT the song that you would have expected if your order is random or whatever!
-You can right-click files in Album list and foo_massdelete works there too!

I've tested the new version and didn't find any bugs. If you find any, please post them so I can fix them wink.gif

Enjoy! smile.gif
haloeight
Thank you for the update. Seems to be working fine on initial trial, good work.

If you would be so kind, please consider shortening the menu options to just "Recycle" and "Delete" in future revisions smile.gif
Wizard
v1.5.1

Changes:
-Renamed "Send to Recycle Bin" to "Recycle"
-The new dll is not UPXed any more, because I've read about crashes with UPXed files and WinXP SP2. So now, file size is twice larger.

Just a reminder: if you keep foobar minimized and you use a global keyboard shorcut to recycle or delete a file being played and you have "Stop playback if necessary" enabled, you must make sure that the file is selected and that its playlist is active! Only the selected files of the active playlist will be recycled/deleted!

Perhaps I'll implement a way to recycle/delete the playing song directly, but I don't know if this should be part of this plugin. dry.gif
Wizard
v1.5.2

Changes:
-Fixed a small bug in internal function, did not affect actual functionality of plugin anyway...
-"Yes" button is now the default button in the delete confirmation dialog.
haloeight
Thank you so much for listening to my request !
DustMagnet
Works as advertised. Beautiful! smile.gif
Raymond
Now it works fine, thx!
One thing, when deleting on playing files, it delays around 1 second or so, not as quick as another 'foo_delete', could this be possible to improve a bit?
haloeight
No lag when deleting a file currently playing here. In fact, it executes faster than foo_recycle.
Wizard
QUOTE(Raymond @ Sep 26 2004, 03:34 AM)
Now it works fine, thx!
One thing, when deleting on playing files, it delays around 1 second or so, not as quick as another 'foo_delete', could this be possible to improve a bit?
*



The speed depends on the machine, it's a Windows function that does the job. I don't think I can make it faster, but I'll check out a thing I have in mind that *might* improve speed.
Wizard
Well, what I tried didn't have any affect in speed, so I don't think it can be made any faster (I don't really see a difference with foo_Delete anyway...)

BTW, v1.5.3 is out!

Changes:
-If plugin restarts playback and previous playback status was paused, new playback status is paused too.
Raymond
@Wizard
As far as I know, there're 2 foo_delete plugins. What I'm using is foo_delete 0.6.b11.003 (from Components info of Preferences), not sure if it's the one you tested. The author seems stop develop it anymore and there's a bug with foobar v8, but its deleting is faster a little bit in my place.
Anyway, it's not a big deal, I should thanks for your work.smile.gif
Wizard
v1.6

Changes:
-Remove directories if empty option (default is off). Directories will be removed only if they are completely empty. Even if they just only have other empty directories inside them, they will not be removed.
haloeight
Interesting feature...fantastic to see a developer committed to improvement smile.gif
Wizard
QUOTE(poorimpulsectrl @ Sep 27 2004, 12:22 AM)
Interesting feature...fantastic to see a developer committed to improvement smile.gif
*



Thank you for your kind words smile.gif

foo_massdelete might be slow because it has to initialize a Windows struct when you delete files which causes a delay. The reason other plugins are possibly faster is that they call the Recycle Bin function immediately, so the struct is initialized between the time it takes you to see the Recycle Bin's own delete confirmation dialog and to click "Yes", that's why you don't see any delay. My plugin uses its independent confirmation dialog, so the struct must be initialized after you click "Yes". But this is all for the best, trust me wink.gif With my way, I can delete multiple files one at a time, playback is not stopped immediately when you choose "Recycle" or "Delete" but stops only if you click "Yes" in the confirmation dialog etc.

I could make it faster by doing what other plugins do, but that would mean that if deleting a playing track, playback would stop before confirmation dialog. If you think you can live with that, perhaps I'll give it a shot just for fun some time later.

The only addition I could think for this plugin is the ability to delete playing track even if not selected, but I'm not very sure.
fci
What is the possibility of being able to delete tracks that are contained in a compressed format (ZIP, RAR, etc)?

-c
Wizard
QUOTE(fci @ Oct 6 2004, 12:12 PM)
What is the possibility of being able to delete tracks that are contained in a compressed format (ZIP, RAR, etc)?

-c
*



If anyone can help me on this, I'd appreciate it, since foo_unpack's source code is not available and as I can tell from the name, it only unpacks, not re-packs files. AFAIK, this can't be done dry.gif
fci
QUOTE(Wizard @ Oct 6 2004, 05:39 AM)
If anyone can help me on this, I'd appreciate it, since foo_unpack's source code is not available and as I can tell from the name, it only unpacks, not re-packs files. AFAIK, this can't be done  dry.gif
*


ohmy.gif crying.gif
jkwarras
Hi Wizard,

Sorry to come with this again, but did you think about it? Did you change your mind? tongue.gif

QUOTE(jkwarras @ Sep 12 2004, 07:38 AM)
2) An option to have a a confirmation dialog (like the one we have right now) that ask user whatever he wants:

--> To delete physically the files (send it to the recycle bin or delete it)
--> To delete the entries from the playlist.

This is very useful when you have (like me) DELETE key associated with Massdelete>Send to recycle bin. Sometimes I just want to delete the playlist selection, and not the file(s).
*



Thanks for your time.
Wizard
QUOTE(jkwarras @ Oct 7 2004, 05:02 PM)
Hi Wizard,

Sorry to come with this again, but did you think about it? Did you change your mind?  tongue.gif

QUOTE(jkwarras @ Sep 12 2004, 07:38 AM)
2) An option to have a a confirmation dialog (like the one we have right now) that ask user whatever he wants:

--> To delete physically the files (send it to the recycle bin or delete it)
--> To delete the entries from the playlist.

This is very useful when you have (like me) DELETE key associated with Massdelete>Send to recycle bin. Sometimes I just want to delete the playlist selection, and not the file(s).
*



Thanks for your time.
*



Oh, the pressure, the pressure! Just kidding tongue.gif I'll try to implement it in a few days, but no promises because I'm busy right now sad.gif
Wizard
ok, just because what jkwarras wanted was easy, here's v1.7

Changes:
-Added an option to display a "delete entries only" dialog (default is unchecked). This dialog appears only if this option is checked AND you right-click a playlist, NOT if you right-click album list or whatever.
jkwarras
QUOTE(Wizard @ Oct 7 2004, 07:37 AM)
ok, just because what jkwarras wanted was easy, here's v1.7


That was fast! Thanks a lot! smile.gif

PS: A 'Cancel' option would be extra-super-cool wink.gif
linus
I reinstalled foobar and I have deleted foo_massdelete.dll
I really NEED it, but the site http://pelit.koillismaa.fi/plugins is gone... crying.gif
where can I find it? Some mirror?
Mr_Rabid_Teddybear
QUOTE(linus @ Nov 5 2004, 01:41 PM)
I reinstalled foobar and I have deleted foo_massdelete.dll
I really NEED it, but the site http://pelit.koillismaa.fi/plugins is gone...  crying.gif
where can I find it? Some mirror?
*

Hmm... It will probably annoy the moderators if we upload all the plugins that was on that site to foobar2000 Uploads. But you sounded real desperat, so.... wink.gif HERE

Anyone knows what's on with 3d Party site BTW?
QUOTE
Site closed for maintenance, for unspecified time. Will be back if still needed after some features are added, we'll see about that
dano
for 3rd party closure look here:
http://www.hydrogenaudio.org/forums/index....iew=getlastpost
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.