From c639414ec3f068f506e9f2d19f9c068682d8dceb Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Fri, 15 Aug 2003 19:08:09 +0000 Subject: [PATCH] Fixed a problem with table layout when the song is not available. Periods (.) are now also stripped from the album search query. --- xmmslist.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xmmslist.py b/xmmslist.py index 08279b7..39d2a71 100755 --- a/xmmslist.py +++ b/xmmslist.py @@ -54,7 +54,7 @@ songsearch='http://www.lyricsstation.com/search.asp?R1=V1&txtSearch=' bandtip='Search for this artist on Google.' bandsearch='"http://www.google.com/search?cat=gwd%2FTop%2FArts%2FMusic&q=' -# The album search tooltip URL +# The album search tooltip and URL albumtip='Search for this album on freedb.' albumsearch='http://www.freedb.org/freedb_search.php?allfields=NO&fields=artist&fields=title&allcats=YES&grouping=cats&words=' @@ -72,11 +72,11 @@ if len(sys.argv) > 1: except IOError: lines = '' - song = '' + song = '' # Song if len(m.group(2)) >= 1: - song += '' + cgi.escape(m.group(2)) + '' + song += '' + cgi.escape(m.group(2)) + '' else: song += 'n/a' @@ -92,7 +92,7 @@ if len(sys.argv) > 1: # Album if len(m.group(3)) >= 1: - song += '' + cgi.escape(m.group(3)) + '' + song += '' + cgi.escape(m.group(3)) + '' else: song += 'n/a'