Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker版无法播放音乐 #19

Closed
usc opened this issue May 15, 2022 · 2 comments
Closed

docker版无法播放音乐 #19

usc opened this issue May 15, 2022 · 2 comments

Comments

@usc
Copy link

usc commented May 15, 2022

附日志:


ℹ -------
ℹ searchSong with {"0":{"keyword":"光辉岁月"}}
ℹ cmdStr: /app/backend/src/service/media_fetcher/../../../bin/media-get -k "光辉岁月" --searchType="song" -m --infoFormat=json -l silence
ℹ -------
ℹ 0
ℹ -------
ℹ getMetaWithUrl from https://www.kuwo.cn/play_detail/19534401

 ERROR  exec error: Error: Command failed: /app/backend/src/service/media_fetcher/../../../bin/media-get -u "https://www.kuwo.cn/play_detail/19534401" -m --infoFormat=json
panic: invalid character 'æ' looking for beginning of value

goroutine 1 [running]:
main.main()
	command-line-arguments/main.go:24 +0xd0


ℹ -------
ℹ 2
ℹ Command failed: /app/backend/src/service/media_fetcher/../../../bin/media-get -u "https://www.kuwo.cn/play_detail/19534401" -m --infoFormat=json
panic: invalid character 'æ' looking for beginning of value

goroutine 1 [running]:
main.main()
	command-line-arguments/main.go:24 +0xd0

ℹ -------

 ERROR  getMetaWithUrl failed with https://www.kuwo.cn/play_detail/19534401, err: Command failed: /app/backend/src/service/media_fetcher/../../../bin/media-get -u "https://www.kuwo.cn/play_detail/19534401" -m --infoFormat=json
panic: invalid character 'æ' looking for beginning of value

goroutine 1 [running]:
main.main()
	command-line-arguments/main.go:24 +0xd0

@foamzou
Copy link
Owner

foamzou commented May 15, 2022

你应该是使用了境外 IP 访问(可以考虑不要全局代理,试试走 PAC?部署在国外 VPS 的话,目前无解),返回非预期的报文,我没做处理,就会报这个错。国内音乐平台有限制 IP。
我后面看怎么做个代理功能。

@foamzou
Copy link
Owner

foamzou commented Oct 8, 2022

#58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants