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.1.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

squeezebox_cli-0.2.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: squeezebox_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 27.1 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.1.tar.gz
Algorithm Hash digest
SHA256 47e3b19b9b770f87b708c5517c24de0857a7852d1f8978a1f6aca26c32427c77
MD5 08f6f68bde8114d7ef050f8389ec56e6
BLAKE2b-256 494165eb5c062b3902c048486a100a47c2f1f013a9523ff2457b896e0db84468

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for squeezebox_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e10a49d72a962a144a3608bf876462f14738cdfa928a405f4b0530be8f28f07
MD5 679fd64e93e89bced3d05040e19c58f0
BLAKE2b-256 8337cc918bf41d5c0ebbb0ff7df862a6a83167209803e3a9a4b1422cae9f0787

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