mdls command returns null for ringtone duration
All,
When I run the mdls command on a ringtone file to fetch its duration, the output is always null. For e.g running
mdls -raw -name kMDItemDurationSeconds SomeTone.m4r on the terminal returns (null) as the output. When I check the info for the ringtone in iTunes, I see that it's 14s long. Same issue when I try to fetch the total bitrate for the ringtone using mdls. It also returns null. Why does mdls fail ?
Mac Pro, Mac OS X (10.7.3)