diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-05-25 21:28:49 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-05-25 21:28:49 +0200 |
commit | bb08195a30cdf309f492231b88142d2d97c2a5ae (patch) | |
tree | 565d6fa8f316810f30f322c0916243b077ff3d82 | |
parent | 0fb03f9ac451f46147fde56a370b62f7f66765ef (diff) | |
parent | b4b59bf076d8d4ec22b489174707ecda72a1c06e (diff) |
Merge branch 'master' into ipv6
-rw-r--r-- | modules/url_titles.py | 2 |
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']])) |