option to substitute "Jellyfin" in form.html

setting is jellyfin/substitute_jellyfin_strings.
This commit is contained in:
Harvey Tindall
2021-01-10 15:51:04 +00:00
committed by Harvey Tindall
parent f5602f1e96
commit 8d0dc232d7
7 changed files with 37 additions and 64 deletions
+1
View File
@@ -1050,6 +1050,7 @@ func (app *appContext) ApplySettings(gc *gin.Context) {
"homescreen": map[string]string{},
}
for _, id := range req.ApplyTo {
fmt.Printf("%+v\n", policy)
status, err := app.jf.SetPolicy(id, policy)
if !(status == 200 || status == 204) || err != nil {
errors["policy"][id] = fmt.Sprintf("%d: %s", status, err)