Issue: recognition movie not working in condition

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

hi,

Here is the rule: https://www.evernote.com/l/AAWsjimDAxJB ... em8yWbrPQo
I normally don't have the MPEG-4 Movie condition in there. For some reason "Kind is Movie" does not match despite it being a youtube video i downloaded with youtube-dl. "Kind is Movie" seems to never match anything (webm, mp4, mkv, mov,...). Is there a particular reason this doesn't work?

Thanks
bosie
 
Posts: 8
Joined: Wed Jan 17, 2018 4:27 pm

In Finder, select the file and do "Get Info". Check the Kind there.

Note that that categorization is dependent on the apps you have installed. While macOS has support for certain types, others, like mkv, require a third party app and that app has to provide the proper categorization.
Mr_Noodle
Site Admin
 
Posts: 7267
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle, thanks for the reply. the kind in finder is "MPEG-4 Movie". this isn't surprising as hazel recognizes it as such as well, as seen in the screenshot.
I thought that Kind==Movie in Hazel is basically a superset of movie types. If Hazel recognizes a file as MPEG-4, the condition kind==movie would be true. Apparently, this isn't the case though.
bosie
 
Posts: 8
Joined: Wed Jan 17, 2018 4:27 pm

As mentioned, that categorization is done by apps that manage those file types. You may have a rogue app which is screwing up the categorization of mp4 files (I'm assuming that's what you are using). That's where I would focus but again, it's not something Hazel controls.
Mr_Noodle
Site Admin
 
Posts: 7267
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Apologies for being a bit thick but the categorization is correct, otherwise why would hazel correctly say it is an mpeg-4 file? is hazel not grouping the various movie types (quicktime, mpeg-4,...) into its own category called "movie"?

Code: Select all
--- ~ » file --mime "barbell.mp4"
barbell.mp4: video/mp4; charset=binary


Not sure what more hazel needs to identify this correctly. I have the same problem with "Kind is Image". Hazel doesn't recognize any image correctly this way, i have to always do "Kind is JPEG image", "Kind is PNG image" etc.
bosie
 
Posts: 8
Joined: Wed Jan 17, 2018 4:27 pm

That is still done by the system. The categorization is not just assigning a category to a file. It also assigns that category in relation to the other categories. So, it's possible, for instance, for something to define "MPEG-4 Video" and then neglect to relate that category back to "Movie".
Mr_Noodle
Site Admin
 
Posts: 7267
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support