Idea: command to get current status/info about currently running sendspin Daemon

Open
#159 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start by reading the existing sendspin CLI command structure and the TUI window's displayed status information. Clarify with maintainers whether the command should provide plain text, JSON, or both, and which fields are required. Done means a defined status command format and behavior that scripts can reliably consume.

Written by the indexing model from the issue text.

Description

Finding it would be convenient to have a 'sendspin status' or something that gave some of the information that the TUI window might give if you were running it live. Doesn't have to be much, and it could be output in a machine readable format like JSON if possible so scripts and such could easily read it, or it could be presented simply in plain text lines, either way.

Example:

$ sendspin status
Name: Kitchen
ID: kitchen-music
Status: Connected
Server: 192.168.1.9
Port: 8927
Codec: FLAC
Bit depth: 24 bit
Sample rate: 48 kHz
Volume: 25%
Play State: Playing
Track: Rondo a la Turk
Album: Time Out
Artist: Dave Brubeck
Progress: 1:27 / 6:43

etc.

(or in JSON, or by JSON via i.e. sendspin status-json -- I would use this in my sendspin-fleet script, for example, that allows me to aggregate info and actions across my 6 sendspin-cli speakers)

Dominant language
Python
Stars
190
Forks
36
Avg merge
11d 19h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Sendspin/sendspin-python-cli

All issues in Sendspin/sendspin-python-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.