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

OTA Update mechaism (ie. in-app update just for parsing logic) #5915

Open
3 tasks done
MatthewScholefield opened this issue Mar 26, 2021 · 3 comments
Open
3 tasks done
Labels
feature request Issue is related to a feature in the app

Comments

@MatthewScholefield
Copy link

Checklist

Describe the feature you want

Background/Problem: As a user of NewPipe, I noticed that things frequently break, presumably because YouTube updates their page which breaks certain parsing logic (this is only a guess though).

Idea/Suggestion: Is it possible to entirely decouple the parsing logic so that when YouTube updates, someone just updates the parsing logic, rebuilds the tiny parsing code blob, and attaches this to the most recent github release? Then either the user could be prompted to download the new blob when the app launches.

Primary Motivation:

  • Speed up the release process for parsing changes
  • Make easier / Speed up the user's upgrade process for parsing fixes (in other words, so users don't need to download and install a new apk for these important but small updates).

Since I obviously don't know anything about NewPipe's source code, I apologize if this fundamentally doesn't make sense or wouldn't be feasibly. In either case, I'd love to hear thoughts about this from someone with more knowledge of NewPipe's inner workings.

@MatthewScholefield MatthewScholefield added the feature request Issue is related to a feature in the app label Mar 26, 2021
@triallax
Copy link
Contributor

triallax commented Mar 26, 2021

This was previously discussed in #2045. I'll keep this open so that the team can re-evaluate the suggestion. There's no guarantee that this will still be added though.

@ShareASmile
Copy link
Collaborator

Related:-TeamNewPipe/NewPipeExtractor#297

@goyalyashpal
Copy link
Contributor

goyalyashpal commented Sep 11, 2022

copying over my input from # 8926 :

Problem: (same as above)

  • As the youtube always keep on changing something (i guess)
  • which makes the newpipe app's yt instance to break (i.e. not play),
  • and that requires extractor updates, and hence corresponding hotfix releases
  • which take anywhere from some hours to a few days.

Proposed solution: treating extractor Code as data

So, considering all this, it will be nice if

  • the newpipe extractor logic - at least for youtube, could somehow be deployed in a "code as data" method;
  • meaning that the updated extractor logic could be loaded on the go by the newpipe app
  • and it can continue to work as intended.

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
Projects
None yet
Development

No branches or pull requests

4 participants