Open zolagonano opened 2 years ago
Just my 2 cents. I love the app. As a user, the issue I experience most... which is, literally, every time I search for videos through any means (text search, what's new, etc), is the returned video list is not sorted by descending date order. This order might be the most logical default to use.
This order might be the most logical default to use.
The default order on all mainstream sites is to sort by relevance. The only examples of default sorting by date I know are indie/small platforms that are in beta or an in-development state.
The default order on all mainstream sites is to sort by relevance.
Ok, I assumed the user's search inputs provided relevance. Even still, having the results date sorted is very useful as it allows user's to quickly assess applicability/relevance based on video age. Product review searches (e.g car road test,etc.) provide a ready example of when a date ordered result list would be helpful.
I started a while ago an implementation, but I am not sure of what I did in terms of code model. I feel that the current implementation is a bit strange (using strings for sort filters).
If you want to go ahead (I don't work on this for now, but on something else, that's not my priority for now), you can go ahead, especially because I am not able do the app implementation due to the lack of knowledge I have in Android specific development.
Here are some tips to help you:
for the extractor implementation:
LinkHandler
s and LinkHandlerFactor[ies]
. You will have to add support on LinkHandlerFactor[ies]
of services and probably makes changes on ChannelInfo
s to allow passing sort filters (they are currently using string arrays, but free feel to change this (by instance to a list instead if you think keeping strings is a good idea). For more details about how this works, take a look at our documentation;here are the protobuf parameters values you need to use in the browse
requests of the InnerTube API:
EgZ2aWRlb3M%3D
EgZ2aWRlb3MYAiAAMAE%3D
EgZ2aWRlb3MYASAAMAE%3D
(edit: with the new layout, filters are using continuations, making sorting harder. Sort by oldest option is also removed)
toptracks
endpoint of SoundCloud's internal API, the current sort is the one of the tracks tab (tracks
endpoint) (by newest);ChannelFragment
, in its view XML files, add string resources and maybe more.If you need additional help, don't hesitate to join our IRC channel to ask questions!
Isn't this the same as #2251 mentioned in Major planned missing features or this considered different as it's only sorting by date and views.
2251 is about search. This is about channels. So maybe the underlying framework for sorting and filtering could be the same, but the UI part would be different.
i am also interested in being able to change the sort order of a search... kind of like youtube currently has, if possible:
sort by relevance (current default) sort by date - (if i'm looking for recent content/news, this is invaluable. it will bypass old stuff) sort by length - (sometimes i wanna bypass all the short crap if i know i'm looking for only longer vids)
I have a follow up request to this. To avoid opening any duplicate, I would just mention it here.
Time period to sort videos
There should be time periods like All/Half Year/1 Year/2 Years/... etc. Let's say I pick 1 Year. Then in that 1 year time period, we should be able to sort videos (ascending/descending) by date or views.
For some channels, the older content like 5-15 years ago are the most popular but are also the least relevant in present day. It can serve other purposes too. It would be nice to have a time period to do the sorting on.
Alternatively, we could choose a year, say, 2019 which would trigger sorting on the time period 2019-present. Or a a custom time period where user decides initial date and final date to sort upon.
+1 for the feature. very annoying to have to remember the video name etc. to view it on newpipe. Please add a sort by popularity of video function!
If possible give the option show the videos inside a bookmarked playlist in original order (date when video was added) and reverse. I have a "watch later" list with almost 900 videos in them. When I want a recently added video, I have to scroll past 899 videos to get to the 900-st video. A simple switch would allow to show the recently added videos on the top.
I don't know if this is the same issue #9676 . What date? Date of video creation? Or Date of when the video was added to the playlist?
Love the app & support it. In a channel, I'd like to sort based on number of views, descending.
Checklist
What feature do you want?
I want to have an option for sorting videos by their dates or views.
Why do you want this feature?
Because scrolling down and finding the oldest video or most popular video is frustrating (especially if the channel/playlist has lots of videos).