14
6
Here I have a folder containing a bunch of *.mkv files (video, obviously) and *.srt files (subtitles, obviously). I want to keep them within one folder but I don’t want them to be mixed together. It looks like a good idea to visually arrange them into two separate groups.
However, neither extensions are recognised by the system, and they are still put under one group ‘Documents’, which is clearly not what I want.
The question: how to tell the system that all *.mkv file should be treated as ‘Media’ (or ‘Videos’, or whatever the name of the file kind group for video files)?
Thanks.
EDIT:
@Daniel, the associated program is MPlayerX and the output of that command is as follows:
imac:Game of Thrones arnold$ mdls "Game of Thrones 1×2.mkv"
kMDItemContentCreationDate = 2011-12-15 10:31:20 +0000
kMDItemContentModificationDate = 2011-12-27 09:09:55 +0000
kMDItemContentType = "dyn.ah62d4rv4ge804450"
kMDItemContentTypeTree = (
"public.data",
"public.item"
)
kMDItemDateAdded = 2011-12-27 09:22:55 +0000
kMDItemDisplayName = "Game Of Thrones 1×2.mkv"
kMDItemFSContentChangeDate = 2011-12-27 09:09:55 +0000
kMDItemFSCreationDate = 2011-12-15 10:31:20 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = 0
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = 0
kMDItemFSLabel = 0
kMDItemFSName = "Game of Thrones 1×2.mkv"
kMDItemFSNodeCount = 220877659
kMDItemFSOwnerGroupID = 99
kMDItemFSOwnerUserID = 99
kMDItemFSSize = 220877659
kMDItemFSTypeCode = ""
kMDItemKind = "Video Media"
kMDItemLogicalSize = 220877659
kMDItemPhysicalSize = 220880896
imac:Game of Thrones arnold$
Weirdly enough, the ‘Item Kind’ does show up as ‘Video Media’. And for a subtitle file is is ‘Subtitle’. Still, it doesn’t help Finder arrange those files correctly for some reason…
What program is associated with these files? What's the output of
mdls
in Terminal for one of these files, e.g.mdls "Game of Thrones episode 2.mkv"
? – Daniel Beck – 2011-12-27T11:11:49.727Is this grouping feature new in Lion? The icons also say "Subtitles" and "Video", respectively, so it shouldn't really be a problem. – slhck – 2011-12-27T11:42:45.567
@slhck It's new in Lion. Icons are 100% images and provided by the associated application, so that doesn't mean anything. Arnold, thanks for the
mdls
output. Are you using MPlayer OSX or MPlayer OSX Extended? – Daniel Beck – 2011-12-27T11:50:03.187@DanielBeck, it’s just the regular MPlayerX from the App Store.
– Arnold – 2011-12-27T11:58:23.140@DanielBeck Ah, I thought it was represented by
kMDContentType
. What kind of content type is the one listed above though? – slhck – 2011-12-27T12:35:08.737@slhck Dynamically generated, since the developer of MPlayerX didn't bother to properly assign a type. See my answer. That's why it's a document. – Daniel Beck – 2011-12-27T12:36:38.303
@DanielBeck
?? – Arnold – 2011-12-28T02:59:05.553
@ArnoldSakhnov Sorry about that. I posted a rather lengthy answer explaining the process but for some reason it didn't work when I tried and I deleted it for the time being. I probably got some detail wrong. If you're still interested, I can undelete it, but it currently is more of an explanation than a step-by-step guide. – Daniel Beck – 2011-12-28T03:56:59.640
@ArnoldSakhnov Finally I figured out the missing piece. Fixed the answer and undeleted it. – Daniel Beck – 2011-12-28T04:05:08.190