Skip to content
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

[Bug]: Sorting chronologically in subscriptions fails after two weeks. #6542

Closed
5 of 6 tasks
Gevaarlijk opened this issue Jan 9, 2025 · 2 comments
Closed
5 of 6 tasks
Labels
B: inconsistent behavior bug Something isn't working

Comments

@Gevaarlijk
Copy link

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

When you hit the subscriptions tab then all videos are sorted chronologically descending. But only for two weeks. Videos older than two weeks seem to be sorted by channelname and then chronologically and split per week. Or something similar to that.

This is weird and sometimes makes me miss video's because depending on how many weeks old they are their place in the sorting can shift anytime I refresh.

It is also obnoxious if you try to follow a storyline based on actual events through video's from multiple channels. (If channel A responds to a news item and then channel B responds to the same item and reacts to what Channel A said while doing so I want to watch channel A first and then channel B).

Expected Behavior

Please make it so that everything is always sorted chronologically only.

Issue Labels

inconsistent behavior

FreeTube Version

All versions

Operating System Version

Windows 11

Installation Method

Portable

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

No response

Nightly Build

@Gevaarlijk Gevaarlijk added the bug Something isn't working label Jan 9, 2025
@github-project-automation github-project-automation bot moved this to To assign in Bug Reports Jan 9, 2025
@absidue
Copy link
Member

absidue commented Jan 9, 2025

That is working as expected YouTube's channel tabs only contain the relative timestamps, so for recent videos they are detailed enough to sort decently e.g. 2 hours ago vs 3 hours ago but when more time passes then they'll both just say 2 weeks ago. So yes they end up being sorted somewhat randomly or more specifically whichever requests finish first will be considered older because we do now in milliseconds - relative timestamp.

If you want accurate sorting you can switch to the RSS feeds (setting in the subscription settings) which have exact timestamps but you will lose the video durations, live status and upcoming videos will show the date that they first appeared in the feed not when they'll actually be published, additionally you'll only get 15 instead of 30 videos per channel.

@absidue absidue closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2025
@Gevaarlijk
Copy link
Author

Gevaarlijk commented Jan 17, 2025

Thank you! RSS feeds actually works much better indeed.

Live status and upcoming videos being eliminated is actually a bonus as those are just annoying and I can certainly live without the duration.

Can you explain what you mean by 15 instead of 30 videos per channel? I wasn't aware there was any limit whatsoever?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B: inconsistent behavior bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants