4 Commits
1.7.0 ... 1.7.1

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
300a412058 更新 README.md 2024-10-23 19:50:04 +08:00
609bfd03cc update: README.md 2024-10-23 19:31:38 +08:00
4 changed files with 15 additions and 2 deletions

View File

@@ -4,6 +4,18 @@
支持网易云音乐最新的 3.x 版本,但需要注意:从该版本开始网易云音乐不再在 ncm 文件中内置封面图片,本工具支持从网易服务器上自动下载对应歌曲的封面图并写入到最终的音乐文件中
## 安装
你可以使用去 [releases](https://git.taurusxin.com/taurusxin/ncmdump-go/releases/latest) 下载最新版预编译好的二进制文件,或者你也可以用包管理器来安装
```shell
# Windows Scoop
scoop bucket add taurusxin https://git.taurusxin.com/taurusxin/scoop-bucket.git # 添加 scoop 源
scoop install ncmdump-go # 安装 ncmdump-go
# macOS & Linux 之后会支持
```
## 使用方法
使用 `-h``--help` 参数来打印帮助

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)