Hydrogenaudio Forums

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: niver on 2007-03-10 16:38:08

Title: foo_DeleteCurrent
Post by: niver on 2007-03-10 16:38:08
Here comes the Delete Current Track component for Foobar2000

This is a simple component which adds a menu item giving the possibility to delete the current playing track. It allows you to assign a hotkey to this function.

When the function is activated, the current playing track is stopped, and the associated file is moved to the recycle bin. The next track in the playlist, if any, is then started.

Direct download link: http://www.niversoft.com/downloads/foo_DeleteCurrent.zip (http://www.niversoft.com/downloads/foo_DeleteCurrent.zip)
Title: foo_DeleteCurrent
Post by: dubpistol on 2007-03-10 16:46:54
Yeahh, fantastic 

I was waiting so long for such an plugin. Very, very useful.

Thanks again niver
Title: foo_DeleteCurrent
Post by: atay on 2007-09-20 17:14:47
must he ask "are you sure to delete" ?

it have no sense, because he is deleting it to recycle bin
Title: foo_DeleteCurrent
Post by: pepoluan on 2007-11-03 09:16:34
Better put an option then; some people are extremely paranoid about losing files
Title: foo_DeleteCurrent
Post by: niver on 2008-06-30 16:49:29
Hello.

The component has been updated with an option to delete without confirmation.

http://www.niversoft.com/downloads/foo_DeleteCurrent.zip (http://www.niversoft.com/downloads/foo_DeleteCurrent.zip)
Title: foo_DeleteCurrent
Post by: dubpistol on 2008-06-30 17:51:16
Hallo niver,

thank you for updating this excellent component.
Title: foo_DeleteCurrent
Post by: am78 on 2008-10-27 02:36:58
this is unbelievably useful, thank you so very much!
exceptionally underated tool, i highly recommended it =)
Title: foo_DeleteCurrent
Post by: Chaser on 2009-01-01 00:44:36
Thank you for that very usefull component. Would you be willing to add an option to disable the confirmation-messagebox?
Title: foo_DeleteCurrent
Post by: RogerG on 2009-01-04 07:55:38
How about deleting the file after the user has stopped playing the file? Maybe you can make an option for that. At the moment I have to use an Autohotkey script to achive this behaviour. It would be great if your plugin could implement this.

The internal delete command of foobar is very stupid. When a file is playing it doesn't stop it in order to delete it but gives an error message. Could you make your plugin able to delete also files not currently playing?
Title: foo_DeleteCurrent
Post by: arst on 2009-01-04 08:12:58
I think there is a simple way to implements many requirements of this function, just add 3 or more optional hotkeys:
1. delete without confirm
2. delete with confirm
3. delete after playing
Title: foo_DeleteCurrent
Post by: dubpistol on 2009-01-04 12:45:14
Thank you for that very usefull component. Would you be willing to add an option to disable the confirmation-messagebox?


1. delete without confirm
2. delete with confirm


Playback > Ask for confirmation before deleting
Title: foo_DeleteCurrent
Post by: n2k on 2009-01-15 01:38:59
Really great plugin! 
Would it be possible to have an option to _not_ send the files to the recycle bin but have an confirmation box?
Title: foo_DeleteCurrent
Post by: Horst Fux on 2009-01-15 23:26:44
Just a short question 'cause I can't imagine it:

For what do you need such a plugin?
Title: foo_DeleteCurrent
Post by: n2k on 2009-01-18 12:39:30
Just a short question 'cause I can't imagine it:

For what do you need such a plugin?


If you're listening a complete album of 1 artist, and lets say you only like 4 songs, and 2 songs have blips and noise in them, when you hear that you can use this plugin to easily delete them
Title: foo_DeleteCurrent
Post by: Horst Fux on 2009-01-18 13:09:24
Alright, could be useful for interrupted songs.
On the other hand I've to say, that often songs need their time to become really great.
Anyways - I don't have to use it and the "jumping to next track"-feature of this plugin explains, that you don't use the inbuild function "delete track".
Self explanatory.
Title: foo_DeleteCurrent
Post by: _oao on 2009-01-18 13:15:11
If you're listening a complete album of 1 artist, and lets say you only like 4 songs, and 2 songs have blips and noise in them, when you hear that you can use this plugin to easily delete them

