summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/url_titles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/url_titles.py b/modules/url_titles.py
index 11c0472..d5408ce 100644
--- a/modules/url_titles.py
+++ b/modules/url_titles.py
@@ -24,7 +24,7 @@ class Module:
if data['type'] == 'artist':
return 'Spotify artist: %s' % data['result']['name']
elif data['type'] == 'track':
- return 'Spotify track: %s - %s' % (data['result']['artist']['name'], data['result']['artist']['name'])
+ return 'Spotify track: %s - %s (%s)' % (data['result']['artist']['name'], data['result']['name'], data['result']['album']['name'])
elif data['type'] == 'album':
return u'Spotify album: %s (%d) by %s' % (data['result']['name'], data['result']['released'],
', '.join([x['name'] for x in data['result']['artists']]))