Skip to content

Commit

Permalink
再次为 CloudMusicIdentifier 添加了一个缺失的字段 gain,以修复解析新版网易云音乐移动客户端下载的 NCM 文…
Browse files Browse the repository at this point in the history
…件的 163key 时出错的问题
  • Loading branch information
nukemiko committed Oct 23, 2022
1 parent 1cfd98f commit 76ff7c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libtakiyasha/ncm.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class CloudMusicIdentifier:
flag: int = 0
bitrate: int = 0
duration: int = 0
gain: float = 0.0
mp3DocId: str = ''
alias: list[str] = dcfield(default_factory=list)
transNames: list[str] = dcfield(default_factory=list)
Expand Down

0 comments on commit 76ff7c5

Please sign in to comment.