A python api for controlling logitech squeezeboxes via the squeezebox server.
Project description
Squeezebox Controller
A python interface for controlling logitech squeezeboxes via the squeezebox server.
The commands are sent over the JSON RPC interface to the local squeeze server.
For an explaination of the format of each command see here
Quick start:
Download from PyPI:
pip install squeezebox-controller
Usage:
from squeezebox_controller import SqueezeBoxController
controller = SqueezeBoxController("192.168.1.100", 9000)
params = {
"player": "Lounge",
"command": "PLAY"
}
controller.simple_command(params)
Parameter options:
command keys: [ "PLAY", "PAUSE", "POWER ON", "POWER OFF", "VOLUME UP", "VOLUME DOWN", "SLEEP", "SLEEP SONG", "SKIP", "PREVIOUS", "UNSYNC", "SHUFFLE OFF", "SHUFFLE SONGS", "SHUFFLE ALBUMS", "REPEAT OFF", "REPEAT SONG", "REPEAT PLAYLIST" ]
search types: ["SONG", "ALBUM", "ARTIST"]
queries keys: ["VOLUME", "NOW PLAYING"]
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 squeezebox-controller-0.13.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dffbbd29bfeb8b6810fc1c035815d04f6ff3c908bdc03e874085032576b24352 |
|
MD5 | 35ab977ced203c06d9fce4dd3bf8b75d |
|
BLAKE2b-256 | 9f42b6e6fe9767802ded74c3644f2d81b287240732ed9da05cf897e39aac75f5 |
Hashes for squeezebox_controller-0.13.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4e9c9e1e6f8dec4fd68a7055226a7b57a3fbd6ca487a9e20f3a6d0e251509b |
|
MD5 | ac49c09c7c7e392c5962fa961fba8e2c |
|
BLAKE2b-256 | b3351490386993713c7c5f5a771b28e102cba079c5a77dca5659020925021af0 |