Skip to content

Conversation

@masoudd
Copy link
Contributor

@masoudd masoudd commented Dec 15, 2023

  • Add proxy input to settings
  • Podcast download uses the proxy settings
  • Feed update and Add podcast should use the proxy settings
  • Add username and password support for proxy
  • Show the proxy environment variables in the proxy settings tab if they are set. (They would take effect only when "Use proxy" is disabled)
  • youtube-dl should use the proxy settings

Current UI:
proxy5

Please let me know if anything needs to change.

@masoudd masoudd force-pushed the add_socks_to_settings branch 2 times, most recently from 2a9d3ed to ad69160 Compare December 15, 2023 10:14
@masoudd masoudd force-pushed the add_socks_to_settings branch 2 times, most recently from 0ac05d3 to 9d39b70 Compare January 22, 2024 09:34
@masoudd masoudd force-pushed the add_socks_to_settings branch from 9d39b70 to 6a49297 Compare February 5, 2024 08:48
@masoudd masoudd marked this pull request as ready for review February 5, 2024 08:59
Copy link
Member

@auouymous auouymous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gpo crashes with this patch installed.

  • youtube-dl should use the proxy settings (it's a separate plugin with a settings menu of its own)

The proxy prefs are in gpodder, any extension capable of using the proxy prefs should use it.

https://stackoverflow.com/questions/46389519/how-to-embed-socks5-proxy-in-youtube-dls-python-code

@masoudd
Copy link
Contributor Author

masoudd commented Feb 21, 2024

Thank you for the feedback. I'll fix them and investigate the crash

@masoudd masoudd requested a review from auouymous February 28, 2024 03:22
Copy link
Member

@auouymous auouymous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gpo doesn't initialize the _proxies variable. Adding the following to the end of gPodderCli init seems to work.

        observer = gpodder.config.get_network_proxy_observer(self._config)
        self._config.add_observer(observer)
        # Trigger the global gpodder.config._proxies observer contraption to initialize it.
        observer("network.", None, None)

@masoudd masoudd requested a review from auouymous March 15, 2024 10:59
@auouymous auouymous merged commit 0eb7c4d into gpodder:master Mar 20, 2024
@auouymous
Copy link
Member

Thank you for implementing this.

@masoudd masoudd deleted the add_socks_to_settings branch February 20, 2025 11:08
snorkelopsstgtesting1-spec pushed a commit to snorkel-marlin-repos/gpodder_gpodder_pr_1592_df9f979f-d4b3-47ad-ac55-6658c6932e11 that referenced this pull request Oct 22, 2025
Original PR #1592 by masoudd
Original: gpodder/gpodder#1592
snorkelopstesting4-web added a commit to snorkel-marlin-repos/gpodder_gpodder_pr_1592_df9f979f-d4b3-47ad-ac55-6658c6932e11 that referenced this pull request Oct 22, 2025
Merged from original PR #1592
Original: gpodder/gpodder#1592
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants