mirror of
https://github.com/imsyy/SPlayer.git
synced 2026-04-24 22:45:53 +03:00
[PR #807] [MERGED] 🦄 refactor: 重写本地扫描逻辑 #655
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imsyy/SPlayer/pull/807
Author: @apoint123
Created: 2/2/2026
Status: ✅ Merged
Merged: 2/4/2026
Merged by: @imsyy
Base:
dev← Head:refactor/localmusic-scan📝 Commits (2)
81f12f8🦄 refactor: 重写本地扫描逻辑4e22944🦄 refactor: 优化可靠性📊 Changes
13 files changed (+1403 additions, -594 deletions)
View changed files
📝
Cargo.lock(+750 -16)📝
electron/main/database/LocalMusicDB.ts(+7 -3)📝
electron/main/ipc/ipc-file.ts(+124 -96)📝
electron/main/services/LocalMusicService.ts(+52 -326)📝
electron/main/windows/main-window.ts(+3 -5)📝
native/external-media-integration/index.d.ts(+0 -25)📝
native/external-media-integration/src/lib.rs(+0 -2)➖
native/external-media-integration/src/scanner.rs(+0 -110)📝
native/tools/Cargo.toml(+28 -4)📝
native/tools/index.d.ts(+27 -0)📝
native/tools/src/lib.rs(+3 -0)➕
native/tools/src/scanner.rs(+400 -0)📝
src/views/Local/layout.vue(+9 -7)📄 Description
再次重写了本地扫描的逻辑,主要把原生代码从媒体控件的crate移动到了工具crate;删掉了LocalMusicService.ts里面大部分功能和原生模块重合的代码;还有一些性能改善
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.