mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2026-11-24 03:37:47 +08:00
feat: We have improved the search and download logic for NetEase Cloud Music playlists and added support for logging in.
This commit is contained in:
1 parent
afe1a7013c
commit
b916323986
8 files changed
+146
-9
No files matched your search
@@ -2,6 +2,7 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using QRCoder;
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZonyLrcTools.Common.Infrastructure.IO;
|
||||
@@ -27,5 +28,14 @@ namespace ZonyLrcTools.Tests
|
||||
|
||||
File.Delete(tempMusicFilePath);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TestConsole()
|
||||
{
|
||||
QRCodeGenerator qrGenerator = new QRCodeGenerator();
|
||||
QRCodeData qrCodeData = qrGenerator.CreateQrCode("https://y.music.163.com/m/login?codekey=2f0da1d0-759e-478b-9153-35058b3", QRCodeGenerator.ECCLevel.L);
|
||||
AsciiQRCode qrCode = new AsciiQRCode(qrCodeData);
|
||||
string qrCodeAsAsciiArt = qrCode.GetGraphic(1, drawQuietZones: false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user