Giter VIP home page Giter VIP logo

vlc-controller's Introduction

vlc-controller

This is a VLC controller. It reads commands from a yaml file that has the same name as the currently playing video file and is stored in the same directory. Communication happens through vlc http interface which you need to enable.

3 commands are currently supported which are skip, mute and set_volume.

Commands file Example

# videoplayback.yml

- action: skip
  start: '04:40'
  end: '05:12'

- action: mute
  start: '07:30'
  end: '07:32'
  
- action: set_volume
  # note that percent sign should be used for 0-200 scale
  # otherwise it will be in the scale 0-512
  amount: '20%'
  at: '10:00'

Installing

If you are a windows user, then you can download the binary from releases page, otherwise you need to build it from source.

Building from source

You will need rust 1.39 or later. To compile run cargo build --release.

Usage

vlc-controller 0.1.2
ducaale <[email protected]>

USAGE:
    vlc-controller.exe [OPTIONS] --password <password>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --http-host <http-host>    vlc http intf address [default: localhost]
        --http-port <http-port>    vlc http intf port [default: 8080]
    -p, --password <password>      vlc http intf password

Screenshots

screenshot

vlc-controller's People

Contributors

ducaale avatar

Watchers

James Cloos 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.