RealDelete
VLC Extensions
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
3 years 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).
3 years 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).
openDesktop.org :
Mattwmaster58
1 month ago
Report
h3ll
4 months ago
so ended with this solution
1- start my own program written in c# (which call itself until the file no longer in use by vlc)
2- play next file
3- delete from playlist
lua code :
os.execute('c:\\deletevlc.exe "'..filepath..'"')
itemId = vlc.playlist.current()
vlc.playlist.next()
vlc.playlist.delete(itemId)
vlc.deactivate()
I need this so bad and now it makes me mad because can't bind it to a keyboard shortcut -_-
using win7 64
vlc 2.2.6
Report
SgtPepper666
9 months ago
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
calculon102
1 year ago
I did however reuse the style of the dialog from this one, so thanks for that!
Report
YaSo
1 year ago
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
seyss
2 years ago
Report
SgtPepper76
2 years ago
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
suchwalko
2 years ago
Report
avegotten
2 years ago
Once again thank you for this Add-on
Report
test4test
2 years ago
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
ecurtain
2 years ago
shortdesc = [[Delete file for Real]],
but otherwise the addon worked fine
Report
ecurtain
2 years ago
shortdesc = [[Delete file for Real]],
but otherwise the addon worked fine
Report
stickybounce
3 years ago
Tested with VLC 2.1.5 on Win 7 x64 Pro
Report