PDA

View Full Version : Tags?


robgendreau
Jun 10, 2013, 06:40 PM
So....how they gonna work?

Compatible with existing open meta tags?

Galaxas0
Jun 10, 2013, 06:50 PM
I assume they're similar to the Finder labels, but are now searchable. Will confirm this when I finish installing.

MLMcMillion
Jun 11, 2013, 12:05 PM
They take the place of Finder labels. They're essentially searchable Finder labels with some added UI to make applying them easier.

benwiggy
Jun 11, 2013, 12:13 PM
Except that you could only have one Finder label. (The 7 labels plug one other flag were stored in 3 bits of metadata!)

You can now have more than one, and create your own.

Minority_taxi
Jun 11, 2013, 08:55 PM
Hi, has anyone seen if existing meta tags work with OS 10.9 tagging? I want to know if I could start tagging files now ready for OS 10.9. huge help if someone could check if this works please :)

Cc.

sfwalter
Jun 11, 2013, 09:24 PM
Has anyone checked to see if the tags are compatible with existing tagging solutions like openmeta tags?

leman
Jun 11, 2013, 10:55 PM
Well, I just spent a few seconds looking at it so I can't tell much, but so far, it seems that both use a very similar approach to store tags. Actually, Apple's tags appear to be OpenMeta reimplemented. Both use xattrs to store tags. If I am not mistaken, OpenMeta calls its attribute com.apple.metadata:kOMUserTags and Apple's tags are stored in com.apple.metadata:_kMDItemUserTags

So I guess if OpenMeta would use the same attribute name, the both system will be compatible automatically. AFAIK they already store the tags in the same format. One idea would be to write a script which runs through all the files and renames com.apple.metadata:kOMUserTags attributes to com.apple.metadata:_kMDItemUserTags

Baklava
Jun 13, 2013, 08:35 AM
Does anyone else get this error when clicking on a tag on Finders left sidebar?

Log

Exception Name: NSInvalidArgumentException
Description: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
User Info: (null)

0 CoreFoundation 0x00007fff94b008ce __exceptionPreprocess + 174
1 libobjc.A.dylib 0x00007fff895e6f51 objc_exception_throw + 43
2 CoreFoundation 0x00007fff94ab1db6 -[__NSPlaceholderArray initWithObjects:count:] + 358
3 CoreFoundation 0x00007fff94ac47a0 +[NSArray arrayWithObjects:count:] + 48
4 Finder 0x000000010a04ee54 Finder + 1613396
5 Finder 0x000000010a04f551 Finder + 1615185
6 Finder 0x000000010a0a07a4 Finder + 1947556
7 Finder 0x000000010a0a0fab Finder + 1949611
8 Finder 0x0000000109f4d0ab Finder + 557227
9 Finder 0x0000000109f4c749 Finder + 554825
10 AppKit 0x00007fff93db5918 -[NSWindow sendEvent:] + 11303
11 AppKit 0x00007fff93daff48 -[NSApplication sendEvent:] + 2021
12 Finder 0x000000010a02ef7b Finder + 1482619
13 AppKit 0x00007fff93cd1599 -[NSApplication run] + 646
14 AppKit 0x00007fff93c7b563 NSApplicationMain + 940
15 Finder 0x0000000109ecb878 Finder + 26744
16 libdyld.dylib 0x00007fff8989f60d start + 1
17 ??? 0x0000000000000001 0x0 + 1

activate
Jun 13, 2013, 08:41 AM
No error, tags are working as advertised.

Baklava
Jun 13, 2013, 01:55 PM
Anyone else, who has a solution?

sfwalter
Jul 2, 2013, 04:06 PM
Well, I just spent a few seconds looking at it so I can't tell much, but so far, it seems that both use a very similar approach to store tags. Actually, Apple's tags appear to be OpenMeta reimplemented. Both use xattrs to store tags. If I am not mistaken, OpenMeta calls its attribute com.apple.metadata:kOMUserTags and Apple's tags are stored in com.apple.metadata:_kMDItemUserTags

So I guess if OpenMeta would use the same attribute name, the both system will be compatible automatically. AFAIK they already store the tags in the same format. One idea would be to write a script which runs through all the files and renames com.apple.metadata:kOMUserTags attributes to com.apple.metadata:_kMDItemUserTags

I found this shell script which will convert openmeta to maverick tags: https://gist.github.com/Zettt/5880737