GitXplorerGitXplorer
d

vlc-controller

public
7 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
f919d9f91db3c91e154f688dee671d46d72cc615

bump version to v0.1.2

dducaale committed 5 years ago
Unverified
d319b7191dc1939663ddff58d0bc936adb80f228

update readme

dducaale committed 5 years ago
Unverified
d432a6372a7a678647be3a855375a44b98506a23

send time as seconds to vlc-api

dducaale committed 5 years ago
Unverified
af2c91ef5847eb6fe63ec50244dc32530e0a7c56

display screenshot in readme

dducaale committed 5 years ago
Unverified
8ad942c4a918c9f92b9ab1c736c436fbdd55677d

add screenshot

dducaale committed 5 years ago
Unverified
94c77a5113e3382f11b0d3fbf4c9a32d5672630f

update readme

dducaale committed 5 years ago

README

The README file for this repository.

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 <sharaf.13@hotmail.com>

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