     }
     private unowned var delegate: AVPlayerItemInfoDelegate
     private var assetInfo: AVAssetInfo
+    private var becameReady = false
     
     private var durationLoaded: Bool {
         item.status == .readyToPlay

    }
    
    private func clearObservers() {
        observers.forEach { $0.invalidate() }
        observers.removeAll()
    }

    */
    func waitForDuration() {
        observers = [
            item.observe(\.status) { [weak self] item, _ in
                guard let self = self else { return }
                if item.status == .readyToPlay && !self.becameReady {
                    self.becameReady.toggle()
                    self.delegate.didLoadDuration()
                }
            }
        ]
