Giter Site home page Giter Site logo

vlc-delete's Introduction

Install

Windows

Copy vlc-delete.lua to %appdata%\Roaming\vlc\lua\extensions\ and restart the VLC Media Player.

Installation script (requires Windows 10 / curl)

mkdir %appdata%\Roaming\vlc\lua\extensions\
curl -# -o %appdata%\Roaming\vlc\lua\extensions\vlc-delete.lua https://raw.githubusercontent.com/surrim/vlc-delete/master/vlc-delete.lua

Linux

Copy the vlc-delete.lua file to ~/.local/share/vlc/lua/extensions/ and restart the VLC Media Player.

Installation script

mkdir -p ~/.local/share/vlc/lua/extensions/
curl -# -o ~/.local/share/vlc/lua/extensions/vlc-delete.lua https://raw.githubusercontent.com/surrim/vlc-delete/master/vlc-delete.lua

Installation script for Flatpak

mkdir -p ~/.var/app/org.videolan.VLC/data/vlc/lua/extensions/
curl -# -o ~/.var/app/org.videolan.VLC/data/vlc/lua/extensions/vlc-delete.lua https://raw.githubusercontent.com/surrim/vlc-delete/master/vlc-delete.lua

Note: If trash-cli is installed videos will be moved to the recycle bin instead of removing them directly.

Usage

When playing a video you can click on ViewRemove current file from playlist and disk. Then the video will be removed and the next one is played.

Known bugs and issues

  • There is no fixed shortcut key; it depends on the menu language.
    For instance in English: Press and hold Alt to activate the hotkey navigation, then press i (Vi̲ew), then r (R̲emove current file from playlist and disk). I haven't found a solution to implement a fixed key; probably it's not supported by the VLC Media Player.
    Hotkeys animation
  • Windows: UNC paths like \SERVER\Share\File.mp4 are not working.
    As a workaround, you could use net use P: "\uncpath" in the Windows terminal and open the file with a regular path. Thanks for contributing Taomyn and freeload101
  • Windows: Video can't be deleted if the file name contains emojis.
    Thanks for contributing Jonas1312

If you create a new issue please include your VLC Version number and operating system. Otherwise it's hard to reproduce.
The biggest help would be to contribute some Lua Code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.