feat(stage): show Bandcamp link in ON AIR
This commit is contained in:
1 parent
8e1c0a64eb
commit
66729c7542
4 files changed
+81
-3
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user