vlc

python + VLC.app (MacOS)


Keywords
vlc, applescript, cli, macos, python
License
BSD-3-Clause
Install
pip install vlc==2019.4.13

Documentation

Travis

Installation

$ [sudo] pip install vlc

Functions

function __doc__
vlc.activate() open VLC and make it frontmost
vlc.frontmost() return True if VLC.app is frontmost app, else False
vlc.kill() kill VLC.app process
vlc.quit() safe quit VLC
vlc.tell(code) execute applescript tell application "VLC" ...
vlc.time.change(seconds) set current video time
vlc.time.get() return current video time
vlc.volume.change(value) set VLC volume
vlc.volume.get() return VLC volume

CLI

usage __doc__
python -m vlc.play [path] [start] open/continue play video
python -m vlc.time [seconds] print/set current video time
python -m vlc.volume [volume] print/set VLC volume (0..512)

readme-generator