Skip to main content

API is under constant development for adding/improvising further features and improvements

Current API Version: 1.0.1

Current API functions:

  • connect(): Starts the connection to VLC on specified host and port
  • send(command): Sends command to VLC
  • disconnect(): Disconnects from VLC
  • shutdown(): Ends the connection and shuts down VLC
  • is_alive(): Returns True if the connection is alive else False

USAGE:

The library works asynchronously hence you will need to explicitly import asyncio (import asyncio) for asynchronous functioning and call the object functions with async/await syntax.

Example:

from PyVLC.PyVLC import PyVLC
import asyncio

VLC = PyVLC()
async def runner():
    await VLC.connect()
    while True:
        com = input("VLC> ")
        if com == "quit" or com == "exit":
            await VLC.disconnect()
            break
        await VLC.send(com)

if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(runner())

LICENSING:

This project is distributed under the MIT License. See LICENSE for details.

Metadata

Release files for PyVLC 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyVLC 1.0.1
File Size Uploaded
pyvlc-1.0.1.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyVLC 1.0.1
File Interpreter ABI Platform
pyvlc-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / pyvlc-1.0.1.tar.gz

Download URL pyvlc-1.0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e1e60ca5d5abf4af0eaa54dad1fd3503574158040f526a0807983886ee7f7db4
BLAKE2b-256 checksum
How to use checksums
24c98c3b096d1d59bd839d2598606c86d0a126e56eced02a3f0157b07e8642ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Release files / pyvlc-1.0.1-py3-none-any.whl

Download URL pyvlc-1.0.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
305fe808567544072589fe39e1a1ab897ef4e8dd231a5c3472fdf30d5025ccc2
BLAKE2b-256 checksum
How to use checksums
dcd4d2506ecf5c5be566d03cb71d3d06b756a2cf22d911db0c85aa8231781357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page