Page 1 of 1

How to sort Video files by Length (Duration)

PostPosted: Tue Aug 10, 2021 5:17 pm
by deevinityplayfair
I don't know if its possible, been trying so many things (also with the duration field) but nothing is working...

What I want to accomplish is this:
Video recording 1 - length 00:15 (in to folder lower than one minute)
Video recording 5 - length 01:00 (in to folder between one minute an 5)
Video recording 3 - length 34:00 (in to folder between 30 min and an hour)

Is this even possible?
and how!

Please help, cause photos is nice sorting by date,
but videos is also great if it can be sorted by length (duration)

Re: How to sort Video files by Length (Duration)

PostPosted: Wed Aug 11, 2021 10:04 am
by Mr_Noodle
Try creating a condition to filter on Duration.

Re: How to sort Video files by Length (Duration)

PostPosted: Thu Aug 12, 2021 12:54 am
by deevinityplayfair
Mr_Noodle wrote:Try creating a condition to filter on Duration.

Already tried that, that’s why I’m asking now on the forum..

If, kind is video
Than
Duration is lower than 50
Sort in to folder …

Doesn’t work

Re: How to sort Video files by Length (Duration)

PostPosted: Thu Aug 12, 2021 9:56 am
by Mr_Noodle
Try the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results.

Re: How to sort Video files by Length (Duration)

PostPosted: Thu Aug 12, 2021 10:32 am
by deevinityplayfair
Mr_Noodle wrote:Try the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results.


Thanks for the guid, I was forgot about that option! love it, but..

Ive tested it with the guide you gave.
no results. when using the duration field al the sub fields like: is, is not, between, ect. don't work
only the field: is blank... works...

So does that means that the duration field is not reading the length (duration) of (mp4) video files?

Re: How to sort Video files by Length (Duration)

PostPosted: Fri Aug 13, 2021 10:38 am
by Mr_Noodle
If you do Get Info on the file in Finder, you can see the metadata there. If it isn't there then you'll need to check your Spotlight settings/configuration.

Re: How to sort Video files by Length (Duration)

PostPosted: Sat Aug 14, 2021 5:50 am
by deevinityplayfair
I've found the issue!
(THIS COULD BE FOR NAS USERS)

I think, the Mac don't read 'more info' from files on the nas
ive moved the files to the Mac hdd, than it was visible

So my work around in hazel is:
Move files to Mac hdd, so it can read the more info,
Add an hazel rule on the Mac hdd folder
So it transfer back to the Nas in sub folders on duration.

Normally I sort on my nas with hazel,
but this is my solution and it works!

much thanks to Mr_Noodle for the support!!!