-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search: Sort results by "File Size" and "Video Duration" #2620
Comments
The Code for this is really easy and I did it already. I would also create a PR, but I am to dumb to show it on the frontend. For the Frontend part I did: I don't run photoprism in docker, I run it like in https://github.com/IndrekHaav/photoprism-debian described I would be really glad if anyone can point me into the right direction |
Forget my last comment. Got the frontend working. |
@maumi I am new to photoprism, but I love your sorting idea. It would also be great if it would be possible to filter for videos in an album as well. |
I think there is no filtering in albums only a sorting. You could sort by length and so Videos will be at the top. |
Well, everything is better than nothing like at the moment.
From: maumi ***@***.***>
Sent: Montag, 22. August 2022 18:18
To: photoprism/photoprism ***@***.***>
Cc: Iwan Zarembo ***@***.***>; Comment ***@***.***>
Subject: Re: [photoprism/photoprism] Videos: More sorting options (Issue #2620)
I think there is no filtering in albums only a sorting. You could sort by length and so Videos will be at the top.
—
Reply to this email directly, view it on GitHub <#2620 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACMG6EXB35X3T7BTAP7X543V2OR5JANCNFSM562OMWPA> .
You are receiving this because you commented. <https://github.com/notifications/beacon/ACMG6ET24KJVKGH7NRLUXPDV2OR5JA5CNFSM562OMWPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJDPTC6I.gif> Message ID: ***@***.*** ***@***.***> >
|
In the search section you can use 'album:Holiday type:video' to find all videos that are part of the album with the name Holiday. https://docs.photoprism.app/user-guide/search/filters/#filter-reference We do also have an open issue for a search bar in albums. When it comes to sorting for size and duration, this is of great interest for others as well. |
Can you explain the edge cases a little bit more? |
@graciousgrey I have people who are end users (like my wife and kids) and they are supposed to be able to find videos. @maumi Does the use case make sense to you? |
Sure. Until now I don't use Albums but in the video section it is useful to sort by duration or size. |
sure, I would love to give it a try. |
@iwanzarembo Search box and filter dropdowns in albums are planned. Search filters will also be integrated into the user interface at some point. It's not that we don't want it, but development takes time. Users can do their part and become sponsors :)
We do not publish features that are not suitable for all use cases, as this leads to a high support effort on our side. Videos might be stacked and those stacked videos might have different durations/sizes. |
@graciousgrey Well I understand that development needs time, but there is always the problem of over engineering if you think too long about a feature 😄. |
It's not that we think too long, but have too many feature request to deliver all of them instantly. |
@iwanzarembo: PR is created as WIP |
Thank you :) |
Signed-off-by: Michael Mayer <michael@photoprism.app>
You can now test this using our Development Preview and/or Public Demo! |
I've tested in Live Demo. |
Why would you want to find the smallest files or the shortest videos? 0 bytes, 0 seconds. Can tell you that without looking it up. It also would not help usability to have a order select as long as the actual result list. But of course it makes sense to sort from oldest to newest and vice versa. |
The rationale is that the higher you go, the fewer results there are. Like you would generally not search for the smallest mountain, but for the highest. People with live photos will have a ton of very short videos, potentially thousands. Why even bother sorting them by shortest duration? What is the use case? |
If you want to find short videos, filter for live photos and sort them by something useful like oldest or newest. If you want to find very small files and delete them all at once, use terminal commands. |
Since there was no further feedback on my last 3 comments (and the commit is 9 days old), we will release it as is. If you feel that you really need to find the shortest videos and smallest files, please open a new feature request and describe what problem this solves and why this would be valuable to many users. |
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Hello all, thank to all |
I miss some sorting options for Videos like sort by Duration or sort by Size.
I would love to see that feature
The text was updated successfully, but these errors were encountered: