{{define "admin_jukebox"}}{{template "header" .}} {{if not .Data.Available}}
The jukebox is not available: no mpv binary was found on this server. Install mpv and restart VibeSonic to enable server-side jukebox playback.
{{else}}

Status

{{if .Data.Error}}

{{.Data.Error}}

{{else}}
Playing{{.Data.Status.Playing}}
Current index{{.Data.Status.CurrentIndex}}
Position{{.Data.Status.PositionSecs}}s
Gain{{.Data.Status.Gain}}
Playlist length{{len .Data.Status.SongIDs}}
{{end}}
{{template "csrf_field" .CSRFToken}}
{{template "csrf_field" .CSRFToken}}
{{template "csrf_field" .CSRFToken}}

Build a jukebox playlist from a Subsonic client (e.g. DSub, Symfonium) using the jukeboxControl API — this page is for server status and emergency stop/clear only.

{{end}} {{template "footer" .}}{{end}}