Compare commits

..

2 Commits

Author SHA1 Message Date
88314554d0
release 1.7.1 2024-11-08 15:01:14 +08:00
686bfc79bf
fix: rune not supported by encoding. 2024-11-08 14:59:37 +08:00
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERSION=1.7.0
VERSION=1.7.1
# Clean up the build directory
rm -rf build

View File

@ -59,7 +59,7 @@ func main() {
}
if *showVersion {
fmt.Println("ncmdump version 1.7.0")
fmt.Println("ncmdump version 1.7.1")
os.Exit(0)
}

View File

@ -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)