SUMMARY I'd like to be able to sort videos by length. I do understand the workaround by enabling indexing then sorting by audio length, but this not intuitive to new users and doesn't work for removable media. It does appear that there is a duration listed for files not indexed in the details tab of file properties, so the information is already collected to sort by. Thanks! SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 Kernel Version: 6.6.13-amd64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 Manufacturer: Dell Inc. Product Name: Inspiron 7573 ADDITIONAL INFORMATION
(In reply to nealheinecke from comment #0) > I'd like to be able to sort videos by length. I do understand the workaround > by enabling indexing then sorting by audio length, but this not intuitive to > new users and doesn't work for removable media. It does appear that there is > a duration listed for files not indexed in the details tab of file > properties, so the information is already collected to sort by. The duration is metadata embedded in each of the files. To get it you either need to open the file, extract and decode the metadata or ask a service that has already done it.... Dolphin, on it's own, reads enough of the file to get the duration (when you look at the properties, after an F11) but it doesn't read the metadata of all the files it shows you and give you the durations in a "duration" column. When Dolphin sees that Baloo is running and has indexed the folder, it will ask it for the "Duration" values and display them. You can then sort them. So, yes. You can do this but you depend on Baloo having done the work....
*** This bug has been marked as a duplicate of bug 406506 ***
(In reply to Patrick Silva from comment #2) > > *** This bug has been marked as a duplicate of bug 406506 *** Forgive my ignorance on this matter, but I dont see where this is a duplicate request of 406506, I've read through it a couple times and while I understand that resolving request 406506 would have to be completed in order to start thinking about how you would sort by video length on folders not indexed, I dont see any mention about sorting videos by length. Also as it stands now, a video folder that is indexed still requires an awkward workaround to be sorted by length. The only sort options under video are aspect ratio or famerate. See the attached screenshot.
Created attachment 165878 [details] Current video sort options
(In reply to nealheinecke from comment #3) > ... The only sort options under video are aspect ratio or framerate ... Yes, it would make sense to include an option for Duration for Videos (as well as Audio)... I find the "Sort By" option peculiarly difficult to find, there seems to be a lot of hoops to jump through before you see it :-/
Ive changed the wording in the title to be more precise (length -> duration)