diff --git a/Model/Player/PlayerModel.swift b/Model/Player/PlayerModel.swift index 8a625d17..6091e21b 100644 --- a/Model/Player/PlayerModel.swift +++ b/Model/Player/PlayerModel.swift @@ -507,7 +507,9 @@ final class PlayerModel: ObservableObject { Windows.player.window?.title = windowTitle #endif - Defaults[.lastPlayed] = currentItem + DispatchQueue.main.async(qos: .background) { [weak self] in + Defaults[.lastPlayed] = self?.currentItem + } } #if os(macOS)