-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add search type link #9181
Add search type link #9181
Conversation
Could you explain better what you added in this pull request? Also, it seems you did extractor changes for this, but you didn't use them in this PR. Please do so if that's needed. |
Thank you for your response. I've updated the description. |
@Sola0404 You need to create a pull request in NewPipeExtractor, too. As you noticed, they are two different repositories, hence two different PRs ;-) |
@Stypox it's already been opened on extractor TeamNewPipe/NewPipeExtractor#950 AudricV wrote:
Stypox @Sola0404 is asking how to use extractor commits in this PR |
Ah, @Sola0404 you should have followed the template more carefully. There is a section where you list which PR(s) this one relies on. You must link your Newpipe Extractor PR in your description. You have to use the hash of the latest commit in your Newpipe Extractor PR branch, for example here is a commit hash to match this PR TeamNewPipe/NewPipeExtractor#810. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are urls copied to the search field in NewPipe handled as opened URLs?
return getOpenSearchIntent(context, url, service.getServiceId(), | ||
linkType, service.getIdByUrl(url)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intead of obtaining the ID this way, as said in TeamNewPipe/NewPipeExtractor#950 (comment), I think you should use service.getSearchLHFactory().getId(url)
.
I'm closing this for now, both because of inactivity, and because we're going to start the rewrite soon and this would get conflicts despite its simplicity. I'm leaving TeamNewPipe/NewPipeExtractor#950 (comment) open though, so once that is done and the rewrite is in a good shape this can be reopened. Thank you! |
What is it?
Description of the changes in your PR
Fixes the following issue(s)
Fixes #2313
PR relies on
TeamNewPipe/NewPipeExtractor#950
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.
Due diligence