A python api for controlling logitech squeezeboxes via the squeezebox server.
Project description
Squeezebox Controller
A python 3 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file squeezebox-controller-1.0.4.tar.gz.
File metadata
- Download URL: squeezebox-controller-1.0.4.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d66a853e4a87a0b00827b08894f3e20426df986f858f8261b34f0ce662d6e055
|
|
| MD5 |
e56ac1c58ea920a148edbc1e28b7204b
|
|
| BLAKE2b-256 |
b77068f5464ab179bcd39f02c322ef5abc04a98fd14ebd095e48884a29dc0ea6
|
File details
Details for the file squeezebox_controller-1.0.4-py3-none-any.whl.
File metadata
- Download URL: squeezebox_controller-1.0.4-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60e24afecf9e7d663ffb4eae9cfd2a0cdc519697cacc8d5bab2cbf13aec50747
|
|
| MD5 |
b9f2e25b3de4456d57fddefec21ac336
|
|
| BLAKE2b-256 |
755c952f27b172afb3f5e11fd2e6733f40caf83e466b8ba7483d945c3e8466e4
|