         var songInfo = [MPMediaItemPropertyTitle: song.title,
             MPMediaItemPropertyArtist: title,
             //MPNowPlayingInfoPropertyElapsedPlaybackTime: time + 30,
-            MPMediaItemPropertyPlaybackDuration: audioPlayer!.duration] as [String : AnyObject]
+            MPMediaItemPropertyPlaybackDuration: self.audioPlayer!.duration] as [String : AnyObject]
 
         if let artwork = song.artwork {
             songInfo[MPMediaItemPropertyArtwork] = MPMediaItemArtwork(image: artwork)

    }

    // DataSource
    internal weak var dataSource: ColiseuPlayerDataSource?

    public override init()
    {

    private var playerWillRepeat: Bool?

    // Delegate
    public weak var delegate: ColiseuPlayerDelegate? {
        willSet {
            if let viewController = newValue as? UIViewController {
                UIApplication.sharedApplication().beginReceivingRemoteControlEvents()
