mirror of
https://github.com/riwiwa/muzi.git
synced 2026-02-28 11:56:57 -08:00
add now playing to history
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user