Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openstenoproject/plover_vlc_commands
VLC commands for Plover
https://github.com/openstenoproject/plover_vlc_commands
plover
Last synced: about 12 hours ago
JSON representation
VLC commands for Plover
- Host: GitHub
- URL: https://github.com/openstenoproject/plover_vlc_commands
- Owner: openstenoproject
- Created: 2017-02-05T16:59:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-03T15:52:17.000Z (about 2 years ago)
- Last Synced: 2024-09-18T17:45:05.619Z (9 days ago)
- Topics: plover
- Language: Python
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.:``` json
{
"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:`: append `` to the playlist.
* `VLC_clear`: clear the playlist.
* `VLC_play:`: play the specified playlist item, or the last
active item if not `` 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