feat(stage): show Bandcamp link in ON AIR

This commit is contained in:
beefcarver committed 2026-10-30 15:12:37 +00:00
1 parent 8e1c0a64eb
commit 66729c7542
4 files changed
+81 -3

No files matched your search

+10 -2
View File
@@ -161,7 +161,7 @@ class StageInfo(Widget):
notice = Text(truncate(app.notice, width), style="italic yellow")
return [
details = [
heading,
description,
Text(""),
@@ -170,8 +170,16 @@ class StageInfo(Widget):
title,
album,
meta,
notice,
]
if song is not None and song.bandcamp_url:
link = Text(no_wrap=True)
link.append(
"Bandcamp ↗",
style=f"bold cyan link {song.bandcamp_url}",
)
details.append(link)
details.append(notice)
return details
class HistoryPane(Widget):