8000 GitHub - cheydrick/PyVLChttp: PyVLChttp is a Python module for controlling VLC through its HTTP API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cheydrick/PyVLChttp

Repository files navigation

VLCHTTPAPI is a Python module that uses the VLC HTTP API to control VLC.

Usage:
    >>>from pyvlchttp import VLCHTTPAPI
    >>>vlc = VLCHTTPAPI('127.0.0.1', '8080', 'password')
    >>>vlc.play()
    >>>vlc.last_http_status_code
    200
    >>>vlc.stop()
    etc...

None of the functions check the HTTP status codes for success. This is the responsibility
of the caller.

VLC HTTP spec is documented at https://wiki.videolan.org/VLC_HTTP_requests/, and
is documented in more detail in VideoLAN\VLC\lua\http\requests\README.txt wherever VLC
is installed.

TODO:
    - Implement all of the functions in VLCHTTPAPI() that require additional arguments
    - Comments/Examples
    - Utility functions for converting browse_dir() output to something useful
    - Tests (integration more so than unit)

About

PyVLChttp is a Python module for controlling VLC through its HTTP API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0