From 7ffaef0de6959bfad49210f6c2c0b0cc71aef910 Mon Sep 17 00:00:00 2001 From: Xhofe Date: Mon, 28 Mar 2022 21:53:57 +0800 Subject: [PATCH] fix: audio and video types --- model/setting.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/setting.go b/model/setting.go index 7cb7e26c..fa41d814 100644 --- a/model/setting.go +++ b/model/setting.go @@ -93,11 +93,11 @@ func LoadSettings() { if err == nil { conf.TextTypes = strings.Split(textTypes.Value, ",") } - audioTypes, err := GetSettingByKey("text types") + audioTypes, err := GetSettingByKey("audio types") if err == nil { conf.AudioTypes = strings.Split(audioTypes.Value, ",") } - videoTypes, err := GetSettingByKey("text types") + videoTypes, err := GetSettingByKey("video types") if err == nil { conf.VideoTypes = strings.Split(videoTypes.Value, ",") }