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]: Huge user playlists (in the 1000s and 10,000s range) take a long time to load and display, leaving the Playlist view does so as well, and so does viewing the next video in the playlist #4578

Open
6 tasks done
Gorrrg opened this issue Jan 21, 2024 · 2 comments
Assignees
Labels
B: usability bug Something isn't working
Projects

Comments

@Gorrrg
Copy link

Gorrrg commented Jan 21, 2024

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

  1. Have a significantly huge playlist, mine has over 17,000 items
  2. View that playlist
  3. Wait and wait

And...

  1. Click a video from that playlist
  2. Wait and wait and wait (takes as long as loading the playlist to leave the playlist)

And..

  1. Watch a video in that playlist to the end
  2. Wait and wait and wait
  3. Next video plays

Expected Behavior

I've recently switched to a newer snapshot (v3847) and it has the new playlist system. Now my Favorites were converted to a playlist called Favorites. On the older version this single Playlist was displaying instantly, and now with the new system, every single video in the playlist seems to get processed. And I just expect the top most items showing up as fast as they used to. I also often switch between Subscription view and Playlist view and this waiting time just breaks my workflow, distracting me.

What's even worse is that if I want to watch a video by clicking on it from that playlist it again takes this huge amount of time until the Video view is loaded, the entire playlist gets processed again. And when I've finished watching one video loading the next also takes seconds. Making the entire thing the opposite of enjoyable to use.

Of course, I could just create a new Favorites playlist, but eventually I end up with hundreds of playlists. And maybe I want to keep those videos in that playlist so it's easier to find videos I have watched half a year or a year ago.

I wonder if those playlists are saved as a JSON file? Maybe it's time to switch to a database format?

Issue Labels

usability issue

FreeTube Version

v0.19.1-nightly-3847 Beta

Operating System Version

Windows 11 Pro, 23H2

Installation Method

.exe

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

No response

Nightly Build

@Gorrrg Gorrrg added the bug Something isn't working label Jan 21, 2024
@FreeTubeBot FreeTubeBot added this to To assign in Bug Reports Jan 21, 2024
@Gorrrg Gorrrg changed the title [Bug]: Huge playlists (in the 1000s and 10,000s range) take a long time to load and display [Bug]: Huge playlists (in the 1000s and 10,000s range) take a long time to load and display, leaving the Playlist view does so as well Jan 21, 2024
@Gorrrg Gorrrg changed the title [Bug]: Huge playlists (in the 1000s and 10,000s range) take a long time to load and display, leaving the Playlist view does so as well [Bug]: Huge playlists (in the 1000s and 10,000s range) take a long time to load and display, leaving the Playlist view does so as well, and so does viewing the next video in the playlist Jan 21, 2024
@absidue absidue changed the title [Bug]: Huge playlists (in the 1000s and 10,000s range) take a long time to load and display, leaving the Playlist view does so as well, and so does viewing the next video in the playlist [Bug]: Huge user playlists (in the 1000s and 10,000s range) take a long time to load and display, leaving the Playlist view does so as well, and so does viewing the next video in the playlist Jan 21, 2024
@absidue absidue self-assigned this Jan 21, 2024
@absidue absidue removed the U: stale label Feb 20, 2024
@FreeTubeApp FreeTubeApp deleted a comment from github-actions bot Apr 1, 2024
@FreeTubeApp FreeTubeApp deleted a comment from github-actions bot Apr 1, 2024
Copy link
Contributor

github-actions bot commented May 7, 2024

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Copy link
Contributor

github-actions bot commented Jun 5, 2024

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B: usability bug Something isn't working
Projects
Bug Reports
To assign
Development

No branches or pull requests

3 participants