Most of the default search options are broken or don't work reliably.
I've created a branch of Subsonic where I've changed a LOT of things, these search buttons being one of them.
If you aren't interested in completely switching over, you can fix these search features by opening the file jetty/2384/webapp/WEB-INF/jsp/main.jsp
Find these codes
- Code: Select all
<sub:url value="http://www.google.com/musicsearch" var="googleUrl" encoding="UTF-8">
<sub:param name="q" value="\"${artist}\" \"${album}\""/>
</sub:url>
<sub:url value="http://en.wikipedia.org/wiki/Special:Search" var="wikipediaUrl" encoding="UTF-8">
<sub:param name="search" value="\"${album}\""/>
<sub:param name="go" value="Go"/>
</sub:url>
<sub:url value="allmusic.view" var="allmusicUrl">
<sub:param name="album" value="${album}"/>
</sub:url>
<sub:url value="http://www.last.fm/search" var="lastFmUrl" encoding="UTF-8">
<sub:param name="q" value="\"${artist}\" \"${album}\""/>
<sub:param name="type" value="album"/>
</sub:url>
And change it to these:
- Code: Select all
<sub:url value="http://www.google.com/search" var="googleUrl" encoding="UTF-8">
<sub:param name="q" value="\"${artist}\" \"${album}\""/>
</sub:url>
<sub:url value="http://www.google.com/search" var="wikipediaUrl" encoding="UTF-8">
<sub:param name="q" value="site:wikipedia.org \"${artist}\" \"${album}\""/>
<sub:param name="btnI" value="I\'m+Feeling+Lucky"/>
</sub:url>
<sub:url value="http://www.google.com/search" var="allmusicUrl" encoding="UTF-8">
<sub:param name="q" value="site:allmusic.com \"${artist}\" \"${album}\""/>
<sub:param name="btnI" value="I\'m+Feeling+Lucky"/>
</sub:url>
<sub:url value="http://www.google.com/search" var="lastFmUrl" encoding="UTF-8">
<sub:param name="q" value="site:last.fm album \"${artist}\" \"${album}\""/>
<sub:param name="btnI" value="I\'m+Feeling+Lucky"/>
</sub:url>
This will make all of the search buttons use Google's I'm Feeling Lucky search feature to search the specific site by "site: ...com" for the specific tags, then go to the first option.
It seems to provide more accurate results for most of the artists and albums that I've tried.