fix: rune not supported by encoding.
This commit is contained in:
parent
300a412058
commit
686bfc79bf
|
@ -185,6 +185,7 @@ func (ncm *NeteaseCloudMusic) FixMetadata(fetchAlbumImageFromRemote bool) (bool,
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
defer audioFile.Close()
|
defer audioFile.Close()
|
||||||
|
audioFile.SetDefaultEncoding(id3v2.EncodingUTF8)
|
||||||
audioFile.SetTitle(ncm.mMetadata.mName)
|
audioFile.SetTitle(ncm.mMetadata.mName)
|
||||||
audioFile.SetArtist(ncm.mMetadata.mArtist)
|
audioFile.SetArtist(ncm.mMetadata.mArtist)
|
||||||
audioFile.SetAlbum(ncm.mMetadata.mAlbum)
|
audioFile.SetAlbum(ncm.mMetadata.mAlbum)
|
||||||
|
|
Loading…
Reference in New Issue