aboutsummaryrefslogtreecommitdiff
path: root/modules/lastfm.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-11-15 16:34:28 +0000
committerGravatar jesopo2019-11-15 16:34:28 +0000
commit90baf17d107c77372c1accc818762570a355faac (patch)
tree5de06c35303da7b408ddcd28402f5d3d136f1e3b /modules/lastfm.py
parentadd missing ">" in CHANGELOG.md (diff)
signature
boldify track/artist in !np output
Diffstat (limited to 'modules/lastfm.py')
-rw-r--r--modules/lastfm.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/lastfm.py b/modules/lastfm.py
index 8078dc54..9c18db14 100644
--- a/modules/lastfm.py
+++ b/modules/lastfm.py
@@ -87,11 +87,10 @@ class Module(ModuleManager.BaseModule):
play_count = " (%d play%s)" % (play_count,
"s" if play_count > 1 else "")
- event["stdout"].write(
- "%s %s: %s - %s%s%s%s" % (
- shown_username, time_language, artist, track_name,
- play_count,
- tags,
+ track = utils.irc.bold("%s - %s" % (artist, track_name))
+
+ event["stdout"].write("%s %s: %s%s%s%s" % (
+ shown_username, time_language, track, play_count, tags,
short_url))
else:
event["stderr"].write(