     var shouldSetupClip: Bool = false
     var shouldStartFromTime: Int64 = 0
     var shouldStopAtEndTime: Int64 = 0
+    var hasErrored: Bool = false
     
     var progress:Double {
         return self.audioPlayer.duration > 0 ? self.audioPlayer.progress : Double(self.shouldStartFromTime)

        
        self.delegate?.playerHistoryItemLoadingBegan()
        
        self.audioPlayer.pause()
        
        // If you are loading a clip, or an episode from the beginning, the item.lastPlaybackPosition will be overridden in the observeValue or seek method.
        if let lastPlaybackPosition = item.lastPlaybackPosition, !self.shouldSetupClip {

                }
                
                if self.audioPlayer.state == .error {
                    self.hasErrored = true
                    self.delegate?.playerHistoryItemErrored()
                    return
                }
