Skip to main content

python + (MacOS)

Project description


$ [sudo] pip install vlc


function description
vlc.activate() open VLC and make it frontmost
vlc.duration() return current video duration (seconds)
vlc.kill() kill process
vlc.path() get current video path
vlc.pause() pause current video pid open/continue play video
vlc.playing() return True if video is playing
vlc.quit() safe quit VLC
vlc.tell(code) execute applescript tell application "VLC" ...
vlc.fullscreen.detect() return True if fullscreen mode detected
vlc.fullscreen.enter() enter VLC fullscreen mode
vlc.fullscreen.exit() exit VLC fullscreen mode
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


usage description
python -m vlc.duration print current video duration
python -m vlc.fullscreen.detect print true if fullscreen mode detected
python -m vlc.fullscreen.enter enter fullscreen mode
python -m vlc.fullscreen.exit exit fullscreen mode
python -m vlc.path print current video path
python -m vlc.pause pause current video
python -m print pid
python -m [path] 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-md - generator

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
vlc-2018.11.20-py2.py3-none-any.whl (19.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3
vlc-2018.11.20.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page