mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-09 05:35:27 +00:00
[PR #895] [MERGED] Remove SkipMediaTypeDetection option, cleanup options window #1217
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SabreTools/MPF/pull/895
Author: @Deterous
Created: 9/26/2025
Status: ✅ Merged
Merged: 9/26/2025
Merged by: @mnadareski
Base:
master← Head:master📝 Commits (3)
a96f76fRemove SkipMediaTypeDetection option, cleanup options window28418cdShrink detection section in options6d692a2always try to guess media type📊 Changes
4 files changed (+13 additions, -35 deletions)
View changed files
📝
CHANGELIST.md(+1 -0)📝
MPF.Frontend/Options.cs(+0 -9)📝
MPF.Frontend/ViewModels/MainViewModel.cs(+2 -9)📝
MPF.UI/Windows/OptionsWindow.xaml(+10 -17)📄 Description
SkipMediaTypeDetectionoption is now mostly obsolete, so this PR removes it.Unlike long ago, MPF no longer uses the old third party library (no chance of freezing the UI so there is no essential need for the option).
And as of recently, only DIC execution context cares about the media type, so I have replaced the option with a check against Internal Program. Media type detection now runs only when DIC is selected.
Additionally, a couple of minor UI fixes have been made in the Options window.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.