Repository navigation
feat: configure Netease and QQ Music quality defaults per provider - #27
Merged
yichen11818 merged 10 commits intoNov 13, 2026
Merged
Conversation
Owner
|
怎么关掉了 |
Owner
|
我看你一直开的草稿 就没审 |
Contributor
Author
只处理了网易云没处理 QQ 音乐,AI 给关了😇,我重新整理下 |
…at/provider-quality-defaults
nitonitori
marked this pull request as ready for review
November 13, 2026 11:49
yichen11818
reviewed
Nov 13, 2026
yichen11818
left a comment
Owner
There was a problem hiding this comment.
感谢你的贡献,也感谢把网易云和 QQ 音乐的配置、浏览器偏好、兼容处理及文档一起补齐。
我审查了当前提交 9b4a963847a3d43ed198e5cbafde8273e881fa8c,重点核对了:省略音质与显式 auto 的区别、两个平台独立校验、已有队列音质的保留、历史重播作为新入队,以及 Web / 聊天 / 外部 API 的默认值解析。当前未发现需要阻止合并的代码问题。
验证结果:
- 本地后端 130 项测试,跳过 1 项,其余通过。
- 与 #26 本地组合合并无冲突;组合后的后端 185 项测试,跳过 1 项,其余通过。
- 组合后的前端类型检查及 15 项前端测试通过。
- 当前提交的 GitHub CI 全部通过(发布打包任务按条件跳过)。
这次对“请求音质不等于实际音质或账号权益”的说明很清楚,旧浏览器显式 auto 的兼容处理也比较周全。本次验证使用隔离数据库及模拟上游响应,未进行真实账号权益或 TeamSpeak 音频验证。#26 的两个独立问题已在对应 PR 留下意见,不影响这里对 #27 的审查结论。
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.
Problem and behavior
Netease Web, chat and history requests currently choose quality differently, while QQ Web/history hardcode 320. Add separate Netease Music and QQ Music settings sections with persisted server defaults and independent browser overrides.
autothroughjymastervalues, defaultauto. QQ exposes only the implementedm4a/128/320values, default320. These are requested qualities, not guarantees of actual format, full playback or account entitlement.autostill means automatic highest with the existing bounded risk fallback. Unsupported or mismatched provider fields are rejected.level/qualityquery overrides. QQ chat and QQ playlist support are outside this change.auto, and omits quality fields when following. Safe server defaults/options are available in/config/publicand shown in the player preferences.Closes #25.
Validation
Python 3.11 full backend suite: 130 tests, passed (2 skipped). Added omitted/null versus explicit auto, provider isolation, invalid requests, config persistence/public values, Web/external/chat/playlist ingress, history and existing-queue refresh coverage.
Node 22:
npm ci,npm run typecheck,npm test -- --maxWorkers=1(12 tests),npm run build,npm run build:demopassed.Headless Chromium with fixture APIs: inspected both settings sections, opened player preferences, verified effective defaults and independent persisted browser choices. Screenshots below.
Standards and specification reviews completed without important findings. No production deployment or account-entitlement/live audio validation in this PR.
Combined integration of feat: configure bounded playback recovery and cooldown in the console #26 and feat: configure Netease and QQ Music quality defaults per provider #27 merged without conflicts locally: 191 backend tests passed (2 skipped); Web typecheck, 15 Vitest tests, production build and demo build passed. The integration branch was used only for local validation.
Screenshots
API changes and migration semantics are documented in
docs/API.mdanddocs/MUSIC_QUALITY.md.