-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fixed the issue mentioned in #145.
Added a new line break.('\n')
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
namespace ZonyLrcTools.Common.Lyrics; | ||
|
||
/// <summary> | ||
/// 歌词下载核心逻辑的接口定义。 | ||
/// </summary> | ||
public interface ILyricsDownloader | ||
{ | ||
/// <summary> | ||
/// 使用给定的歌词信息下载歌词,并输出文件到指定的路径。 | ||
/// </summary> | ||
/// <param name="needDownloadMusicInfos">需要下载的歌词信息。</param> | ||
/// <param name="parallelCount">下载线程/并发量。</param> | ||
/// <param name="cancellationToken">任务取消标记。</param> | ||
Task DownloadAsync(List<MusicInfo> needDownloadMusicInfos, | ||
int parallelCount = 2, | ||
CancellationToken cancellationToken = default); | ||
|
||
/// <summary> | ||
/// 获取目前可用的歌词下载器。 | ||
/// </summary> | ||
IEnumerable<ILyricsProvider> AvailableProviders { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters