         }
         statsView.hidden = composition.isDraft
         
-        // remove the observer from a previous item
-        NSNotificationCenter.defaultCenter().removeObserver(self)
-        
-        if let audioUrl = composition.audioUrl {
-            audioItem = AVPlayerItem(URL: audioUrl)
-            NSNotificationCenter.defaultCenter().addObserver(self, selector: "playerDidFinishPlaying:", name: AVPlayerItemDidPlayToEndTimeNotification, object: audioItem!)
-            audioPlayer = AVPlayer(playerItem: audioItem!)
-        }
-        
         if let length = composition.length {
             self.length.text = Recording.formatTime(Double(length), includeMs: false)
         } else {

        if let waveformImageUrl = composition.waveformImageUrl {
            waveFormView.setImageURLWithFade(waveformImageUrl, alpha: 0.25, completion: nil)
        }
        
    }
    

        }
    }
    
    var composition: Composition {
        return tune != nil ? tune! : recording!
    }
    
    deinit {
        NSNotificationCenter.defaultCenter().removeObserver(self)
    }
