add now playing to history

This commit is contained in:
2026-02-27 23:49:40 -08:00
parent 9979456719
commit d2d325ba46
2 changed files with 15 additions and 0 deletions

View File

@@ -20,6 +20,13 @@
<th>Title</th>
<th>Timestamp</th>
</tr>
{{if .NowPlayingTitle}}
<tr>
<td>{{.NowPlayingArtist}}</td>
<td>{{.NowPlayingTitle}}</td>
<td>Now Playing</td>
</tr>
{{end}}
{{$artists := .Artists}}
{{$times := .Times}}
{{range $index, $title := .Titles}}