[Feature Request]: Sort videos within playlist
Guidelines
- [X] I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
- [X] I have searched the documentation for information that matches the description of the feature request I want to file, without success.
- [X] This issue contains only one feature request.
Problem Description
Sorting videos within the playlist isnt possible yet
Proposed Solution
add the sort by dropdown when u go into one of your local playlist and add the following sorting options
- A-Z (Video title)
- Z-A (Video title)
- A-Z (Channel name)
- Z-A (Channel name)
- Custom (Custom sorting will be set when user moves a video up/down in the list)
- Sorting by upload date of video (Recently uploaded / Earliest uploaded)
- Sort by views (Most viewed / Least Viewed)
- Sort by video length (Shortest something? / Longest something)
- Sort by Recently added / Earliest added
Alternatives Considered
None.
Issue Labels
new feature
Additional Information
Question asked in https://github.com/PikachuEXE/FreeTube/issues/54#issuecomment-1724931583
But the sorting shouldn't affect the stored order right? (or the playing order) Otherwise it will be way more complicated.
Answered in https://github.com/PikachuEXE/FreeTube/issues/54#issuecomment-1724938258
I agree but i think Custom will fulfill that if we use it by default
To clarify some more, when a playlist gets created and u add videos to it the default filter will always be Custom. If the user selects another filter that filter will be applied but if it is not to their liking they should be able to switch back to Custom and see their previously set Custom list. This way the user doesnt have to change the whole list again to their liking
Just adding the link to the discussion on the 0.20.0 release. https://github.com/FreeTubeApp/FreeTube/discussions/4848#discussioncomment-9013874
You will find 2 scripts to be able to divide and reverse the playlists. Please make backups before!
Any day I will try to add a way to have OpenAI autosort all the videos into different categorized playlists.
I think it's important to at least offer ascending and descending by date/time added to the playlist. Some of those other sorting methods would be nice but this is the main one I will be toggling regularly. The current search filters do not seem to distinguish between ascending and descending, nor to they offer sorting by date/time added to playlist.
Implementation detail: Can a user change their video order (e.g., move up/down) while they have a filter active? If so, wouldn't that necessarily wipe their previous Custom ordering in most cases? It seems to me that the easiest option would be to disable the ordering buttons outside of the Custom view.
We can go that way yes.
Reason i described it like that is with the following case in mind:
User sorts their playlist based on lets say Recently uploaded but wants to switch vid 1 and 2 in the list bc 2 is more interesting