-
All replies
-
Helpful answers
-
Apr 18, 2012 6:38 PM in response to samseckeby red_menace,Itunes would be the application that imports the metadata - are those metadata keys in the database at all? Is the file in a folder that is indexed by Spotlight?
-
Apr 18, 2012 9:43 PM in response to red_menaceby samsecke,@red_menace. I force Spotlight to index the folder before running the mdls command on the ringtone.
I do mdimport "$folderName" before running the
"mdls -raw -name kMDItemDurationSeconds SomeTone.m4r"
statement. Inspite of that i get the "null" output. I ran the afinfo command on the ringtone and I was able to extract the duration. I have no idea why afinfo works and mdls doesnt