mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-16 01:17:29 +08:00
fix(本地音乐): 扫描阶段直接使用mtime做增量判断
This commit is contained in:
Vendored
+4
@@ -30,6 +30,10 @@ interface API {
|
||||
lxMusicHttpCancel: (requestId: string) => Promise<void>;
|
||||
/** 扫描指定文件夹中的本地音乐文件 */
|
||||
scanLocalMusic: (folderPath: string) => Promise<{ files: string[]; count: number }>;
|
||||
/** 扫描指定文件夹中的本地音乐文件(包含修改时间) */
|
||||
scanLocalMusicWithStats: (
|
||||
folderPath: string
|
||||
) => Promise<{ files: { path: string; modifiedTime: number }[]; count: number }>;
|
||||
/** 批量解析本地音乐文件元数据 */
|
||||
parseLocalMusicMetadata: (
|
||||
filePaths: string[]
|
||||
|
||||
Reference in New Issue
Block a user