2

is there any way I can get reference of MPMediaItem from raw mp3 file bundled in main bundle as a resource?

Thanks in advance.

Saty
  • 2,563
  • 3
  • 37
  • 88

1 Answers1

3

No, MPMediaItem is a file in the iPod library. It is clearly stated in the documentation:

A media item represents a single piece of media (such as one song or one video podcast) in the iPod library.

rckoenes
  • 69,092
  • 8
  • 134
  • 166
  • Lightening fast man !!! thanks for the info... then is there any way I can retrieve artist info, song info and other properties from song with out using MPMediaItem cause I know how to use MPMediaItem to retrieve them. Please help me out. – Saty Mar 07 '14 at 10:10
  • Yes that is possible, see this answer: http://stackoverflow.com/questions/14030746/ios-avfoundation-how-do-i-fetch-artwork-from-an-mp3-file/14046486#14046486 – rckoenes Mar 07 '14 at 10:14
  • Okay..I will give it a try and come back to let you know however u r damn good!!!! – Saty Mar 07 '14 at 10:20