u8sand / Baka-MPlayer

The libmpv based media player
https://u8sand.github.io/Baka-MPlayer/
GNU General Public License v2.0
433 stars 93 forks source link

proxy for player #199

Closed love4taylor closed 7 years ago

love4taylor commented 8 years ago

need proxy for youtube

u8sand commented 8 years ago

@Love4Taylor I'm not sure I understand what it is you're looking for, could you please elaborate?

Youtube support is provided by youtube-dl, if you're asking to be able to pass the --proxy flag, add the following to your bakamplayer.ini in the mpv section:

"ytdl-raw-options": "proxy=your_proxy"
flameboii commented 7 years ago

I apologize if I should not be asking this question here but how do I force the player to check for updates through proxy? Thank you.

love4taylor commented 7 years ago

I use socks5/https but don‘t work "ytdl-raw-options": "proxy=socks5://127.0.0.1:1080/" "ytdl-raw-options": "proxy=https://127.0.0.1:1080/"

u8sand commented 7 years ago

As a workaround, you can probably use proxychains or another related utility. Those work for all applications.

On Jan 10, 2017 2:27 AM, "Chongwen Huang" notifications@github.com wrote:

I use socks5 but don‘t work "ytdl-raw-options": "proxy=socks5://127.0.0.1:1080/"

https://camo.githubusercontent.com/0362c3d5cae5b72b2614634b1c56afcd2896bb32/68747470733a2f2f7773312e73696e61696d672e636e2f6c617267652f303035476d72555567773166626c6b636f306376396a333067373034627439672e6a7067

https://camo.githubusercontent.com/623625e05173d606ac566b7ac4416caf37060dca/68747470733a2f2f7773332e73696e61696d672e636e2f6c617267652f303035476d72555567773166626c6b64726a6f68646a33306c7a3034343430682e6a7067

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/u8sand/Baka-MPlayer/issues/199#issuecomment-271505026, or mute the thread https://github.com/notifications/unsubscribe-auth/ABR5pZZgXGPX-wFIrLK23VnxDlB_U9rRks5rQzLqgaJpZM4HcaVt .