Open Ryrynz opened 9 years ago
If the last item in the playlist fails to open, we'll need to reset the window size if the setting was true. This isn't possible yet but will be in the next version of MPDN - PlayerControl.ResetWindowSize();
We should definitely wait until the next release of MPDN is available before implementing this.
ATM when both these options are enabled the window drops back to it's closed state before fitting the new media. Preventing this from happening makes things more seamless. I think Zach would prefer to keep this behavior for MPDN but said the playlist could temporarily disable the reset window size when the next file is loaded.
var original = PlayerControl.PlayerSettings.GeneralSettings.ResetWindowSize; PlayerControl.PlayerSettings.GeneralSettings.ResetWindowSize = false; // ... Open new file ... PlayerControl.PlayerSettings.GeneralSettings.ResetWindowSize = original;