Skip to content

Bangs v0.2.5

Choose a tag to compare

@gxlself gxlself released this 23 Sep 12:12
· 26 commits to main since this release

修正 Windows 上网易云音乐一直不显示歌词的问题。

改了什么

Windows 上的网易云音乐有歌词了 —— 网易云的 Windows 客户端只告诉系统「在放哪首、是否在播放」,从不报播放进度,所以 Bangs 找到了歌词也不知道该显示哪一句。现在 Bangs 自己计时:看到网易云切到新的一首时从头开始算,暂停时停表,刘海和音乐面板里的歌词跟着走,逐字高亮和翻译也都正常。

  • 只有 Bangs 亲眼看到开头的歌才会显示歌词。Bangs 启动时已经放到一半的歌、网易云打开时恢复的上次那首,Bangs 不知道放到了哪里,这首先不显示,从下一首开始正常。
  • 在网易云里拖进度条,Bangs 看不到,这首的歌词会对不上,下一首恢复。
  • 其他会报告播放进度的播放器(QQ 音乐、Spotify、浏览器等)不受影响。

查歌词不再走系统代理 —— 以前代理软件(比如 Clash)退出后,如果环境变量 http_proxy / https_proxy 还留着,Bangs 查歌词的请求会发到一个已经关掉的端口,结果每首歌都显示「未找到歌词」。现在歌词直接连 QQ 音乐和网易云,不受代理设置影响。Spotify 和检查更新仍然按代理设置走。

安装

macOS 的包用 Developer ID 签了名并经过 Apple 公证,下载下来双击就能开。Windows 安装包没有签名,SmartScreen 会拦一次:更多信息 → 仍要运行。设置、暂存架、待办和剪贴板历史都保留,直接装新包覆盖即可。

官网:https://gxlself.github.io/bangs/


Fixes NetEase Cloud Music on Windows never showing lyrics.

What's new

Lyrics for NetEase Cloud Music on Windows — NetEase's Windows app tells the system what is playing and whether it is playing, but never how far in it is, so Bangs found the lyrics and still could not tell which line to show. Bangs now keeps the time itself: it starts from the top when NetEase moves on to a new track and stops while it is paused, and the lyrics in the notch and the music panel follow along, word highlighting and translations included.

  • Lyrics show only for songs Bangs saw start. A song already halfway through when Bangs starts, or the one NetEase restores when it opens, could be anywhere, so it shows none and the next song is in time again.
  • Bangs cannot see a seek inside NetEase, so dragging its progress bar puts that song's lyrics out of step until the next one.
  • Players that do report their position (QQ Music, Spotify, browsers and others) are unaffected.

Lyrics no longer go through the system proxy — when a proxy app such as Clash had quit but http_proxy / https_proxy were still set, Bangs sent its lyrics requests to a port nobody was listening on, and every song showed "No lyrics found". Lyrics now connect to QQ Music and NetEase directly. Spotify and the update check still follow the proxy settings.

Install

The macOS build is signed with a Developer ID and notarized by Apple, so it opens with a double-click. The Windows installer is unsigned, so SmartScreen stops it once: More info → Run anyway. Settings, the shelf, to-dos and clipboard history are all kept — just install the new package over the old one.

Website: https://gxlself.github.io/bangs/