TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.36k stars 3.06k forks source link

Sort videos (inside channels and playlists) by views and dates #7729

Open zolagonano opened 2 years ago

zolagonano commented 2 years ago

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).

Jel19 commented 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.

opusforlife2 commented 2 years ago

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.

Jel19 commented 2 years ago

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.

AudricV commented 2 years ago

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:

If you need additional help, don't hesitate to join our IRC channel to ask questions!

amduae commented 2 years ago

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.

opusforlife2 commented 2 years ago

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.

dimyself commented 1 year ago

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)

jcperil commented 1 year ago

I have a follow up request to this. To avoid opening any duplicate, I would just mention it here.

Request title

Time period to sort videos

Request:

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.

Reason:

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.

rsmyst commented 1 year ago

+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!

heinrichat commented 1 year ago

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?

oren-evron commented 10 months ago

Love the app & support it. In a channel, I'd like to sort based on number of views, descending.