Moved everything over to the new library scan - needs cleanup

This commit is contained in:
Remy
2011-08-15 19:54:11 -07:00
parent 22aef717d1
commit 4983852b07
8 changed files with 188 additions and 166 deletions
+27
View File
@@ -85,6 +85,33 @@
%endfor
</tbody>
</table>
<%
unmatched = myDB.select('SELECT * from have WHERE ArtistName LIKE ? AND AlbumTitle LIKE ?', [album['ArtistName'], album['AlbumTitle']])
%>
%if unmatched:
<table class="display" id="track_table">
<thead>
<tr>
<th id="number">#</th>
<th id="name">Track Title</th>
<th id="duration">Duration</th>
<th id="location">Local File</th>
<th id="bitrate">Bit Rate</th>
</tr>
</thead>
<tbody>
%for track in unmatched:
<tr class="gradeZ">
<td id="number">${track['TrackNumber']}</td>
<td id="name">${track['TrackTitle']}</td>
<td id="duration">${track['TrackLength']}</td>
<td id="location">${track['Location']}</td>
<td id="bitrate">${track['BitRate']}</td>
</tr>
%endfor
</tbody>
</table>
%endif
</div>
</div>
</%def>