Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kenjyco/vlc-helper

CLI helpers for VLC media player
https://github.com/kenjyco/vlc-helper

cli dbus kenjyco python repl video vlc

Last synced: about 1 month ago
JSON representation

CLI helpers for VLC media player

Awesome Lists containing this project

README

        

## Warning

This is **Linux only** as D-BUS does not work on Mac.

You must have the following system packages installed

- `vlc` (to play videos)
- `imagemagick` (to take screenshots)
- `wmctrl` (to determine window name)

## Install

Install system requirements for `dbus-python` package

```
% sudo apt-get install -y pkg-config libdbus-1-dev libdbus-glib-1-dev
```

Install with `pip`

```
% pip3 install vlc-helper
```

## Usage

The `vlc-repl` and `myvlc` scripts are provided

```
% venv/bin/vlc-repl --help
Usage: vlc-repl [OPTIONS]

Start a REPL to control VLC media player

Options:
--help Show this message and exit.

% venv/bin/myvlc --help
Usage: myvlc [OPTIONS] [FILENAME] [STARTTIME] [STOPTIME]

Start filename at specific start time (and/or end at specific end time)

Options:
--help Show this message and exit.
```