mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-08-31 17:56:53 +00:00
feat: Now, it's possible to fetch playlists from NetEase Cloud Music and download lyrics.
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
namespace ZonyLrcTools.Tests.MusicScanner;
|
||||
using System.Threading.Tasks;
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZonyLrcTools.Common.MusicScanner;
|
||||
|
||||
namespace ZonyLrcTools.Tests.MusicScanner;
|
||||
|
||||
public class NetEaseMusicSongListMusicScannerTests : TestBase
|
||||
{
|
||||
[Fact]
|
||||
public async Task GetMusicInfoFromNetEaseMusicSongListAsync_Test()
|
||||
{
|
||||
var musicScanner = GetService<NetEaseMusicSongListMusicScanner>();
|
||||
var musicInfo = await musicScanner.GetMusicInfoFromNetEaseMusicSongListAsync("7224428149", new ManualDownloadOptions());
|
||||
|
||||
musicInfo.ShouldNotBeNull();
|
||||
musicInfo.Count.ShouldBeGreaterThan(10);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user