Skip to content

feat:添加酷狗支持#236

Closed
ghhccghk wants to merge 7 commits into
cwuom:masterfrom
ghhccghk:kugou
Closed

feat:添加酷狗支持#236
ghhccghk wants to merge 7 commits into
cwuom:masterfrom
ghhccghk:kugou

Conversation

@ghhccghk

Copy link
Copy Markdown
Contributor

描述 / Description

类型 / Type

  • Bug 修复 / Bug Fix
  • 新功能 / New Feature
  • 文档更新 / Documentation Update
  • 其他(请描述)/ Other (please describe):

修复或解决的问题 / Issues Fixed or Closed by This PR

添加酷狗源支持

清单 / Checklist

  • 我已阅读并遵循贡献指南 / I have read and followed the contribution guidelines
  • 我已在本地测试这些更改 / I have tested these changes locally
  • 我已更新相关文档或注释(如适用) / I have updated relevant documentation or comments (if applicable)
  • 我确认本次更改没有破坏任何原有逻辑 / I confirm this change does not break existing behavior
  • 我确认本次更改保持向下兼容(如适用) / I confirm this change remains backward compatible (if applicable)
  • 我已运行必要的构建、测试或静态检查 / I have run the required build, tests, or static checks
  • 我确认没有提交密钥、Token 或其他敏感信息 / I confirm no secrets, tokens, or other sensitive information were committed
  • 涉及 UI 变更时,我已补充截图或录屏(如适用) / I have added screenshots or recordings for UI changes (if applicable)

其他信息 / Additional Information

Screenshot_2026-07-12-21-13-51-115_moe ouom neriplayer Screenshot_2026-07-12-21-13-48-797_moe ouom neriplayer Screenshot_2026-07-12-21-13-39-454_moe ouom neriplayer

@ghhccghk

Copy link
Copy Markdown
Contributor Author

扫码是一次性的,问题不大

@ghhccghk ghhccghk marked this pull request as draft July 12, 2026 13:19
ghhccghk added 5 commits July 14, 2026 22:01
- Implement Kugou search, audio resolving, and lyric fetching
- Add Kugou QR code login activity and authentication repository
- Integrate Kugou into Explore, Settings, and Now Playing screens
- Update `compileSdkVersion` and `targetSdkVersion` to 37
- Add `kugouapi-kmp` dependency and update network security configuration
- Integrate Kugou Music as a search source and playback platform.
- Implement `KuGouSearchApi` for song searching, metadata retrieval, and lyric fetching.
- Add `KugouQrLoginActivity` and `KugouCookieRepository` for QR-based authentication and secure cookie storage via `EncryptedSharedPreferences`.
- Extend `PlayerManager` and `AudioDownloadManager` to support Kugou audio URL resolution and lyric downloads.
- Update UI components including `SettingsScreen`, `ExploreScreen`, and `NowPlayingScreen` to reflect Kugou integration.
- Bump `compileSdkVersion` and `targetSdkVersion` to 37 in `Version.kt`.
- Add network security configurations for Kugou domains and update project dependencies.
@cwuom

cwuom commented Jul 15, 2026

Copy link
Copy Markdown
Owner

扫码是一次性的,问题不大

建议抓一下刷新机制

@cwuom cwuom closed this Jul 15, 2026
lifengqaq pushed a commit to lifengqaq/NeriPlayer that referenced this pull request Jul 15, 2026
lifengqaq pushed a commit to lifengqaq/NeriPlayer that referenced this pull request Jul 15, 2026
- Unify naming: KuGou_SOURCE_TAG -> KUGOU_SOURCE_TAG, kuGouSearchApi -> kugouSearchApi, KuGouApi -> kugouApi
- Replace android.util.Log with NPLogger in Kugou-related files
- Remove hardcoded Chinese strings; add R.string.kugou_* keys with en translations
- Add GPL v3 license header to KugouQrLoginActivity.kt
- Run KugouQrLoginActivity in separate process :kugou_login
- Remove runBlocking in KugouClientWrapper constructor; use CoroutineScope(SupervisorJob + Dispatchers.IO)
- Extract unified extractKugouPlayUrl parser and reuse in player/download
- Remove mavenLocal() from settings and build-logic repositories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants