# lx-music-desktop v2.6.0 — 2.6.0 - Product: lx-music-desktop (https://whatsnew.fyi/product/lx-music-desktop) - Vendor: lyswhut - Date: 2024-02-01 - Version: v2.6.0 - Original notes: https://github.com/lyswhut/lx-music-desktop/releases/tag/v2.6.0 - Permalink: https://whatsnew.fyi/product/lx-music-desktop/releases/v2.6.0 - Labels: Platforms: Desktop What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Show dialog with initialization failure details when custom source initialization fails - **added** — Add win7_x64 architecture installer package build - **added** — Prevent computer sleep when playing songs, enabled by default and configurable in settings-playback settings - **changed** — Update zh-tw translation - **changed** — Display source version number and author name in custom source list - **changed** — Optimize list select-all mechanism to fix issue where list could be fully selected without focus - **changed** — Optimize search box interaction logic to prevent accidental search of candidate list when using mouse - **changed** — Fix lyrics for certain wy source songs - **changed** — Improve local music online information matching mechanism - **changed** — Optimize download task status display to show status when data transfer is complete but data writing is pending - **changed** — Add control handling for cover image size when downloading songs - **changed** — Add secondary confirmation when creating list with duplicate name - **fixed** — Fix backup file unable to import json format - **fixed** — Cancel using native method to obtain font list on Windows and MacOS platforms to fix certain fonts being ineffective after application - **fixed** — Fix light and dark theme auto-switching functionality being ineffective - **fixed** — Fix application freezing on MacOS platform when opening file or directory in Finder - **fixed** — Fix download module task and file anomalies in cases of slow data write speed - **fixed** — Fix temporary list changes unexpectedly triggering synchronization - **fixed** — Fix tray menu show main window function being abnormal when hiding window after minimization - **removed** — Remove all built-in sources due to Tencent complaint requiring cessation of online playback and download services connected to their platform 提前祝大家新年快乐! 更新前需要注意: 由于自定义源的调用方式变更,可能会导致某些第三方源停止工作,如果出现这种情况,你需要将LX回退到 v2.5.0 ###### 新增 - 若自定义源初始化失败,将会出现弹窗提示初始化失败的详情 - 添加win7_x64架构的安装版安装包构建 - 新增播放歌曲时阻止电脑休眠,默认启用,可到设置-播放设置关闭(#1563) ###### 优化 - 更新zh-tw翻译 - 自定义源列显示源版本号、作者名字 - 优化列表全选机制,修复列表未获得焦点时仍然可以全选的问题 - 优化搜索框交互逻辑,防止鼠标操作时意外搜索候选列表的内容 - 添加对wy源某些歌曲有问题的歌词进行修复 - 改进本地音乐在线信息的匹配机制 - 优化任务下载状态显示,现在下载时若数据传输完成但数据写入未完成时会显示相应的状态 - 添加对下载歌曲时封面图片大小的控制处理(#1609) - 添加创建同名列表时的二次确认(#1621) ###### 修复 - 修复备份文件无法导入json格式的问题 - Windows、MacOS平台下的字体列表取消使用原生方式获取以修复某些字体应用后无效的问题(#1596) - 修复亮暗主题自动切换功能无效的问题(#1697) - 修复 MacOS 平台在 Finder 打开文件或目录时应用卡死的问题(#1684) - 修复下载模块在数据写入速度较慢的情况下出现任务及文件异常的问题 - 修复临时列表变更会意外触发同步的问题 - 修复最小化后再隐藏窗口时,托盘菜单的显示主界面功能异常的问题 ###### 变更 - 播放歌曲时默认会阻止系统进入休眠状态,若你不行软件阻止系统休眠,可以到设置-播放设置取消勾选“播放歌曲时阻止电脑休眠”设置 ###### 其他 - 移除所有内置源,由于收到腾讯投诉要求停止提供软件内置的连接到他们平台的在线播放及下载服务,所以从即日(2023年10月18日)起LX本身不再提供上述服务 - 更新 electron 到 v25.9.8 - 更新许可协议的排版,使其看起来更加清晰明了,更新数据来源原理说明 ###### 自定义源的不兼容变更与新增内容(源开发者需要看) 自定义源的调用方式已改变: - 为了与移动端的调用方式统一,不再推荐使用 `window.lx` 对象(移动端无`window`对象),改用 `globalThis.lx` - `inited` 事件不再需要传递 `status` 属性,脚本运行过程中,在成功调用 `inited` 事件之前的任何首次未捕获的错误都将视为初始化失败,所以现在若想人为让脚本初始化失败,直接抛出一个错误即可 - 新增 `globalThis.lx.env` 属性,桌面端环境固定为 `desktop`,移动端环境固定为 `mobile` - 新增 `globalThis.lx.currentScriptInfo` 对象,可以从这里获取解析后的脚本头部注释信息及脚本原始内容,具体可用属性看文档说明 - `globalThis.lx.version` 属性更新到 `2.0.0` - 自定义源不再使用`script`标签的形式执行,若要获取脚本原始代码字符串需从 `globalThis.lx.currentScriptInfo.rawScript` 属性获取 - 自定义源新增支持`local`源的`musicUrl`、`pic`、`lyric`的获取操作详情看自定义源文档说明 ###### File MD5 ``` 070EED964EA7FEBFA564D67E1F84935B lx-music-desktop-v2.6.0-win7_x64-Setup.exe 8C6A1CBAE080DF1DAE21AFC1CFF51449 lx-music-desktop-v2.6.0-win7_x64-green.7z 3847E87D229106A88B04D3BDD0F92F0E lx-music-desktop-v2.6.0-win7_x86-green.7z F895B002DE962B75042A9AE95F97C421 lx-music-desktop-v2.6.0-x64-Setup.exe ADB9682FF562FCD8438192F366091678 lx-music-desktop-v2.6.0-win_x64-green.7z MD5 (lx-music-desktop-2.6.0-arm64.dmg) = d52e612d01fb9071bdbd4dfefbc6faf0 MD5 (lx-music-desktop-2.6.0-x64.dmg) = 9f48a05943e5a0e6ecce7f767cd1193c a7779cc2b3a8dec62a5b6fe9f27abd38 lx-music-desktop_2.6.0_amd64.deb cebcff2935978c110aeefdc0338ffa9f lx-music-desktop_2.6.0_arm64.deb 1de79c0bd1ffe4e3ad7f27df03439f43 lx-music-desktop_2.6.0_armv7l.deb 61e0170d8a581086aad5adbf33d44bf4 lx-music-desktop-2.6.0.x64.rpm aed304487b09f0529e69f73802141320 lx-music-desktop_2.6.0_x64.pacman 94d8ae815107ee2e832bece208798f01 lx-music-desktop_2.6.0_x64.AppImage ```