Skip to main content

liveboxplaytv

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

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:

$ 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 2.0.3

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

Source distribution (sdist)

Source distribution for liveboxplaytv 2.0.3
File Size Uploaded
liveboxplaytv-2.0.3.tar.gz 8.7 kB Details

Release files / liveboxplaytv-2.0.3.tar.gz

Download URL liveboxplaytv-2.0.3.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
57ac6a5a11407024492b77831a350c60720baa629214d9ce2345c29b59b1e234
BLAKE2b-256 checksum
How to use checksums
521a7b9384893b18674d0b1dfcbe6952fd30c00e75d2ec2ccbb2d0afc798fc58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

Release history Release notifications | RSS feed

This release

2.0.3 This release

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.5.3

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.9

1 release file

1.4.8

1 release file

1.4.7

1 release file

1.4.6

1 release file

1.4.5

1 release file

1.4.4

1 release file

1.4.3

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0

1 release file

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