From ed65790c4383d7126dc1fc8691a7b138c33d8976 Mon Sep 17 00:00:00 2001 From: real-zony Date: Sat, 15 May 2021 17:27:02 +0800 Subject: [PATCH] fix: Solve the problem of inconsistent configuration file keywords, causing some Option loading failures. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决配置文件关键字不一致,导致的部分 Option 加载失败。 --- src/ZonyLrcTools.Cli/appsettings.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ZonyLrcTools.Cli/appsettings.json b/src/ZonyLrcTools.Cli/appsettings.json index d373cad..0d6ba4b 100644 --- a/src/ZonyLrcTools.Cli/appsettings.json +++ b/src/ZonyLrcTools.Cli/appsettings.json @@ -16,7 +16,7 @@ "TagInfoProviderOptions": { "FileNameRegularExpressions": "(?'artist'.+)\\s-\\s(?'name'.+)" }, - "LyricDownloader": [ + "LyricDownloaderOptions": [ { "Name": "NetEase", "Priority": 1 @@ -29,6 +29,10 @@ "Name": "KuGou", "Priority": 3 } - ] + ], + "LyricOption": { + "IsOneLine": true, + "LineBreak": "\n" + } } } \ No newline at end of file