Open Sogolumbo opened 3 years ago
Noted. I'll be thinking about the best way to solve this taking into account your suggestions. Before I delve into the NewPipe code, do you happen to know what strategy NewPipe uses for this problem? Do they also vary checking frequency based on posting rate? And do they do anything special once an old video from an infrequent channel is discovered?
I think they just check all subsriptions and put them in the order of their publication. The check is triggered manually
Hi! autochecking feed might lead to your IP being blacklisted for some period of time (infamous youtube sign in request). Now, that my IP changed after several days, I was able to check feeds and also noticed the problem with sorting. I would prefer manual checking and feed sorted by date/time
I think the subscriptions should be sorted by the published date. Not everyone has the server running every day.
Especially for people who also use Newpipe this is a very unexpected behaviour.
Source: #49
This does not seem to work as expected (in 2.7.0): I have a random order of videos from the dates of a five day span after not running youtube-local for some days.
One option to handle this is to add different sorting options. Also it might make sense to somehow highlight low frequency channels (<1 Video per day/week/?) and their videos.
Or maybe it is possible to find out when either sorting makes more sense.
E.g. when I check all channels I want all new videos to be added in the order of their published date. So we could first collect all new videos, then sort them by their published date and finally add all of them to the top of the list. To me this seems to be a solid middle ground between publication and notification sorting.
Another idea is to look at how long it's been since the last check of that channel was made. If that time is bigger than (some factor times) the average time between two videos from that channel we will collect those videos in a temporary list and sort it by publication date. In all other cases we will put those videos in a second temporary list which won't be sorted. Then the sorted list is added first and the unsorted list is added secondly to the subscription video list. This will put less frequent channels further to the top and will make sure that the videos are sorted