fix(stage): name the presenter instead of a lone artwork glyph

This commit is contained in:
beefcarver committed 2026-11-03 17:51:29 -05:00
1 parent b31ad3f6fb
commit ba114599d0
2 files changed
+121 -3

No files matched your search

+6 -3
View File
@@ -140,11 +140,14 @@ class StageInfo(Widget):
album = Text(no_wrap=True)
if song.album:
album.append(truncate(song.album, max(8, width - 22)), style="dim")
if station.dj:
presenter = station.presenter_label
if presenter:
if song.album:
album.append(" · ", style="dim")
album.append(f"dj {truncate(station.dj, 18)}", style="dim")
if song.art_url:
album.append(truncate(presenter, max(8, width - 22)), style="dim")
# The marker means "there is artwork", not "here is a lone box":
# without album or presenter there is nothing for it to mark.
if song.art_url and album.plain.strip():
album.append(" ▣", style="cyan")
else:
artist = Text("waiting for track data…", style="italic yellow")