mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-07-01 20:30:41 +00:00
feat: Upgraded the versions of the packages that the project depends on.
This commit is contained in:
parent
888c7f511b
commit
be538eb650
@ -1,49 +1,51 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageVersion Include="McMaster.Extensions.CommandLineUtils" Version="4.1.1"/>
|
<PackageVersion Include="FluentAvaloniaUI" Version="2.0.5" />
|
||||||
<PackageVersion Include="McMaster.Extensions.Hosting.CommandLine" Version="4.1.1"/>
|
<PackageVersion Include="FluentIcons.Avalonia.Fluent" Version="1.1.244" />
|
||||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0"/>
|
<PackageVersion Include="McMaster.Extensions.CommandLineUtils" Version="4.1.1" />
|
||||||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.0"/>
|
<PackageVersion Include="McMaster.Extensions.Hosting.CommandLine" Version="4.1.1" />
|
||||||
<PackageVersion Include="QRCoder" Version="1.5.1"/>
|
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
|
||||||
<PackageVersion Include="Serilog.Extensions.Hosting" Version="8.0.0"/>
|
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
|
||||||
<PackageVersion Include="Serilog.Sinks.Async" Version="1.5.0"/>
|
<PackageVersion Include="QRCoder" Version="1.5.1" />
|
||||||
<PackageVersion Include="Serilog.Sinks.Console" Version="5.0.1"/>
|
<PackageVersion Include="Serilog.Extensions.Hosting" Version="8.0.0" />
|
||||||
<PackageVersion Include="Serilog.Sinks.File" Version="5.0.0"/>
|
<PackageVersion Include="Serilog.Sinks.Async" Version="2.0.0" />
|
||||||
<PackageVersion Include="System.Text.Encoding.CodePages" Version="8.0.0"/>
|
<PackageVersion Include="Serilog.Sinks.Console" Version="6.0.0" />
|
||||||
<PackageVersion Include="Polly" Version="8.4.0"/>
|
<PackageVersion Include="Serilog.Sinks.File" Version="6.0.0" />
|
||||||
<PackageVersion Include="TagLibSharp" Version="2.3.0"/>
|
<PackageVersion Include="System.Text.Encoding.CodePages" Version="8.0.0" />
|
||||||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3"/>
|
<PackageVersion Include="Polly" Version="8.4.0" />
|
||||||
<PackageVersion Include="NetEscapades.Configuration.Yaml" Version="3.1.0"/>
|
<PackageVersion Include="TagLibSharp" Version="2.3.0" />
|
||||||
<PackageVersion Include="MusicDecrypto.Library" Version="2.4.0"/>
|
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0"/>
|
<PackageVersion Include="NetEscapades.Configuration.Yaml" Version="3.1.0" />
|
||||||
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0"/>
|
<PackageVersion Include="MusicDecrypto.Library" Version="2.4.0" />
|
||||||
<PackageVersion Include="AutoMapper" Version="13.0.1"/>
|
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
|
||||||
<PackageVersion Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1"/>
|
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
||||||
<PackageVersion Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.6"/>
|
<PackageVersion Include="AutoMapper" Version="13.0.1" />
|
||||||
<PackageVersion Include="Microsoft.Extensions.FileProviders.Embedded" Version="8.0.6"/>
|
<PackageVersion Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
|
||||||
<PackageVersion Include="SuperSocket.WebSocket" Version="2.0.0-beta.11"/>
|
<PackageVersion Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.6" />
|
||||||
<PackageVersion Include="SuperSocket.WebSocket.Server" Version="2.0.0-beta.11"/>
|
<PackageVersion Include="Microsoft.Extensions.FileProviders.Embedded" Version="8.0.6" />
|
||||||
<!-- Testing Projects -->
|
<PackageVersion Include="SuperSocket.WebSocket" Version="2.0.0-beta.11" />
|
||||||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0"/>
|
<PackageVersion Include="SuperSocket.WebSocket.Server" Version="2.0.0-beta.11" />
|
||||||
<PackageVersion Include="Shouldly" Version="4.2.1"/>
|
<!-- Testing Projects -->
|
||||||
<PackageVersion Include="xunit" Version="2.8.1"/>
|
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
|
||||||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.1">
|
<PackageVersion Include="Shouldly" Version="4.2.1" />
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PackageVersion Include="xunit" Version="2.8.1" />
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.1">
|
||||||
</PackageVersion>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<PackageVersion Include="coverlet.collector" Version="6.0.2">
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
<PrivateAssets>all</PrivateAssets>
|
</PackageVersion>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<PackageVersion Include="coverlet.collector" Version="6.0.2">
|
||||||
</PackageVersion>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<!-- Avalonia -->
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
<PackageVersion Include="Avalonia" Version="11.0.10"/>
|
</PackageVersion>
|
||||||
<PackageVersion Include="Avalonia.Desktop" Version="11.0.10"/>
|
<!-- Avalonia -->
|
||||||
<PackageVersion Include="Avalonia.Themes.Fluent" Version="11.0.10"/>
|
<PackageVersion Include="Avalonia" Version="11.0.11" />
|
||||||
<PackageVersion Include="Avalonia.Fonts.Inter" Version="11.0.10"/>
|
<PackageVersion Include="Avalonia.Desktop" Version="11.0.11" />
|
||||||
<PackageVersion Include="Avalonia.ReactiveUI" Version="11.0.10"/>
|
<PackageVersion Include="Avalonia.Themes.Fluent" Version="11.0.11" />
|
||||||
<PackageVersion Include="Avalonia.Diagnostics" Version="11.0.6"/>
|
<PackageVersion Include="Avalonia.Fonts.Inter" Version="11.0.11" />
|
||||||
</ItemGroup>
|
<PackageVersion Include="Avalonia.ReactiveUI" Version="11.0.11" />
|
||||||
|
<PackageVersion Include="Avalonia.Diagnostics" Version="11.0.11" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -9,7 +9,6 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Models\"/>
|
|
||||||
<AvaloniaResource Include="Assets\**"/>
|
<AvaloniaResource Include="Assets\**"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
@ -21,5 +20,18 @@
|
|||||||
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||||
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics"/>
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics"/>
|
||||||
<PackageReference Include="Avalonia.ReactiveUI"/>
|
<PackageReference Include="Avalonia.ReactiveUI"/>
|
||||||
|
<PackageReference Include="FluentAvaloniaUI" />
|
||||||
|
<PackageReference Include="FluentIcons.Avalonia.Fluent" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\ZonyLrcTools.Common\ZonyLrcTools.Common.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Remove="config.yaml"/>
|
||||||
|
<Content Include="config.yaml">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
61
src/ZonyLrcTools.Desktop/config.yaml
Normal file
61
src/ZonyLrcTools.Desktop/config.yaml
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
globalOption:
|
||||||
|
# 允许扫描的歌曲文件后缀名。
|
||||||
|
supportFileExtensions:
|
||||||
|
- '*.mp3'
|
||||||
|
- '*.flac'
|
||||||
|
- '*.wav'
|
||||||
|
- '*.m4a'
|
||||||
|
- '*.ogg'
|
||||||
|
- '*.opus'
|
||||||
|
# 网络代理服务设置,仅支持 HTTP 代理。
|
||||||
|
networkOptions:
|
||||||
|
isEnable: false # 是否启用代理。
|
||||||
|
ip: 127.0.0.1 # 代理服务 IP 地址。
|
||||||
|
port: 4780 # 代理服务端口号。
|
||||||
|
updateUrl: https://api.myzony.com/lrc-tools/update # 更新检查地址。
|
||||||
|
|
||||||
|
# 下载器的相关参数配置。
|
||||||
|
provider:
|
||||||
|
# 标签扫描器的相关参数配置。
|
||||||
|
tag:
|
||||||
|
# 支持的标签扫描器。
|
||||||
|
plugin:
|
||||||
|
- name: Taglib # 基于 Taglib 库的标签扫描器。
|
||||||
|
priority: 1 # 优先级,升序排列。
|
||||||
|
- name: FileName # 基于文件名的标签扫描器。
|
||||||
|
priority: 2
|
||||||
|
# 基于文件名扫描器的扩展参数。
|
||||||
|
extensions:
|
||||||
|
# 正则表达式,用于匹配文件名中的作者信息和歌曲信息,可根据
|
||||||
|
# 自己的需求进行调整。
|
||||||
|
regularExpressions: "(?'artist'.+)\\s-\\s(?'name'.+)"
|
||||||
|
# 歌曲标签屏蔽字典替换功能。
|
||||||
|
blockWord:
|
||||||
|
isEnable: false # 是否启用屏蔽字典。
|
||||||
|
filePath: 'BlockWords.json' # 屏蔽字典的路径。
|
||||||
|
# 歌词下载器的相关参数配置。
|
||||||
|
lyric:
|
||||||
|
# 支持的歌词下载器。
|
||||||
|
plugin:
|
||||||
|
- name: NetEase # 基于网易云音乐的歌词下载器。
|
||||||
|
priority: 1 # 优先级,升序排列,改为 -1 时禁用。
|
||||||
|
depth: 10 # 搜索深度,值越大搜索结果越多,但搜索时间越长。
|
||||||
|
additional:
|
||||||
|
isEnableRomanOutput: false # 是否启用罗马音输出,本参数仅当对应歌曲有罗马音歌词时有效。
|
||||||
|
- name: QQ # 基于 QQ 音乐的歌词下载器。
|
||||||
|
priority: 2
|
||||||
|
# depth: 10 # 暂时不支持。
|
||||||
|
- name: KuGou # 基于酷狗音乐的歌词下载器。
|
||||||
|
priority: 3
|
||||||
|
depth: 10
|
||||||
|
- name: KuWo # 基于酷我音乐的歌词下载器。
|
||||||
|
priority: 4
|
||||||
|
depth: 10
|
||||||
|
# 歌词下载的一些共有配置参数。
|
||||||
|
config:
|
||||||
|
isOneLine: true # 双语歌词是否合并为一行展示。
|
||||||
|
lineBreak: "\n" # 换行符的类型,记得使用双引号指定。
|
||||||
|
isEnableTranslation: true # 是否启用翻译歌词。
|
||||||
|
isOnlyOutputTranslation: false # 是否只输出翻译歌词。
|
||||||
|
isSkipExistLyricFiles: false # 如果歌词文件已经存在,是否跳过这些文件。
|
||||||
|
fileEncoding: 'utf-8' # 歌词文件的编码格式。
|
Loading…
x
Reference in New Issue
Block a user