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

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

        }

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