We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20de195 commit 0fa1abdCopy full SHA for 0fa1abd
src/mediaplayer
@@ -514,7 +514,10 @@ def update_progressbar(manager, player):
514
s[curr_line] = "<b>" + s[curr_line] + "</b>"
515
tooltip = f"<span variant='title-caps' font_weight='bold'>{s[0]}</span>\n"
516
tooltip += f"{s[1]}\n"
517
- tooltip += f"<i>{s[2]}</i>\n"
+ # Skip album in tooltip if we don't have it
518
+ s[2] = s[2].strip()
519
+ if s[2]:
520
+ tooltip += f"<i>{s[2]}</i>\n"
521
tooltip += "\n".join(s[3:])
522
write_output(widget_text, gen_class(perc), tooltip)
523
# It's important to return True to keep the handler going
0 commit comments