BeoPlay API for Python
Project description
Bang & Olufsen BeoPlay devices Python integration module
Beoplay Python wrapper to integrate B&O speakers/TVs to Python that use the BeoPlay API. BeoPlay API is the 2nd generation B&O API, after Masterlink Gateway and before Mozart. It is supported by devices built from the early 2000s to the late 2010s, including several BeoVision TV, BeoLab speakers and the NL/ML Converter.
The API is wrapped in an object that can be used to read the state and control BeoPlay devices. It includes both methods for blocking calls, and async calls with callbacks using aiohttp.
Reference information is on this page.
Some more information on the Notifications stream is in the EVENTS.md file.
Currently gets the following attributes:
- volume
- mute
- source
- source list
- primary experience
- state
- standby
- track image (if available)
- artist
- album
- song(name) (if available)
- description (if available)
- stand positions
The following commands are available:
- set volume
- set mute
- play
- pause
- stop
- next
- previous
- standby
- set source
- join experience
- leave experience
- play queue item
- set stand position
The following key presses are available:
Cursor/Select, Cursor/Up, Cursor/Down, Cursor/Left, Cursor/Right, Cursor/Exit, Cursor/Back, Cursor/PageUp, Cursor/PageDown, Cursor/Clear, Stream/Play, Stream/Stop, Stream/Pause, Stream/Wind, Stream/Rewind, Stream/Forward, Stream/Backward, List/StepUp, List/StepDown, List/PreviousElement, List/Shuffle, List/Repeat, Menu/Root, Menu/Option, Menu/Setup, Menu/Contents, Menu/Favorites, Menu/ElectronicProgramGuide, Menu/VideoOnDemand, Menu/Text, Menu/HbbTV,Menu/HomeControl, Device/Information, Device/Eject, Device/TogglePower, Device/Languages, Device/Subtitles, Device/OneWayJoin, Device/Mots, Record/Record, Generic/Blue, Generic/Red, Generic/Green, Generic/Yellow,
and the digits 0-9
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pybeoplay-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d30d9669efe31d7ce3816302955029efdcbe5f7043eb693a9609a880abaa175f |
|
MD5 | 60ae83edfabdc3570eb9c515c0cf13e8 |
|
BLAKE2b-256 | 868471d9c373d0ebb6147ea6c440fddd00a48320af64ba22cdae97681206e167 |