-
-
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
Sort "What's New" page chronologically (latest-oldest) #2547
Conversation
@snappyapple632 Thanks for your feedback! |
The issue seems to be gone on the latest test! |
Tested the new apk. No duplication for me. But every time loading the whats new feed I get the following exception. This is also happening when I switch back to Newpipe from an other app Exception
Crash log
I don't know if this is related to this change. |
Another note on this. Is it possible to cache the order in some way to improve the loading time and to minimize the jumping effect when new found videos get inserted. Maybe setting up the background fetching with how often it should be done could be an option? |
Use the Markdown converter next time @chilliger |
I think finding the correct positions of the video items would not contribute too much to the loading time and the jumping effect.
The current implementation would just fetch the videos from the subscribed channels once. |
@timfbfbfbfb can you add a notification with progress so that the user knows when all subscriptions have been checked ? This was implemented in #2309 . In the current implementation it is unclear when the subscription check is done and while I like already seeing the videos and being able to scroll already, I have to scroll back up constantly since I never really know when all subscriptions have been checked. IMO this could be added later and I just want to see this merged asap but that's just my opinion. |
@coolstudent123 That is a good suggestion, I think we can add a horizontal progress bar at the very top to indicate the loading progress. But as you have said, I want to keep this PR small enough to merge, maybe we can create a separate issue for that. I can also help working on that later. |
Also closes #822 . |
Hello, any update on this? |
I tested the build for several days and runs very well without issues for me. |
So. may be it's time to merge that PR? |
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 your work, code looks good!
I do not have a deep understaing of ReactiveX, so feel free to ignore the requested changes about Schedulers.io()
if they are wrong ;-)
app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.java
Outdated
Show resolved
Hide resolved
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.
Ok, I double-checked everything and I think it can now be merged!
Again, thank you for your work :-D
@ozyc @n-xlkt @cool-student The latest apk is updated in the description, feel free to download and test it. |
d948072
to
0350d05
Compare
Hi, I had been using your work for days and it was wonderful. Just a small question, my 'live' video keep getting burried for some reason, can you do something about it? |
This is working flawlessly for me. I think it's stable enough to become an option in prod. |
Love this and have been using it without any issues for the last couple of months now. Last night an issue broke video playback in newspipe and a hotfix has been released. Could you please update the apk here to include this version? |
@njmdietrich The apk file in the description has been updated. Edit: I have just realized the infinite loading issue, it was fixed in app-fa3a306a.apk |
Do you have any other plan for this fork, as in add new features o fixes? Thank you for the sort feature and maintenece! |
@JLammer |
I wonder why they prefer the other PR, I think yours is more elegant (from an end user point of view) with the way things load etc, the only thing that's missing from yours to make it perfect in my mind would be a button or pulling down to refresh the list. Props to you and I'm very grateful that you're keeping things updated here :) |
Indeed! This is the only thing missing <3. Because I have got subscribed to many channels, fetching new videos every time I go to "what's new" section takes too long. Doing this without consent of the user is really a pain in the butt. Also, If a button to pull down requires a more complex code (hence coding time), providing just a static button would be fine. Beyond that (although I don't know if it's possible), would be better to fetch and update the "what's new" section only with the newest videos uploaded from the last time you checked until now. In this way, I think you'd update faster and use less bandwidth. I'm pretty sure the app keeps fetching many metadata it already has stored. |
This would probably not use less data. If I'm remembering correctly the way to fetch the subscriptions videos is to check the complete video list xml for each channel, and there was no way to only fetch a specific number of entries. |
@timfbfbfbfb Could you provide an apk with the latest changes? |
Sure. Updated in the description. |
Closed in favor of @mauriciocolli's solution. |
Features:
What's New
page chronologically, in latest-oldest orderWhat's New
list according to the publish time, so users could see the first meaning paint earlierLimitations:
What's New
page only shows the latest 15 videos from each subscribed channelRemarks:
I missed the PR #2309 at first and had just noticed it implemented the similar chronological sort feature in the middle of the development, but I still decided to create this PR for two reasons.
APK for reviewers to test:
Self-signed release APK
app-afa9fa55.apk.zip
Since this APK is self-signed,
Play Protect
may show a warning with that, just select "Install anyway" to installRelated issues
Close #739
Close #822
Related PRs
Merge together with TeamNewPipe/NewPipeExtractor#189