VLC – Patch to delete file from the filesystem

  • Post category:IT
  • Post comments:0 commentaire
  • Post last modified:10 novembre 2018
  • Temps de lecture :5 min de lecture

This patch adds a hotkey to delete the current file from the filesystem. When typing “Delete”, the next track will be played and the current file erased. On Windows, it tries to move the file to the recycle bin. If it cannot (which is pretty common, I fought, but did not understand why…) it creates a “todelete.bat” file with the commands to delete the files (Note the encoding of this file is local windows encoding, not dos encoding. If it causes problem, try chcp 1252 at dos prompt). Just double click on it then. On other systems, it simply deletes the file (and it works :-))

Here is the patch, on vlc-1.0.2 :

Win32 binaries are not currenlty online, cross-compilation works quite well, or just ask.

Laisser un commentaire

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.