-
-
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 Download entry to long-press menu #8397
Add Download entry to long-press menu #8397
Conversation
This is my first issue at NewPipe and so I need some help from experienced maintainers FirstlyTo add download to long press menu, I have to create SecondlyWhile fetching, it is good to show some progress bar, where should it be shown? What is the best way to show progress in this case? |
9b32880
to
caf0eef
Compare
It should be discussed in #3332, I think. |
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.
Thank you for the contribution!
So I have to featch StreamInfo from StreamInfoItem, but to what disposable add .subscribe() result?
Unfortunately currently Disposable
are ignored in that class, because of bad design and other considerations. This is a known issue, see #7942 for more information. You don't have to solve it here.
While fetching, it is good to show some progress bar, where should it be shown? What is the best way to show progress in this case?
This is also currently not being done anywhere in the app (not even for e.g. "Open channel details" or "Start playing in the background") so here, too, you don't need to do anything.
It should be discussed in #3332, I think.
I don't think #3332 has anything to do with this: what @notaLonelyDay had a doubt about is showing a progress bar while loading the stream details, not showing progress for the download itself.
app/src/main/java/org/schabi/newpipe/info_list/dialog/StreamDialogDefaultEntry.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/info_list/dialog/StreamDialogDefaultEntry.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/info_list/dialog/StreamDialogDefaultEntry.java
Outdated
Show resolved
Hide resolved
Thanks for comments I'll do it as soon as I can |
41e2253
to
ab2db74
Compare
2a9220b
to
dc59873
Compare
@Stypox can you please merge? |
dc59873
to
15ea0fc
Compare
15ea0fc
to
a4724fe
Compare
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.
I made some changes myself. I tested (on API 19 and API 31) and it works. Sorry for the delay, we have been busy with the release and there have been other pending changes on the DownloadDialog
for a while. Thank you!
Kudos, SonarCloud Quality Gate passed! |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
biggest newpipe addition of all time, i always wondered why i had to hit share and send to newpipe(myself) to download, although i dont agree with all your decisions e.g. bitchute, rumble etc etc, this is a good start, gotta give credit where credit is due |
What is it?
Description of the changes in your PR
Add option to download the video when long-pressing items.
Fixes the following issue(s)
Due diligence