diff --git a/webServer.py b/webServer.py index 705290f2..00a66d54 100644 --- a/webServer.py +++ b/webServer.py @@ -173,7 +173,12 @@ class Headphones: page.append('''Search returned multiple artists. Click the artist you want to add:

''') for result in artistResults: artist = result.artist - page.append('''%s (more info)
''' % (u.extractUuid(artist.id), artist.name, u.extractUuid(artist.id))) + detail = artist.getDisambiguation() + if detail: + disambiguation = '(%s)' % detail + else: + disambiguation = '' + page.append('''%s %s (more info)
''' % (u.extractUuid(artist.id), artist.name, disambiguation, u.extractUuid(artist.id))) return page else: for result in artistResults: