mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2026-11-24 03:37:47 +08:00
1c0f8e8d3a5aa04c984df68d183d3719f01c28b3
三个问题会让单个坏文件毁掉整次任务: 1. LoggerHelper.LogWarningInfo 在错误码小于 50000 时会把异常重新抛出。 而这个方法的所有调用点都在 catch 块里,异常于是穿透调用方的 catch, 整批任务就此中断。现在它只负责记录,要不要往上抛由调用方决定。 2. LyricsDownloader 把"这个源没返回歌词"当成了"这首歌是纯音乐":它把 IsSuccessful 置为 true 并跳出 provider 循环,后面的源根本没被问到。 现在只有真正拿到歌词才算成功;空结果会继续问下一个源,所有源都为空 才判为跳过。 3. LyricsDownloader 在写文件之前就把这一首标成成功。当配置的 fileEncoding 非法时,写入抛异常、异常被记进日志,而这一首仍然报告 成功 —— 磁盘上留下 0 字节的 .lrc,界面上却是绿色。现在先做编码转换 再建文件,失败时不留空壳,也如实报告失败。 顺带: - IAlbumDownloader / AlbumDownloader 增加可选的逐首回调,调用方据此可以 渲染进度;CLI 不传,行为不变。 - AlbumDownloader 不再在封面真正写盘之前记成功日志(原先它永远把所有 曲目都算作成功)。 - 各下载循环补上 WarpTask 的释放;回调抛出的异常会被捕获并记录,不再 掀翻整次运行。
English | 简体中文
Disclaimer
- This tool is for personal learning and research purposes only. The executable binary files are for demonstration purposes only and the source code and its products must not be used for commercial purposes. Otherwise, I here will not be responsible for any related legal issues.
- Any unit or individual that downloads and uses the software resulting in any accidents, negligence, contract breaches, defamation, copyright or intellectual property infringement, and their resulting losses (including but not limited to direct, indirect, incidental or derivative losses), I here will not bear any legal responsibility.
- Users clearly agree to all the terms listed in this statement and fully assume the risks and consequences of using this tool. I here will not bear any legal responsibility.
Introduction
ZonyLrcToolX 4 is a cross-platform lyrics download tool based on CEF. QQ Group: 337656932. Detailed video tutorials are available in the group files.
🚧 The current version is under development. 🚧 If you want to see working code, please switch to the dev branch.
Download
To get the latest version, please visit the Release page for download.
Arch Linux User Repository
This software has been packaged into AUR. Arch Linux and its derivative distribution users can install it with the following command:
# yay or other AUR Helpers
yay -S zonylrctoolsx-bin
ZonyLrcTools.Cli --help
Usage
Detailed usage instructions have been moved to a new documentation site. Please visit https://docs.myzony.com for complete documentation.
Donation
Star History
Languages
C#
99.7%
PowerShell
0.2%
Shell
0.1%