Fixed libraryscan to ignore unmatchable tracks unless something changes that makes them matchable.

Fixed some persistent bugs that were bothering me regarding newartists, etc
This commit is contained in:
theguardian
2013-12-13 17:00:59 -08:00
parent b1a47a2a91
commit 5d41a3adb9
9 changed files with 87 additions and 45 deletions
+1 -1
View File
@@ -138,7 +138,7 @@
</tr>
%endfor
<%
unmatched = myDB.select('SELECT * from have WHERE ArtistName LIKE ? AND AlbumTitle LIKE ? AND Matched is null ORDER BY CAST(TrackNumber AS INTEGER)', [album['ArtistName'], album['AlbumTitle']])
unmatched = myDB.select('SELECT * from have WHERE ArtistName LIKE ? AND AlbumTitle LIKE ? AND Matched = "Failed" ORDER BY CAST(TrackNumber AS INTEGER)', [album['ArtistName'], album['AlbumTitle']])
%>
%if unmatched:
%for track in unmatched: