feat: 添加 B站视频 ID 匹配逻辑,优化收藏功能以支持 B站视频,确保收藏列表一致性

This commit is contained in:
algerkong
2025-05-02 22:39:47 +08:00
parent 6ffe4daed0
commit 327384ace5
6 changed files with 219 additions and 46 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ const getHistorySongs = async () => {
if (!page) continue;
bilibiliSongs.push({
id: `${videoDetail.aid}--${page.cid}`,
id: `${bvid}--${page.page}--${page.cid}`,
name: `${page.part || ''} - ${videoDetail.title}`,
picUrl: getBilibiliProxyUrl(videoDetail.pic),
ar: [