Skip to main content

A command line interface to control your Squeezebox

Project description

squeezebox-cli pipeline status coverage report

A command line interface to control Squeezebox players.

Installation

% pip install squeezebox-cli

Configuration

Optionally, the host and port for your Logitech Media Server instance can be configured in ~/.squeezebox-cli.toml

[server]
host = your-hostname
port = your-port

Usage

Try:

% squeezebox-cli --help

and explore from there.

List the connected players:

% squeezebox-cli players
  index  name         is playing?
-------  -----------  -------------
      0  Dining Room  no
      1  Kitchen      no
      2  Lounge       no
%

Show a player's status (short):

% squeezebox-cli player 0 status
[Dining Room] <stop> vol:23/100 2/13 The Goodman [>>The Daughter of Megan]

Show a player's status (long):

% squeezebox-cli player 0 status
[Dining Room] <stop> vol:23/100 2/11 The Goodman [>>The Daughter of Megan]
         index  title                                   album                 artist
-----  -------  --------------------------------------  --------------------  ----------
             1  The Village Green Preservation Society  Awkward Annie         Kate Rusby
>>>          2  The Goodman                             Underneath the Stars  Kate Rusby
             3  The Daughter of Megan                   Underneath the Stars  Kate Rusby
             4  Cruel                                   Underneath the Stars  Kate Rusby
             5  The Blind Harper                        Underneath the Stars  Kate Rusby
             6  The White Cockade                       Underneath the Stars  Kate Rusby
             7  Falling                                 Underneath the Stars  Kate Rusby
             8  Bring Me a Boat                         Underneath the Stars  Kate Rusby
             9  Polly                                   Underneath the Stars  Kate Rusby
            10  Sweet William's Ghost                   Underneath the Stars  Kate Rusby
            11  Underneath the Stars                    Underneath the Stars  Kate Rusby
%

Monitor a player:

% squeezebox-cli player 0 monitor
    Track:                                   Album:                 Artist:
  1: The Village Green Preservation Society : Awkward Annie        : Kate Rusby
  2: The Goodman                            : Underneath the Stars : Kate Rusby
  3: The Daughter of Megan                  : Underneath the Stars : Kate Rusby
  4: Cruel                                  : Underneath the Stars : Kate Rusby
  5: The Blind Harper                       : Underneath the Stars : Kate Rusby
  6: The White Cockade                      : Underneath the Stars : Kate Rusby
  7: Falling                                : Underneath the Stars : Kate Rusby
  8: Bring Me a Boat                        : Underneath the Stars : Kate Rusby
  9: Polly                                  : Underneath the Stars : Kate Rusby
 10: Sweet William's Ghost                  : Underneath the Stars : Kate Rusby
 11: Underneath the Stars                   : Underneath the Stars : Kate Rusby



Dining Room 2/11 The Goodman <stop> vol:23/100

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

squeezebox_cli-0.2.3.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

squeezebox_cli-0.2.3-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file squeezebox_cli-0.2.3.tar.gz.

File metadata

  • Download URL: squeezebox_cli-0.2.3.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for squeezebox_cli-0.2.3.tar.gz
Algorithm Hash digest
SHA256 2b1322f799299737d295851c938967428cd0ad765f353e0eefb30a6008fca109
MD5 0c85ca5f4d43acc076bb6e55aaaae942
BLAKE2b-256 2f55967304b021356490aec6ab99a22f54126a960ff2a2c2084931373844c72f

See more details on using hashes here.

File details

Details for the file squeezebox_cli-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for squeezebox_cli-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8ffc62383b2b2351840f3c534918153ec93b0317e00791005b024955d0446cb5
MD5 21c05b4da0282b7711595235dd841bbd
BLAKE2b-256 1c273122c8ae5a4b12614adf90e7aaaaa4825138cdf71a1ec4e93ce8ba2181a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page