summaryrefslogtreecommitdiff
path: root/app/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/app.go')
-rw-r--r--app/app.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/app.go b/app/app.go
index 902b932..ac377be 100644
--- a/app/app.go
+++ b/app/app.go
@@ -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(),
}