docs(readme): document Bandcamp track links
This commit is contained in:
1 parent
66729c7542
commit
8393432f97
1 file changed
+5
-1
@@ -28,7 +28,8 @@ the public SomaFM endpoints and open protocols.
|
|||||||
Images are cached in `~/.cache/somafm-tui/artwork`.
|
Images are cached in `~/.cache/somafm-tui/artwork`.
|
||||||
- **Now playing** — artist, title, album, DJ, listeners, format/bitrate and
|
- **Now playing** — artist, title, album, DJ, listeners, format/bitrate and
|
||||||
"played N minutes ago", with procedural ANSI-shaded album art that changes
|
"played N minutes ago", with procedural ANSI-shaded album art that changes
|
||||||
per track.
|
per track. When the current track can be found on Bandcamp, a clickable
|
||||||
|
**Bandcamp ↗** link appears below it; otherwise the line stays hidden.
|
||||||
- **Last played** — the full recent history from `somafm.com/songs/<id>.json`.
|
- **Last played** — the full recent history from `somafm.com/songs/<id>.json`.
|
||||||
- **Every station** — the whole `channels.json` roster (≈50 channels), live
|
- **Every station** — the whole `channels.json` roster (≈50 channels), live
|
||||||
listener counts, genre search.
|
listener counts, genre search.
|
||||||
@@ -190,6 +191,9 @@ containers, …) MPRIS is skipped and the status bar shows `mpris off`.
|
|||||||
downsampling.
|
downsampling.
|
||||||
- `somafm_tui/mpris.py` — `dbus-next` MPRIS service in its own thread with a
|
- `somafm_tui/mpris.py` — `dbus-next` MPRIS service in its own thread with a
|
||||||
thread-safe command queue back into the UI.
|
thread-safe command queue back into the UI.
|
||||||
|
- `somafm_tui/bandcamp.py` — searches Bandcamp's public autocomplete API for
|
||||||
|
the now-playing track (artist + track first, then artist + album, then the
|
||||||
|
album page) and returns a track URL when there is a match.
|
||||||
- `somafm_tui/widgets/` — Textual widgets rendered with native ANSI colours;
|
- `somafm_tui/widgets/` — Textual widgets rendered with native ANSI colours;
|
||||||
backgrounds are `ansi_default` (`SGR 49`), so transparent terminals stay
|
backgrounds are `ansi_default` (`SGR 49`), so transparent terminals stay
|
||||||
transparent.
|
transparent.
|
||||||
|
|||||||
Reference in new issue
Block a user