diff --git a/data/css/style.css b/data/css/style.css index 2632ced6..57735a2e 100644 --- a/data/css/style.css +++ b/data/css/style.css @@ -99,6 +99,10 @@ h1{ font-size: 16px; margin-left: 100px; } +.logtext{ + font-size: 14px; + padding: 4px + } .bigtext{ font-size: 22px; } diff --git a/headphones/mb.py b/headphones/mb.py index bd71f89c..dca525af 100644 --- a/headphones/mb.py +++ b/headphones/mb.py @@ -25,14 +25,12 @@ def findArtist(name, limit=1): chars = set('!?') if any((c in chars) for c in name): - term = '"'+name+'"' - else: - term = name + name = '"'+name+'"' while attempt < 5: try: - artistResults = q.getArtists(ws.ArtistFilter(query=term, limit=limit)) + artistResults = q.getArtists(ws.ArtistFilter(query=name, limit=limit)) break except WebServiceError, e: logger.warn('Attempt to query MusicBrainz for %s failed: %s' % (name, e)) diff --git a/headphones/templates.py b/headphones/templates.py index 979920f4..993219b3 100644 --- a/headphones/templates.py +++ b/headphones/templates.py @@ -34,6 +34,7 @@ _nav = '''