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

Aperta
#159 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)

Lingua principale
Python
Stelle
190
Fork
36
Merge medio
11g 19h
PR unite (30g)
2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Sendspin/sendspin-python-cli

Tutte le issue di Sendspin/sendspin-python-cli

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.