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

[Feature Request] 支持 proxy #58

Open
foamzou opened this issue Oct 8, 2022 · 7 comments
Open

[Feature Request] 支持 proxy #58

foamzou opened this issue Oct 8, 2022 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@foamzou
Copy link
Owner

foamzou commented Oct 8, 2022

功能描述
给 melody 添加 proxy 配置功能,支持配置海外/国内代理,分别在 海外/国内音乐平台生效

为什么需要该功能
解决大陆境内无法访问海外音乐平台,国外IP无法访问国内音乐平台的问题

你能想到的解决方案
添加 proxy 配置,支持配置海外/大陆代理。由 melody 决定哪种代理访问哪个来源,不需要用户关心 proxy 对应 source 的问题。

@foamzou foamzou self-assigned this Oct 8, 2022
@foamzou foamzou added the enhancement New feature or request label Oct 8, 2022
This was referenced Oct 8, 2022
@foamzou
Copy link
Owner Author

foamzou commented Apr 19, 2023

核心组件 media-get 已经支持代理。foamzou/media-get#12 后续安排接入到 melody

@cikichen
Copy link

现在支持了吗?

@foamzou
Copy link
Owner Author

foamzou commented Dec 20, 2024

@cikichen
Copy link

可以在 melody 所在的容器里配置环境变量 @cikichen

https://github.com/foamzou/media-get?tab=readme-ov-file#%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E7%9A%84%E8%AE%BE%E7%BD%AE%E6%96%B9%E5%BC%8F

不是这种代理,是http_proxy这种,让整个容器都能使用

@foamzou
Copy link
Owner Author

foamzou commented Dec 30, 2024

@cikichen
你是指 Melody 的所有网络请求都期望支持 http proxy?
另外调研下,你的 http_proxy 是公网的还是 docker 外,同一个宿主机的?

@cikichen
Copy link

@cikichen 你是指 Melody 的所有网络请求都期望支持 http proxy? 另外调研下,你的 http_proxy 是公网的还是 docker 外,同一个宿主机的?

局域网的,你可以看下emby也有这么个参数

@cikichen
Copy link

@cikichen 你是指 Melody 的所有网络请求都期望支持 http proxy? 另外调研下,你的 http_proxy 是公网的还是 docker 外,同一个宿主机的?

QQ_1735618042041
类似这种吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants