{{define "admin_settings"}}{{template "header" .}}
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.
| Artist | Status | Error |
|---|---|---|
| {{.ArtistName}} | {{if .Error}}{{.Status}} {{else if eq .Status "fetched"}}{{.Status}} {{else}}{{.Status}}{{end}} | {{.Error}} |
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}} |