TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.81k stars 3.09k forks source link

Extension of the maximum "What's new"-tab backlog from 500 to 1000 possible tiles #11741

Open Plugdemholes-Imeanpatchdembugs opened 1 week ago

Plugdemholes-Imeanpatchdembugs commented 1 week ago

Checklist

Feature description

Hi :) I've noticed, the first time ever after a months of absence from my tablet that the feed backlog is limited to 500 tiles, so I currently can't see the other two weeks. It's very rare occasion I guess but could the feed be extended to a maximum of 1000 tiles if possible? :)

Why do you want this feature?

I can't see the rest of the videos that were uploaded in one month of absence, the maximum tiles of 500 "recent" uploads were exceeded. :)

Additional information

no further remarks

TobiGr commented 1 week ago

This is the limit you are talking about, I guess:

https://github.com/TeamNewPipe/NewPipe/blob/14081505cd874117f24c9fce4f8fba2f7031cc09/app/src/main/java/org/schabi/newpipe/database/feed/dao/FeedDAO.kt#L85-L94

It is there to keep the query fast and memory usage low. I think we could even reduce the limit to ~200 because it is unusual to look further back. Especially because the feed only contains streams that were published in the last 13 weeks. Instead we could implement lazy loading more items when reaching the end of the displayed list.

Plugdemholes-Imeanpatchdembugs commented 1 week ago

This would be awesome! :) I myself didn't think I'd ever have to load in so many videos at once. But here I am with my ~170 subscriptions and look and see it's a backlog of more than 500 in just one month. ^^"