Skip to main content

Python bindings for the Orange Livebox Play TV appliance

Project description


This library is intended for controlling an Orange Livebox Play TV appliance

.. code-block::

from liveboxplaytv import LiveboxPlayTv

# Init
l = LiveboxPlayTv('livebox-play.lan')

# Check if the box is on

# Turn the box off

# and back on

# Query current channel

# Set current channel = 'Arte'

# Switch to channel number 7 = '#7'

# Raise volume

# Lower volume

# Mute volume

# Next channel

# Previous channel

# Virtually press a key on the remote
from liveboxplaytv import KEYS

There also is a CLI script that ships with this package:

.. code-block::

$ liveboxplaytv -h
usage: liveboxplaytv [-h] -H HOSTNAME [-j] [-d]
{key,vol,info,state,on,off,channel,notify,op} ...

positional arguments:
key Press an arbitrary key
vol Volume Control
info Get info
state Get the current state (on or off)
on Turn the Livebox Play appliance on
off Turn the Livebox Play appliance off
channel Get or set the current channel
notify Wait and notify of new events
op [DEBUG] Send request

optional arguments:
-h, --help show this help message and exit
IP address or hostname of the Livebox Play
-j, --json Format output as JSON
-d, --debug Debug mode

Project details

Download files

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

Source Distribution

liveboxplaytv-1.2.1.tar.gz (5.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page