streaming rate on embeds, artist column

This commit is contained in:
Carl Pearson
2024-09-14 15:12:59 -06:00
parent e9efe35446
commit b198caaefc
5 changed files with 86 additions and 22 deletions

View File

@@ -54,7 +54,7 @@
</video>
</div>
<div class="video-download">
<a href="/data/{{.Filename}}" download>Download ({{.Size}})</a>
<a href="/data/{{.Filename}}" download>Download ({{.Size}}, {{.StreamRate}})</a>
</div>
{{end}}
@@ -67,7 +67,7 @@
</audio>
</div>
<div class="audio-download">
<a href="/data/{{.Filename}}" download>Download ({{.Size}})</a>
<a href="/data/{{.Filename}}" download>Download ({{.Size}}, {{.StreamRate}})</a>
</div>
{{end}}

View File

@@ -30,6 +30,7 @@
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>URL</th>
<th>Type</th>
<th>Status</th>
@@ -44,6 +45,7 @@
{{.Title}}
{{end}}
</td>
<td>{{.Artist}}</td>
<td><a href="{{.URL}}">{{.URL}}</a></td>
<td>
{{if .Audio}}