Changed album search from cduniverse.com to freedb.org.
This commit is contained in:
parent
c6832dfebe
commit
6d87523bbf
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ songsearch='http://www.lyricsstation.com/search.asp?R1=V1&txtSearch='
|
||||||
bandsearch='"http://www.google.com/search?cat=gwd%2FTop%2FArts%2FMusic&q='
|
bandsearch='"http://www.google.com/search?cat=gwd%2FTop%2FArts%2FMusic&q='
|
||||||
|
|
||||||
# The album search URL
|
# The album search URL
|
||||||
albumsearch='http://www.cduniverse.com/sresult.asp?HT_Search=TITLE&HT_Search_Info='
|
albumsearch='http://www.freedb.org/freedb_search.php?allfields=NO&fields=artist&fields=title&allcats=YES&grouping=cats&words='
|
||||||
|
|
||||||
|
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
|
@ -89,7 +89,7 @@ if len(sys.argv) > 1:
|
||||||
|
|
||||||
# Album
|
# Album
|
||||||
if len(m.group(3)) >= 1:
|
if len(m.group(3)) >= 1:
|
||||||
song += '<td><a href="' + albumsearch + urllib.quote_plus(m.group(3)) + '" target="_blank">' + cgi.escape(m.group(3)) + '</a></td>'
|
song += '<td><a href="' + albumsearch + urllib.quote_plus(m.group(1) + ' ' + m.group(3)) + '" target="_blank">' + cgi.escape(m.group(3)) + '</a></td>'
|
||||||
else:
|
else:
|
||||||
song += '<td><font color="gray">n/a</font></td>'
|
song += '<td><font color="gray">n/a</font></td>'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue