Page 1 of 1

Delete current file from harddisk

Posted: 01 Mar 2013 12:28
by 147852369
Hello forum,

I'm new here. My english is probably not good.
I've used VLC player for so many years to peruse hundreds of video files. I have the video files in the playlist und look if I keep the video file or should I delete the file. So I switch to the next video file oder close VLC Player to delete the video file from harddisk. This method is lengthy. This is why I wish a little feature or a button which deletes the current video file from harddisk and switch to the next file in the playlist.

Image

How possible is that the feature is implemented in the near future?

I'm not a programmer, but I imagine, that when I click on the delete button, the current file will be saved in a variable, switch to the next file in the playlist and then delete the file on the harddisk. This is a very confortable feature for users like me, which used VLC for sorting out videos.

Re: Delete current file from harddisk

Posted: 03 Mar 2013 12:39
by mederi
Solution as a Lua extension script:
>> Board index \ Customize VLC media player \ Scripting VLC in lua \ Delete current file from harddisk

Re: Delete current file from harddisk

Posted: 22 Sep 2013 21:10
by Trevor_Sturdevant
I wrote my own which functions in Windows. Read more here : https://forum.videolan.org/viewtopic.php?f=29&t=113813

Re: Delete current file from harddisk

Posted: 29 Dec 2016 11:31
by Metspitzer
I would also like to request a delete button. I listen to podcasts. You can't delete the file from the folder while it is load in VLC. I have to load the next mp3 and then delete the mp3.

Re: Delete current file from harddisk

Posted: 29 Dec 2016 18:43
by Rémi Denis-Courmont
I would also like to request a delete button. I listen to podcasts. You can't delete the file from the folder while it is load in VLC. I have to load the next mp3 and then delete the mp3.
That is a design limitation of Windows, not of VLC. To avoid this specific problem, you must change operating system, not media player.

Re: Delete current file from harddisk

Posted: 18 Jul 2017 23:22
by EodiV
I have added a feature request for deleting files. You can check on the status of this feature here:

ticket 18560

Re: Delete current file from harddisk

Posted: 19 Jul 2017 21:59
by 147852369
I developed this: https://bitbucket.org/alibranic/vpfx

It works on Windows and is a standalone programm based on libVLC. It would be nice to found more developers improving this project.

Re: Delete current file from harddisk

Posted: 06 Feb 2018 12:55
by GBO330
Could really use a keyboard shortcut that swiftly throws currently playing video in recycle bin
Is this simply not possible in Windows?
If its impossible, how about a shortcut to copy current file path to windows clip-board? (Then we can delete file manually, but at least wouldn't have to waste time searching)

Re: Delete current file from harddisk

Posted: 13 Apr 2022 10:19
by I3ordo
any working scripts for delteing or moving the file to diretories i am shocked by the lack of user add ons in vlc... maybe there is something wrong with the community or the vlc it self... it s a bazillion year old software there must have been mountains of add ons...

Re: Delete current file from harddisk

Posted: 17 May 2022 22:17
by fred8615
I would also like to request a delete button. I listen to podcasts. You can't delete the file from the folder while it is load in VLC. I have to load the next mp3 and then delete the mp3.
That is a design limitation of Windows, not of VLC. To avoid this specific problem, you must change operating system, not media player.
MPC-HC has always allowed deleting to the Recycle Bin, and SMPlayer will delete from the hard drive, and both will do so while the file is playing. So it can be done in Windows.

Re: Delete current file from harddisk

Posted: 18 May 2022 09:56
by Rémi Denis-Courmont
In this case, it is the Windows Explorer that fails to delete the file, so no, it can't be done in Windows. This is a known difference between Windows and Linux/BSD that you cannot delete open files.

Re: Delete current file from harddisk

Posted: 18 May 2022 22:54
by fred8615
Obviously it can if both MPC-HC and SMPlayer can do it. If for whatever reason you don't want to add it to VLC, just say so.

Re: Delete current file from harddisk

Posted: 19 May 2022 09:25
by Rémi Denis-Courmont
Well then complain to Microsoft for Explorer failing to delete the currently playing file... Good luck with that...