diff options
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(), } |
