We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcea542 commit e58c2f8Copy full SHA for e58c2f8
2 files changed
publish/changeLog.md
@@ -9,6 +9,6 @@
9
10
若以上操作仍然不行,可以加交流群或者在GitHub开issue反馈
11
12
-### 优化
+### 修复
13
14
-- 单次执行所有sql语句,尝试解决某些情况下某些表没有成功创建的问题
+- 修复无效的歌曲信息导致我的列表数据迁移失败的问题
src/main/utils/migrate.ts
@@ -31,7 +31,7 @@ interface OldUserListInfo {
31
const filterMusicList = <T extends LX.Music.MusicInfo>(list: T[]): T[] => {
32
const ids: Set<string> = new Set()
33
return list.filter(s => {
34
- if (!s.id || ids.has(s.id)) return false
+ if (!s.id || ids.has(s.id) || !s.name || s.singer == null) return false
35
ids.add(s.id)
36
return true
37
})
0 commit comments