mirror of
https://github.com/imsyy/SPlayer.git
synced 2026-04-25 06:55:57 +03:00
[PR #375] [MERGED] Docker 镜像内置 UnblockNeteaseMusic, 支持播放部分无版权歌曲 #468
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imsyy/SPlayer/pull/375
Author: @xiaoQQya
Created: 3/15/2025
Status: ✅ Merged
Merged: 3/18/2025
Merged by: @imsyy
Base:
dev← Head:dev📝 Commits (1)
436df47feat: Docker 镜像内置 UnblockNeteaseMusic, 支持播放部分无版权歌曲📊 Changes
4 files changed (+80 additions, -3 deletions)
View changed files
📝
Dockerfile(+11 -3)📝
docker-compose.yml(+18 -0)➕
docker-entrypoint.sh(+29 -0)📝
nginx.conf(+22 -0)📄 Description
Docker 镜像内置 UnblockNeteaseMusic 服务,解锁部分无版权歌曲,可能会与原曲不匹配。
思路:
/music/unblock -> https://music.163.com/,此处的https://music.163.com已经由 hosts 指向了本地 UnblockNeteaseMusic 服务;/api/netease/song/url/v1接口响应结果,将 UnblockNeteaseMusic 解锁过后的歌曲地址指向第三步反代的路径,例如:https://music.163.com/package/xxxxx -> /music/unblock/package/xxxxx;实现:
/api/netease/song/url/v1接口响应结果,将 UnblockNeteaseMusic 解锁过后的歌曲地址指向反代路径,关键代码改动;🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.