i don't get it.
why don't you guys use ratings to mark the songs you like/dislike?
Title: foo_DeleteCurrent
Post by: Horst Fux on 2009-01-18 14:28:49
'Cause they want to delete those files forever.
Nothing for me, 'cause I think incomplete albums sucks.

Especially 'cause we have great plugins like "foo_skip"
Title: foo_DeleteCurrent
Post by: niver on 2009-05-14 05:07:02
How about deleting the file after the user has stopped playing the file? Maybe you can make an option for that. At the moment I have to use an Autohotkey script to achive this behaviour. It would be great if your plugin could implement this.

The internal delete command of foobar is very stupid. When a file is playing it doesn't stop it in order to delete it but gives an error message. Could you make your plugin able to delete also files not currently playing?


Hello - I don't understand why, but I wasn't subscribed anymore to my own thread, so I didn't see your replies until now. Sorry guys for the delay, this is not in my habits.

Delete after stop is more complex to implement. The component would have to remember that song, and to monitor until foobar stops or begins playing another file. This is not impossible to do, but I don't understand how this could be really useful to anyone.

To delete a file which is not currently playing, you have to use your mouse to select it in the playlist. As you're already there, you can simply right-click on that song and select File Operations / Delete File. I don't think you need a plugin for that, unless I misunderstood something in your request...

Regards.
Title: foo_DeleteCurrent
Post by: niver on 2009-05-14 05:12:21
Really great plugin! 
Would it be possible to have an option to _not_ send the files to the recycle bin but have an confirmation box?


Well, I could, until someone selects this option without thinking and then sues me for deleting songs on his computer. Ok, I'm kinda joking, but I see similar behaviors a few times a year (replace "sues" by "threatens to sue"...). Better be safe than sorry.

I think deleting to recycle bin is safer, and emptying the recycle bin is just a few clicks away. If you don't want files to be stored in there, you can disable the recycle bin completely...
Title: foo_DeleteCurrent
Post by: El Noire on 2009-05-16 09:48:37
What a brilliant idea, thanks for this plugin, it's great! 
Title: foo_DeleteCurrent
Post by: Jezulkim on 2009-05-20 14:38:17
Hello.

The component has been updated with an option to delete without confirmation.

http://www.niversoft.com/downloads/foo_DeleteCurrent.zip (http://www.niversoft.com/downloads/foo_DeleteCurrent.zip)


Hey, where can I find this option? I'm using foobar2000 v0.9.6.6.

Thanks
Title: foo_DeleteCurrent
Post by: Chaser on 2009-05-20 17:15:28
Look in the menu "Playback".
Title: foo_DeleteCurrent
Post by: Jezulkim on 2009-05-20 20:52:27
AAH thanks a lot, found it, I was looking at the PLAYBACK in preferences, but it was in the drop down menu. Thanks
Title: foo_DeleteCurrent
Post by: inkexit2 on 2009-06-16 14:38:50
Late to the party here, but does anybody know how I can use a hotkey for the confirmation delete?  I downloaded the deleteCurrent component, unzipped the folder, and placed the foo_DeleteCurrent.dll in the component folder inside the foobar2000 folder. Then I went to preferences > general > keyboard shortcuts > add new > main > playback > ask for confirmation before deleting. I added a key in the key area (backspace). I did not click the global hotkey radio button. Then I closed out preferences and restarted Foobar. When I select a track and hit the backspace button, however, nothing happens. I tried using different buttons, combining it with a ctrl or alt, clicking the global hotkey radio button--nothing seems to work. I tried finding out some information through the search here, I found out that maybe I have to "bind" the hotkey somehow? I couldn't find out how to actually do this. Maybe I just don't know the right terms to search for. Anyway, I can't seem to get this to work, and would appreciate any help!
Title: foo_DeleteCurrent
Post by: niver on 2009-06-17 07:14:23
You probably want to select the  "[main] > playback > delete current song" instead. If you set a hotkey to "ask for confirmation before deleting", your hotkey will just toggle that option :-)

Moderation: Removed useless full quote of the preceding post.
Title: foo_DeleteCurrent
Post by: gmB on 2009-07-22 21:39:05
How can I prevent that foobar is maximised everytime the confirmation window appears?
I don't want to disable the confirmation itself, though.

Thanks!
Title: foo_DeleteCurrent
Post by: niver on 2009-07-23 00:06:45
How can I prevent that foobar is maximised everytime the confirmation window appears?
I don't want to disable the confirmation itself, though.

Thanks!


Unfortunately, the only way is to disable the confirmation. A message box must be attached to an existing window, otherwise it always appear behind other windows.

N.
Title: foo_DeleteCurrent
Post by: Gabe Ecnart on 2009-09-06 14:48:59
Hey!
It's a great plugin. But it will be useful for me the folowing function:
Move the currently playing file to a specified folder.
Can you do that?
Thank you
Title: foo_DeleteCurrent
Post by: niver on 2009-09-06 16:08:58
Hey!
It's a great plugin. But it will be useful for me the folowing function:
Move the currently playing file to a specified folder.
Can you do that?
Thank you


Hello.

This could be the purpose of another component, but it is very unlikely I will be the one who creates this function.

Regards
Nicolas Hatier
Title: foo_DeleteCurrent
Post by: vogliadicane on 2009-09-06 21:35:44
^^ it´s possible with foo_fileops
Title: foo_DeleteCurrent
Post by: lambigo@o2.pl on 2011-09-05 10:32:49
The component has been updated with an option to delete without confirmation.

http://www.niversoft.com/downloads/foo_DeleteCurrent.zip (http://www.niversoft.com/downloads/foo_DeleteCurrent.zip)
Hey, where can I find this option?

Hello,

I just have downloaded and installed the tool. Unfortunately, I still have the message appearing:

"Do you want to delete current playing song? The file will be moved in the Recycle Bin if possible."

In the Assigned shortcuts I have selected: "Playback => Delete current song"
Any ideas how to turn off this message?
Title: foo_DeleteCurrent
Post by: SaFFeR on 2012-01-15 08:00:28
Just registered here to say thank you again for creating this. I've been using it four about 3 years
Title: Re: foo_DeleteCurrent
Post by: Hugh Tash on 2016-06-18 17:51:17
Here's how to disable the confirmation window when deleting songs to Recycle Bin using foo_DeleteCurrent plugin:

Menu toolbar Playback - uncheck Ask for confirmation before deleting.


(http://i.imgur.com/LV8qExJ.png)
Title: Re: foo_DeleteCurrent
Post by: jameswew on 2018-03-06 15:49:08
Hello Niver,

I just registered to thank you for making this plug-in. I like to listen to entire discographies and this function is incredibly useful.

Thank you!
Title: Re: foo_DeleteCurrent
Post by: fuffi on 2019-08-18 11:22:05
Yeah, very useful.

I used this function in the good old foo_AdvancedControls (https://www.foobar2000.org/components/view/foo_advancedcontrols), where it was integrated.
Great to see, there is a standalone version! Thanks Nicolas from Niversoft!

Just to put some more information to my "thanks":

Hugh Tash made a nice screenshot from the menu, where you find new options, and
you always can find new options/functions via the "Feature Watcher" component foo_whatsnew (https://www.foobar2000.org/components/view/foo_whatsnew) by foosion.


SimplePortal 1.0.0 RC1 © 2008-2019