imsyy / SPlayer

🎉 一个简约的音乐播放器,支持逐字歌词,下载歌曲,展示评论区,音乐云盘及歌单管理,音乐频谱,移动端基础适配 | 网易云音乐 | A minimalist music player
GNU Affero General Public License v3.0
2.17k stars 443 forks source link

当前歌曲播放失败,跳至下一首 #57

Closed kawaiicassie closed 1 year ago

kawaiicassie commented 1 year ago

尊敬的作者,根据我的了解,据我所知,NCM API的最新版本v4.0.8在Vercel上部署时需要在链接末尾添加&realIP=116.25.146.177。似乎由于这个原因,我的网页无法获取信息和播放音乐。您能帮助我吗?

我的音乐网页是:https://music.kawaiicassie.io.vn/ NCM API的网页是:https://api-music.kawaiicassie.io.vn/

但仍然有一些歌曲可以正常播放。 请问您能为我做些什么来解决这个问题吗?

Jeamorg commented 1 year ago

NCM 官方教程 https://github.com/Binaryify/NeteaseCloudMusicApi#vercel-%E9%83%A8%E7%BD%B2 并没有说到要添加“&realIP=116.25.146.177”,而是说在 v4.0.8 版本添加了可以直接部署在 vercel 上的配置文件,即直接 fork 进行部署即可,不需要修改任何东西

The official NCM tutorial https://github.com/Binaryify/NeteaseCloudMusicApi#vercel-%E9%83%A8%E7%BD%B2 does not say to add "&realIP=116.25.146.177", but says in v4.0.8 ,the version adds a configuration file that can be directly deployed on vercel, that is, it can be deployed directly by fork without modifying anything

Jeamorg commented 1 year ago

有些歌曲播放不了可能是 IP 的问题,因为 NeteaseCloudMusic 主要的服务群体在中国大陆,所以可能会对一些非中国 IP 的人群进行限制。 还有一个原因是可能那些歌曲是需要付费才能听的

The inability to play some songs may be due to IP problems, because the main service group of NeteaseCloudMusic is in mainland China, so some non-Chinese IP groups may be restricted. Another reason is that maybe those songs need to be paid to listen

Jeamorg commented 1 year ago

在我的测试中,使用越南 IP 会出现与你所述的问题

In my test, using a Vietnam IP has the problem you described

Snipaste_2023-07-12_14-09-59

kawaiicassie commented 1 year ago

我明白了。问题可能出在我的IP上...很遗憾它不支持外国的IP 😭 非常感谢您的帮助 💗