                     try self.writeSafely(to: url, ofType: type, for: .saveOperation)
                 }
             }
-         } catch let error {
+        } catch let error {
             NSApp.presentError(error)
         }
     }

        }

        if self.settings.time.value == 0.0, let url = self.url, url.isFileURL {
            let attr = appDelegate.metadataDictionaryForFileAt((self.fileURL?.path)!)
            if let secs = attr?[kMDItemDurationSeconds] {
                self.settings.time.value = secs as! TimeInterval
            }

             }
        }
        if url.isFileURL { _displayImage = nil }
        
        self.windowControllers.first?.contentViewController?.representedObject = url
    }
    func update(with item: PlayItem) {
        self.restoreSettings(with: item.dictionary())
