{{define "admin_settings"}}{{template "header" .}}
{{template "csrf_field" .CSRFToken}}
Go duration syntax, e.g. 30m, 1h, 6h.

Artist photos

{{if .Data.ArtistPhotosEnabled}}

Fetch a photo (fanart.tv when an artist has a tagged MusicBrainz ID and a key is configured, otherwise a direct name search against Wikidata/Wikimedia Commons) for every artist with no manually-set photo. This never calls MusicBrainz itself, so it isn't affected by its rate limits — matching by name alone is less precise, though. This bypasses any previously-cached "not found" result, so it's a good way to retry after fixing a config or network issue.

{{else}}

Automatic background fetching is disabled (VIBESONIC_ENABLE_ARTIST_PHOTOS=false), but this button still runs a one-off fetch — useful for checking why photos aren't showing up.

{{end}}
{{template "csrf_field" .CSRFToken}}
{{if .Data.ArtistPhotoResults}} {{range .Data.ArtistPhotoResults}} {{end}}
ArtistStatusError
{{.ArtistName}} {{if .Error}}{{.Status}} {{else if eq .Status "fetched"}}{{.Status}} {{else}}{{.Status}}{{end}} {{.Error}}
{{end}}

External authentication

Configured via VIBESONIC_EXTAUTH_* environment variables (restart required to change).

Enabled{{if .Data.ExtAuthEnabled}}Yes{{else}}No{{end}}
Trusted sources{{if .Data.ExtAuthTrustedSources}}{{.Data.ExtAuthTrustedSources}}{{else}}none configured{{end}}
Header{{.Data.ExtAuthHeader}}
{{template "footer" .}}{{end}}