Git Product home page Git Product logo

vlcplaylistrememberer's Introduction

erer An extension that save the last played item of a playlist to continue later on.

Setup

Copy VPR.lua file to

  • Linux: ~/.local/share/vlc/lua/extensions/ and ~/.local/share/vlc/lua/extensions/playlist/

  • Windows: C:\Program Files\VideoLAN\VLC\lua\extensions\ and C:\Program Files\VideoLAN\VLC\lua\playlist\

Create directories if do not exist

Create a resumable playlist

  1. Create a text file with the following format: (only for the first time)

    • First line: VPR84296c0939f946089f45c97b9981afde

    • Second line: The last played file URI like: file:///tmp/Videos/Video1.mkv. Empty line to start from beginning

    • Other lines: Each line should be a file URI like: file:///tmp/Videos/Video1.mkv. Each line is a playlist item

  2. Then open the created file with VLC

  3. Enable VPR extension in VLC fom View --> VPR (this should be enabled each time VLC opens)

  • Please don't place the file anywhere that VLC doesn't have permission to read or write

  • File or URL can be used

  • Look at the PlaylistTextFileExample.txt

How this works

If a text file with the first line of VPR84296c0939f946089f45c97b9981afde opened in VLC this extension will create a playlist with URI from line 3 to the last (each line one item). And put the address of the playlist text file with an indentifier string to each item's description (to be able to update last played item).

Every time a new item starts playing, it's description will be checked. If the indetifier and a file address exist then the second line of the file will change to the URI of the current playing item.

vlcplaylistrememberer's People

Contributors

abbas-b-b avatar cxslucyfer avatar

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.