How do I get the info about a mp3 file? I mean, like, the tags and the artwork? Any one?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not entirely sure if this answers your question, but here goes:
Assuming you mean any kind of audio file that resides in the iPod library, this information is contained in an MPMediaItem instance. These objects can be obtained in various ways, for example by using the MPMediaPickerController. The MPMediaItem is contained in the Media Player framework.
Reference here:
http://developer.apple.com/library/ios/#DOCUMENTATION/MediaPlayer/Reference/MPMediaItem_ClassReference/Reference/Reference.html
Small Example:
Now, if you’re actually talking about an mp3 file residing in your App’s sandbox, the answer you’re looking for is located in this thread: Reading MP3 information using objective c