============
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
l.is_on
# Turn the box off
l.turn_off()
# and back on
l.turn_on()
# Query current channel
l.channel
# Set current channel
l.channel = 'Arte'
# Switch to channel number 7
l.channel = '#7'
# Raise volume
l.volume_up()
# Lower volume
l.volume_down()
# Mute volume
l.mute()
# Next channel
l.channel_up()
# Previous channel
l.channel_down()
# Virtually press a key on the remote
from liveboxplaytv import KEYS
l.press_key(KEYS['LEFT'])
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,vol,info,state,on,off,channel,notify,op}
Action
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
-H HOSTNAME, --hostname HOSTNAME
IP address or hostname of the Livebox Play
-j, --json Format output as JSON
-d, --debug Debug mode
Metadata
Release files for liveboxplaytv 1.4.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| liveboxplaytv-1.4.8.tar.gz | 8.0 kB | Without provenance | Details for liveboxplaytv-1.4.8.tar.gz |
Release files / liveboxplaytv-1.4.8.tar.gz
| Download URL | liveboxplaytv-1.4.8.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee3f8061021f8358ab3c122d6d3c4f0464fd5994880b16ef4498b9909d233c1e
|
|
BLAKE2b-256 checksum How to use checksums |
dbdc3cf6d0bca00a7ca62b1d8de3ad357bc80e8ea54028a58bd7d06bdcb61392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for liveboxplaytv 1.4.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.