Updated the newzbin url in searcher.py

This commit is contained in:
rembo10
2012-03-21 23:57:19 +00:00
12 changed files with 164 additions and 49 deletions
+9 -1
View File
@@ -54,6 +54,7 @@
<th id="duration">Duration</th>
<th id="location">Local File</th>
<th id="bitrate">Bit Rate</th>
<th id="format">Format</th>
</tr>
</thead>
<tbody>
@@ -75,6 +76,11 @@
trackduration = helpers.convert_milliseconds(track['TrackDuration'])
except:
trackduration = 'n/a'
if not track['Format']:
format = 'Unknown'
else:
format = track['Format']
%>
<tr class="grade${grade}">
<td id="number">${track['TrackNumber']}</td>
@@ -82,6 +88,7 @@
<td id="duration">${trackduration}</td>
<td id="location">${location}</td>
<td id="bitrate">${bitrate}</td>
<td id="format">${format}</td>
</tr>
%endfor
<%
@@ -98,6 +105,7 @@
<td id="duration">${duration}</td>
<td id="location">${track['Location']}</td>
<td id="bitrate">${int(track['BitRate'])/1000} kbps</td>
<td id="format">${track['Format']}</td>
</tr>
%endfor
%endif
@@ -125,4 +133,4 @@
});
});
</script>
</%def>
</%def>