Releases: MxIris-LyricsX-Project/LyricsX
v1.7.1
What's Changed
- Remove QQ Music alternate lyrics search (searches come up with nothing relevant and account for the first bit affecting the correct results from other sources)
- Remove AppCenter component (previously tied to the original author's account)
- Update the Sparkle component to the current repository, and starting with this version, you can receive in-app auto-updates in the future!
有什么变化
- 删除QQ音乐备用的歌词搜索(搜出来的东西毫无关联,占第一位影响其他源的正确结果)
- 去除AppCenter组件(之前绑的原作者账户)
- 更新Sparkle组件至当前仓库,从这个版本开始,以后可以收到应用内自动更新
v1.7.0
v1.7 beta-6
复刻了网易云的状态栏歌词,固定宽度,根据歌曲进度滚动
v1.7 beta-5
最近QQ音乐老是返回空的数据导致崩溃,做了下处理,顺便修复了状态栏合并歌词遇到空歌词时图标和歌词反复横跳的问题,目前只有在歌曲暂停并且当前歌词是空才显示图标。
v1.7 beta-4
Support QQ music translation lyrics (originally not line by line lyrics are supported, but this version supports line by line lyrics do not deal with translated lyrics, this version added)
支持QQ音乐翻译歌词 (原本不是逐行歌词是支持的,但是1.7支持逐行歌词没有处理翻译的歌词,这个版本加上了)
v1.7 beta-3
紧急修复一个bug,才发现原代码每次获取歌词获取5首,然后5首都进行替换,歌词直接变成第5首了。。。我说歌词怎么每次都不准😅我改成自动获取第一首了
接下来工作日随缘更新,搞QRC歌词把周末都搭进去了
v1.7 beta-2
Fix the crash caused by QQ music sometimes returning invalid data, fix the crash of the about page, and add another API interface for QQ music search.
修复QQ音乐有时候返回无效数据导致的崩溃,修复关于页面崩溃,增加了另一个QQ音乐搜索API接口(这个接口搜出来的不是很准确,当个备用吧)
v1.7 beta-1
Supported QQMusic QRC lyric format
支持QQ音乐逐字歌词QRC格式,现在QQ音乐搜到的歌词也可以像酷狗KRC一样逐字滚动
beta测试版,有问题随时反馈
v1.6.7
Fixed a bug where the mouse moving to line-by-line lyrics caused an issue. After recreating and adding TrackingArea, the first tracking does not call the mouseEntered
method but does call the mouseExited
method; it works normally afterward. According to logic, these two should appear together and not separately; this is what the official documentation says. It is currently unclear if this is an AppKit bug.
Behavior:
Switching some lyrics of different lengths causes changes in line-by-line lyric size, prompting the system to call updateTrackingAreas
. This method recreates TrackingArea, causing hiding of line-by-line lyrics to be ineffective on first mouse pass (because the system did not call mouseEntered
).
Temporary workaround:
In the mouseMoved
method, check whether it has already been hidden; if not, hide it. If there are better solutions, feel free to submit a PR.
In the last version, we set 11.0 as the minimum version requirement which significantly reduced package size because macOS 10.13 does not have built-in runtime for newer versions of Swift. If support for older versions is needed, please open an issue so I can gauge user demand.
解决了一个鼠标移动到逐行歌词的bug
在重新创建并添加TrackingArea后,第一次Tracking不会调用mouseEntered
方法,但是会调用mouseExited
方法,之后正常。按理说这两个是一对的,不会单独出现,官方文档是这么说,暂时不清楚是不是AppKit的bug。
表现:
某些长度不一样的歌词切换会导致逐行歌词size变更,这时候系统会调用updateTrackingAreas
,这个方法会重新创建TrackingArea,就导致第一次鼠标经过时隐藏逐行歌词无效(因为系统没有调用mouseEntered
方法)
暂时的解决方案:
在mouseMoved
方法里判断是否已经隐藏,没有则隐藏,有更好的方案欢迎提PR
在上个版本最低版本已经设置为11.0,包体积小了很多,因为10.13系统没有内置新版本swift的运行时,如果需要更老的版本支持可以提一个issue,我看看用的人多不多。