diff options
| author | James Mills <prologic@shortcircuit.net.au> | 2020-03-26 01:01:35 +1000 |
|---|---|---|
| committer | James Mills <prologic@shortcircuit.net.au> | 2020-03-26 01:01:35 +1000 |
| commit | 7fa7a38167415301a9a01735d2eb354542c11dcb (patch) | |
| tree | 0389042f505c36a32ad9f9cbd2ed71e74f34f77f /app/app.go | |
| parent | bcd79ba2c55de3202f1e9b4b9b6070b36cfdb7db (diff) | |
Add a footer
Diffstat (limited to 'app/app.go')
| -rw-r--r-- | app/app.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -166,9 +166,11 @@ func (a *App) indexHandler(w http.ResponseWriter, r *http.Request) { http.Redirect(w, r, fmt.Sprintf("/v/%s?%s", pl[0].ID, r.URL.RawQuery), 302) } else { ctx := &struct { + Sort string Playing *media.Video Playlist media.Playlist }{ + Sort: "", Playing: &media.Video{ID: ""}, Playlist: a.Library.Playlist(), } |
