Skip to main content

VLC commands for Plover

Project description

Plover VLC commands

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_add:<URI>: append <URI> to the playlist.

  • VLC_clear: clear the playlist.

  • VLC_play:<name>: play the specified playlist item, or the last active item if not <name> is not specified, e.g.: {PLOVER:VLC_play:click.wav}

  • 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.6

  • add support for add, clear, and play commands

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.

Source Distribution

plover_vlc_commands-0.6.6.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

plover_vlc_commands-0.6.6-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file plover_vlc_commands-0.6.6.tar.gz.

File metadata

  • Download URL: plover_vlc_commands-0.6.6.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.6

File hashes

Hashes for plover_vlc_commands-0.6.6.tar.gz
Algorithm Hash digest
SHA256 9ad45d1b2a0f9bb59d8c51d8ab9a5474ebcf74b9d61e039c837e916c8321a706
MD5 f3affb380517c07d505ac4e4b1b04adb
BLAKE2b-256 e5cabfe48340c601cceed04cc5e2ff39d9a40e282bc63099575fba96ea7f679d

See more details on using hashes here.

File details

Details for the file plover_vlc_commands-0.6.6-py3-none-any.whl.

File metadata

  • Download URL: plover_vlc_commands-0.6.6-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.6

File hashes

Hashes for plover_vlc_commands-0.6.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0cf044d1e28dfc5d9cfe58700b4af778fee77548792e42bd49bc2aa34a5f896a
MD5 e1f7ba51fcfde4a64385bdb0a1ec7c79
BLAKE2b-256 69dbc607ac7b358d0057d5769fd780809b5bf4a2ad37d0904ffe82246b8348d5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page