修复备份与恢复的列表导入列表信息设置逻辑问题与潜在问题

pull/1155/head
lyswhut 2023-01-14 00:50:29 +08:00
parent 84e52f5525
commit a43e127dd0
3 changed files with 6 additions and 4 deletions

View File

@ -6,3 +6,4 @@
- 就放桌面歌词在启用卡拉OK歌词后字体边缘可能被截断的问题
- 修复桌面歌词启用歌词缩放后的阴影显示问题
- 修复Linux armv7l系统如树莓派下无法启动的问题与修复Linux arm64的方法一样采用内置预编译模块的方式修复
- 修复备份与恢复的列表导入列表信息设置逻辑问题与潜在导入问题

View File

@ -51,6 +51,7 @@ export default () => {
break
case 'playListPart_v2':
listData = configData.data
listData.list = filterMusicList(listData.list).map(m => fixNewMusicInfoQuality(m))
break
default:
showImportTip(configData.type)

View File

@ -79,9 +79,9 @@ export default {
name: list.name,
id: list.id,
list: filterMusicList(list.list.map(m => toNewMusicInfo(m))),
position: list.position,
source: list.source,
sourceListId: list.sourceListId,
locationUpdateTime: list.locationUpdateTime ?? null,
})
}
} catch (err) {
@ -98,15 +98,15 @@ export default {
try {
const targetList = allLists.find(l => l.id == list.id)
if (targetList) {
targetList.list = list.list.map(m => fixNewMusicInfoQuality(m))
targetList.list = filterMusicList(list.list).map(m => fixNewMusicInfoQuality(m))
} else {
allLists.push({
name: list.name,
id: list.id,
list: list.list.map(m => fixNewMusicInfoQuality(m)),
position: list.position,
list: filterMusicList(list.list).map(m => fixNewMusicInfoQuality(m)),
source: list.source,
sourceListId: list.sourceListId,
locationUpdateTime: list.locationUpdateTime ?? null,
})
}
} catch (err) {