feat: customize audio/video types (close #819)

This commit is contained in:
Xhofe
2022-03-26 17:10:37 +08:00
parent 0bc05a60b0
commit a5b757b251
2 changed files with 22 additions and 0 deletions

View File

@ -73,6 +73,20 @@ func InitSettings() {
Description: "text type extensions",
Group: model.FRONT,
},
{
Key: "audio types",
Value: strings.Join(conf.AudioTypes, ","),
Type: "string",
Description: "audio type extensions",
Group: model.FRONT,
},
{
Key: "video types",
Value: strings.Join(conf.VideoTypes, ","),
Type: "string",
Description: "video type extensions",
Group: model.FRONT,
},
{
Key: "d_proxy types",
Value: strings.Join(conf.DProxyTypes, ","),