Description:

Deletes currently playing file from disk and from playlist.

Usage (Windows):
1. Name extension file realdelete.lua and copy it into VLC extensions folder
e.g. C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\realdelete.lua
2. restart VLC; extension should be visible under View menu

Tested on Windows 8 & VLC 2.1.1
Supports only ASCII file names.

License: GPL http://www.gnu.org/licenses/gpl.html

You use this extension at your own risk - author cannot be held responsible
for any direct or indirect damage caused.

Based on:
* Diskdelete 0.2 by Mark Morschhäuser
* https://forum.videolan.org/viewtopic.php?f=29&t=108811
(users 147852369, mederi)
People who provided code fixes:
* http://addons.videolan.org/usermanager/search.php?username=ecurtain
* http://addons.videolan.org/usermanager/search.php?username=test4test
* http://addons.videolan.org/usermanager/search.php?username=SgtPepper76

Changelog:

1 year ago

Added support for network folders on Windows.
Extension no longer shows error messages because widget manipulation caused VLC to crash. So errors will be visible only in console.
Fix for freezing by SgtPepper76 (v1.5).

27 days ago

SgtPepper666

Now I have found the reason for the freeze problems.
And the bad news: We can't fix it. We only can hope that VLC 3 brings LUA 5.2 support. Maybe - then we can fix it.
The reason is: LUA 5.1 (wich is compiled in VLC) uses for command to console and filenames UTF-8.
Windows Systems uses UTF-16 or higher. For other systems i dont know.
So when the file contains a special sign, like ä or something, the file could't be found.
I've try hard to make a workaround but i failed.

Greetings SgtPepper76

Report

7 months ago

calculon102

This extension did not work for me, especially not in the context of manually batch processing a large playlist. Therefore I created my own: http://addons.videolan.org/content/show.php/BatchFileDelete?content=176275 (BatchFileDelete)

I did however reuse the style of the dialog from this one, so thanks for that!

Report

1 year ago

YaSo

Is there a way to add a keyboard shortcut to permanently delete files?

I ripped my aunt's cd collection to a thumbdrive for her to play in her USB - MP3 ready new car as a gift, and wish for her to be able to put the thumbdrive in her PC, open the albums in a VLC playlist, and delete songs she doesn't want. Thanks!

Report

1 year ago

seyss

this crap doesn't work.. take it down or fix it

Report

1 year ago

SgtPepper76

There ist a Frozen Bug in this Code.
But you can fix ist manualy in source in funtion close():

the original sourcecode-line:
--d:delete() -- close and delte dialog

must be replaced by:
d:delete() -- close and delte dialog

Now its works fine...
The Error is: You must close the Dialog first bevore deactivating the menu-entry.

Have fun with this great tool!

Report

1 year ago

suchwalko

I hope you are right, because just now I uploaded new version with your fix :)

Report

1 year ago

avegotten

Hey, thank you for making this. I have a request. Could you add an option to move the file to a specified directory? or perhaps a option to move to the recycling bin.

Once again thank you for this Add-on

Report

1 year ago

test4test

In VLC 2.1.5 the addon hangs after delete. The dialog-box is froxen.

Please fix it for Playlists from Net-Folders.
The line
filename = string.sub(filename,9) -- remove 'file://' prefix which is 7 chars long

deletes to many character.

Report

1 year ago

ecurtain

I needed to shorten the shortcode description:

shortdesc = [[Delete file for Real]],


but otherwise the addon worked fine

Report

1 year ago

ecurtain

I needed to shorten the shortcode description:

shortdesc = [[Delete file for Real]],


but otherwise the addon worked fine

Report

2 years ago

stickybounce

After pressing "Delete" it played the next song in the playlist but VLC was "Not responding"...

Tested with VLC 2.1.5 on Win 7 x64 Pro

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 52%
52.00 Likes
48 Dislikes

0 Supporters for RealDelete:

Recent Donations:

Be the first to donate
show all
Details
version
updated Dec 09 2015
added Nov 13 2014
downloads
page views 3902
support suchwalko
For The Product
RealDelete
5 - 10 - 25 - 50 - 100 - 200 - 500