Add Overall Bitrate to metadata bar
This commit is contained in:
parent
e62aa2f740
commit
2ecf2e3d81
1 changed files with 3 additions and 2 deletions
|
@ -170,9 +170,10 @@
|
||||||
<li>Size: {{photo.bytestring()}}</li>
|
<li>Size: {{photo.bytestring()}}</li>
|
||||||
{% if photo.duration %}
|
{% if photo.duration %}
|
||||||
<li>Duration: {{photo.duration_string}}</li>
|
<li>Duration: {{photo.duration_string}}</li>
|
||||||
|
<li>Overall Bitrate: {{((photo.bytes / 128) / photo.duration)|int}} kbps</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="/file/{{photo.id}}{{photo.dot_extension}}?download=1">Download as {{photo.id}}.{{photo.extension}}</a></li>
|
<li><a href="/file/{{photo.id}}{{photo.dot_extension}}?download=1">Download as {{photo.id}}.{{photo.extension}}</a></li>
|
||||||
<li><a href="/file/{{photo.id}}{{photo.dot_extension}}?download=1&original_filename=1">Download as "{{photo.basename}}"</a></li>
|
<li><a href="/file/{{photo.id}}{{photo.dot_extension}}?download=1&original_filename=1">Download as "{{photo.basename}}"</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- CONTAINING ALBUMS -->
|
<!-- CONTAINING ALBUMS -->
|
||||||
|
|
Loading…
Reference in a new issue