FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.63k stars 862 forks source link

[Feature Request]: Sort playlists by date ascending / descending #5381

Closed shakeyourbunny closed 4 months ago

shakeyourbunny commented 4 months ago

Guidelines

Problem Description

Playlists are not sortable by date either ascending or descending.

Proposed Solution

Add feature that playlists may be sorted by date in either direction.

I looked at the JSON for the playlists and they do not save the upload date of the video. If this would get be implemented, adding videos should include the upload date information in the list to avoid unnecessary lookups and API calls.

For current playlists, Freetube should add that information. Note that there may be very long playlists (2000+ videos in my imported youtube favorites), so that the requests should be done in chunks or to avoid blockage.

Alternatives Considered

Alternative would be resorting to manual manipulation of the JSON files.

Issue Labels

improvement to existing feature

Additional Information

No response

efb4f5ff-1298-471a-8973-3d47447115dc commented 4 months ago

We are unable to implement this. On YT publish dates don't exists on some videos. Invidious also does not return them inside playlists.