futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
665 stars 41 forks source link

[Feature request] Sort and Search for downloads #795

Open bruceschaff opened 6 months ago

bruceschaff commented 6 months ago

I have a lot of videos downloaded and they seem to me sorted randomly, would be great if you can chose how they're sorted and even cooler if you could search downloads.

dimyself commented 6 months ago

Yes, sorting in downloads and playlists would be very beneficial!

This request was only opened last week? I'm surprised if there hasn't been some before this one

Bouhnosaure commented 5 months ago

Yes, it's a feature I've been looking for !

At least as a temporary placeholder, it could be great to sort by release date from the oldest to newest so, series or videos in multiple parts are not placed in random order.

Bouhnosaure commented 5 months ago

It should be simple to implement in a fixed sort at first

I'm not a Kotlin developer but it may be possible to sort here :

https://github.com/futo-org/grayjay-android/blob/master/app%2Fsrc%2Fmain%2Fjava%2Fcom%2Ffuto%2Fplatformplayer%2Ffragment%2Fmainactivity%2Fmain%2FDownloadsFragment.kt#L146

There should be a timestamp property inside the downloaded video objects.

I could try to make a PR but I'm abroad for the next few weeks without a dev environment.

dimyself commented 4 months ago

At minimum... Sorting (and also maybe searching) is needed for: downloads, playlists, and watch later.

These categories are almost unusable without proper sorting and a way to find videos.

Downloads are only usable to me because I will download a video in my sub feed and click on it to watch from my sub feed... Forget about finding a downloaded video through the downloads tab

Same for playlists and watch later! I don't even use watch later because all the videos seem to be in a random order with no way to find anything.

Playlist videos are the same... in a random order with no way to find videos other than manually scrolling / looking / hoping to find what you're looking for.