 // THE SOFTWARE.
 
 import AVFoundation
+import UIKit
+import MediaPlayer
 
 public class AudioFile
 {

            self.init(title, "")
        }
        
        path = url
    }
}

                }
                let commonKey = metadataItem.commonKey!
                
//                if commonKey == nil {
//                    continue
//                }
                
                switch commonKey {
                case "artwork":
                    if let audioImage = UIImage(data: metadataItem.value! as! NSData) {
                        audioArtwork = MPMediaItemArtwork(image: audioImage)
                        print(audioImage.description)
                    }
                case "title":
                    // It's working
                    title = metadataItem.value! as! String
