Repository navigation
fix: 对齐网易云心动模式整轮续推、种子与退出恢复 - #405
Open
HSJ-BanFan wants to merge 6 commits into
Open
HSJ-BanFan wants to merge 6 commits into
HSJ-BanFan wants to merge 6 commits into
Conversation
Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动类型
是否包含破坏性变更
改动说明
修复心动模式播放完一轮后仍循环原列表的问题,并按网易云 PC 客户端的行为补齐以下逻辑:
type=fromPlayAll、count=歌单长度、startMusicId=第一首可播放曲目、starPlaylist和uid;starPlaylist使用原始 NCM song 结构。playedOnce,整轮每首至少播放一次后调用/api/homepage/more/rcmd/song,每次追加 3 首「更多推荐」。无版权曲目不做主动过滤,保留聚合播放器通过插件或其他音源兜底的机会。
关联 Issue
Closes #404
测试情况
本地环境:Windows 11 10.0.26200,Electron 43.2.0,基于
dev 05dbbeb8的分支。pnpm format:通过,无改动。pnpm typecheck:node + web 通过。pnpm lint:0 个错误,2 个既有警告(src/settings/categories/player.spec.ts,本 PR 未修改)。pnpm test:50 个 node 用例、509 个 web 用例全部通过。截图 / 录屏
UI 截图已在本地生成:
heart-mode-restored-full.pngheart-mode-more-rcmd.png为避免上传包含账号信息的截图,暂未直接附到 PR;如维护者需要,我可以补充脱敏版本。
自查清单
pnpm format,并确认pnpm typecheck、pnpm lint通过pnpm build:native验证;未手写native/*/index.d.ts(本 PR 未改动原生模块)dev分支提交