diff --git a/headphones/webserve.py b/headphones/webserve.py index 4eab7a8e..0b3823ef 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -204,7 +204,7 @@ class WebInterface(object): page.append('''No results!Go back''') return page elif len(artistResults) > 1: - page.append('''Search returned multiple artists. Click the artist you want to add:

''') + page.append('''
Search returned multiple artists. Click the artist you want to add:

''') for result in artistResults: artist = result.artist detail = artist.getDisambiguation() @@ -213,6 +213,7 @@ class WebInterface(object): else: disambiguation = '' page.append('''%s %s (more info)
''' % (u.extractUuid(artist.id), artist.name, disambiguation, u.extractUuid(artist.id))) + page.append('''
''')xs return page else: for result in artistResults: @@ -389,10 +390,10 @@ class WebInterface(object): ''') i = 0 - while i < len(albums): + while i < len(wanted): - if albums[i][3]: - albumart = '''


''' % (albums[i][3], albums[i][3]) + if wanted[i][3]: + albumart = '''


''' % (wanted[i][3], wanted[i][3]) else: albumart = 'No Album Art... yet.'