[PR #554] [MERGED] feat(LocalLyric): 使本地覆盖在线歌词的文件更好管理 #502

Closed
opened 2026-02-27 07:12:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imsyy/SPlayer/pull/554
Author: @MoYingJi
Created: 11/11/2025
Status: Merged
Merged: 11/12/2025
Merged by: @imsyy

Base: devHead: feat-ll


📝 Commits (2)

  • ef0433c feat(LocalLyric): 使本地覆盖在线歌词的文件更好管理
  • fcf1c23 fix: 现在更改本地歌词目录时也会检测是否为子目录

📊 Changes

3 files changed (+15 additions, -9 deletions)

View changed files

📝 electron/main/ipc/ipc-file.ts (+8 -4)
📝 src/components/Setting/LocalSetting.vue (+6 -4)
📝 src/utils/helper.ts (+1 -1)

📄 Description

使「本地歌词覆盖在线歌词」功能中的用户存放的文件更好管理

特性

  • 也支持将歌词文件命名为 任意前缀.歌曲ID.后缀名 的格式
  • 支持将歌词文件放在子文件夹

代码改动

  • ipc-file.ts 中的 read-local-lyric 里写死的路径改成了 FastGlob 查找,因此支持了上述的两项功能
  • 更改 LocalSettings.vue 中的信息
  • 更改 helper.ts 中的 changeLocalLyricPath 方法,使其也会检测子目录

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/imsyy/SPlayer/pull/554 **Author:** [@MoYingJi](https://github.com/MoYingJi) **Created:** 11/11/2025 **Status:** ✅ Merged **Merged:** 11/12/2025 **Merged by:** [@imsyy](https://github.com/imsyy) **Base:** `dev` ← **Head:** `feat-ll` --- ### 📝 Commits (2) - [`ef0433c`](https://github.com/imsyy/SPlayer/commit/ef0433c645ce95b53472c15a54f646f4b08e189c) feat(LocalLyric): 使本地覆盖在线歌词的文件更好管理 - [`fcf1c23`](https://github.com/imsyy/SPlayer/commit/fcf1c235c3ec12204d20f8a65863b582ce8221b6) fix: 现在更改本地歌词目录时也会检测是否为子目录 ### 📊 Changes **3 files changed** (+15 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `electron/main/ipc/ipc-file.ts` (+8 -4) 📝 `src/components/Setting/LocalSetting.vue` (+6 -4) 📝 `src/utils/helper.ts` (+1 -1) </details> ### 📄 Description 使「本地歌词覆盖在线歌词」功能中的用户存放的文件更好管理 ## 特性 - 也支持将歌词文件命名为 `任意前缀.歌曲ID.后缀名` 的格式 - 支持将歌词文件放在子文件夹 ## 代码改动 - 将 `ipc-file.ts` 中的 `read-local-lyric` 里写死的路径改成了 FastGlob 查找,因此支持了上述的两项功能 - 更改 `LocalSettings.vue` 中的信息 - 更改 `helper.ts` 中的 `changeLocalLyricPath` 方法,使其也会检测子目录 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:12:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SPlayer#502
No description provided.