Skip to content

A python interface for controlling Logitech Squeezeboxes via the SqueezeboxServer

License

Notifications You must be signed in to change notification settings

miggland/squeezebox-controller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Squeezebox Controller

Documentation Status Build Status

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"]

About

A python interface for controlling Logitech Squeezeboxes via the SqueezeboxServer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%