From 686bfc79bf652d68ac5dd0eb3e4b53df729e2c7d Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Fri, 8 Nov 2024 14:59:37 +0800 Subject: [PATCH] fix: rune not supported by encoding. --- ncmcrypt/ncmcrypt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ncmcrypt/ncmcrypt.go b/ncmcrypt/ncmcrypt.go index 20a4bc7..1b88b2a 100644 --- a/ncmcrypt/ncmcrypt.go +++ b/ncmcrypt/ncmcrypt.go @@ -185,6 +185,7 @@ func (ncm *NeteaseCloudMusic) FixMetadata(fetchAlbumImageFromRemote bool) (bool, return false, err } defer audioFile.Close() + audioFile.SetDefaultEncoding(id3v2.EncodingUTF8) audioFile.SetTitle(ncm.mMetadata.mName) audioFile.SetArtist(ncm.mMetadata.mArtist) audioFile.SetAlbum(ncm.mMetadata.mAlbum)