From 7a12f1bddd83491cf3a4bdd4119ba1904dd18627 Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Wed, 7 Sep 2022 19:18:19 +0800 Subject: [PATCH] chore: add `audio_cover` setting --- internal/bootstrap/data/setting.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/bootstrap/data/setting.go b/internal/bootstrap/data/setting.go index 689304cd810..98e1da2dff1 100644 --- a/internal/bootstrap/data/setting.go +++ b/internal/bootstrap/data/setting.go @@ -104,6 +104,7 @@ func InitialSettings() []model.SettingItem { // {Key: conf.PdfViewers, Value: `{ // "pdf.js":"https://alist-org.github.io/pdf.js/web/viewer.html?file=$url" //}`, Type: conf.TypeText, Group: model.PREVIEW}, + {Key: "audio_cover", Value: "https://jsd.nn.ci/gh/alist-org/logo@main/logo.svg", Type: conf.TypeString, Group: model.PREVIEW}, {Key: conf.AudioAutoplay, Value: "true", Type: conf.TypeBool, Group: model.PREVIEW}, {Key: conf.VideoAutoplay, Value: "true", Type: conf.TypeBool, Group: model.PREVIEW}, // global settings