Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

AMCP (Advanced Media Control Protocol) Client Library

Project description

Python AMCP Client Library

v0.1.0

Introduction

TBD

Installation

pip install amcp_pylib

Usage examples

TBD

Connecting to server

from amcp_pylib.core import Client

client = Client()
client.connect("caspar-server.local", 6969)  # defaults to 127.0.0.1, 5250

Sending commands

from amcp_pylib.core import Client
from amcp_pylib.module.query import VERSION, BYE

client = Client()
client.connect()

response = client.send(VERSION(component="server"))
print(response)

response = client.send(BYE())
print(response)
201(VERSION) ['2.0.7.e9fc25a Stable']
0(EMPTY) ['SERVER SENT NO RESPONSE']

All supported protocol commands are listed and documented on CasparCG's wiki pages.

Project details


Release history Release notifications

Download files

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

Files for amcp-pylib, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size amcp_pylib-0.1.2-py3-none-any.whl (48.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size amcp_pylib-0.1.2.tar.gz (19.2 kB) File type Source Python version None Upload date Hashes View hashes

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