Skip to main content

VLC commands for Plover

Project description

Add support for controlling VLC from Plover.

Setup

  • create vlc.json in the same directory as your configuration, set those settings that differ from defaults, e.g.:

    {
      "host": "localhost",
      "port": "8080",
      "user": "",
      "pass": "password"
    }
    
  • start VLC with the HTTP interface enabled, e.g.: vlc --extraintf http --http-password password ...

Available commands

  • VLC_pause, VLC_resume, VLC_stop, VLC_toggle_pause: self explanatory
  • VLC_rate: change the rate of playback, for example {PLOVER:VLC_rate:0.5} to halve the playback speed, or {PLOVER:VLC_rate:2.0} to double it. Percentage and relative rate changes are also supported: {PLOVER:VLC_rate:-10%}.
  • VLC_seek: seek the video, for example {PLOVER:VLC_seek:-10s} to seek backward 10 seconds, {PLOVER:VLC_seek:+1m} to seek forward 1 minute, or {PLOVER:VLC_seek:50%} to seek to the halfway point.

Timestamp support

A custom meta to get the current video timestamp is also provided: VLC_timestamp. For example using {[inaudible ^}{:VLC_timestamp}{^]} would translate to something like: [inaudible 00:08:01].

Release history

0.6.5

  • add timestamp support

0.6.4

  • fix rate command documentation
  • add support for percentage and relative rate changes

0.6.3

  • improve seek command documentation
  • add rate command

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for plover-vlc-commands, version 0.6.5
Filename, size File type Python version Upload date Hashes
Filename, size plover_vlc_commands-0.6.5-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size plover_vlc_commands-0.6.5.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page