Skip to content

add proxy settings#12691

Open
fokin33 wants to merge 6 commits intoTeamNewPipe:devfrom
fokin33:add_proxy_settings
Open

add proxy settings#12691
fokin33 wants to merge 6 commits intoTeamNewPipe:devfrom
fokin33:add_proxy_settings

Conversation

@fokin33
Copy link
Copy Markdown

@fokin33 fokin33 commented Oct 8, 2025

What is it?

  • Feature (user facing)

Description of the changes in your PR

Add proxy settings

Before/After Screenshots/Screen Record

  • Before:
  • After:
image

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

@github-actions github-actions Bot added the size/medium PRs with less than 250 changed lines label Oct 8, 2025
@TobiGr TobiGr added feature request Issue is related to a feature in the app privacy & data protection Issues regarding either NewPipe, Team NewPipe services or external services NewPipe uses labels Oct 9, 2025
@AudricV AudricV added the template ignored The user didn't follow the template/instructions (or removed them) label Oct 9, 2025
@liasica
Copy link
Copy Markdown

liasica commented Nov 6, 2025

Need this feature!

Copy link
Copy Markdown
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

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

Thank you for this PR. Things that need to be taken into account:

  1. Enabling the proxy in the settings should enable the proxy immediately or prompt the user to restart the app. Currently it looks like the proxy is enabled in the settings UI although it is actually not.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

it is a good idea to separate the strings so that strings.xml is not cluttered too much. However, I think this should be done for all strings at the same time in a separate PR. Please make this a section in string.xml for now.

Comment thread app/src/main/res/menu/main_menu.xml Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where does this file come from?

@TobiGr
Copy link
Copy Markdown
Contributor

TobiGr commented Jan 3, 2026

Proxy for downloads is missing (see DownloadMission#openConnection)

@github-actions github-actions Bot added size/large PRs with less than 750 changed lines and removed size/medium PRs with less than 250 changed lines labels Jan 30, 2026
@fokin33 fokin33 requested a review from TobiGr January 30, 2026 21:16
…_proxy_settings

# Conflicts:
#	app/src/main/java/org/schabi/newpipe/App.java
#	app/src/main/java/org/schabi/newpipe/util/image/PicassoHelper.java
#	app/src/main/res/values-ru/strings.xml
#	app/src/main/res/values/strings.xml
@xiva-wgt
Copy link
Copy Markdown

TobiGr and fokin33 thank you for your work, it is very important.
for countries with censorship, working with a local socks5 with login|pass, where they are trying to control whether the vpn service is enabled on android, this change is very necessary, it will allow you to watch youtube without the risk of blocking circumvention of censorship.

@absurdlylongusername
Copy link
Copy Markdown
Member

@fokin33 From what I can see, this only works for YouTube and no other services

@fokin33
Copy link
Copy Markdown
Author

fokin33 commented Apr 20, 2026

@fokin33 From what I can see, this only works for YouTube and no other services

It adds a proxy server to the default data source, so the proxy server is used for all services.

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

Labels

feature request Issue is related to a feature in the app privacy & data protection Issues regarding either NewPipe, Team NewPipe services or external services NewPipe uses size/large PRs with less than 750 changed lines template ignored The user didn't follow the template/instructions (or removed them)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proxy Settings

6 participants