Skip to content

Commit

Permalink
MP1-5230: Configuration: Fix XySubFilter selection - check madVr sele…
Browse files Browse the repository at this point in the history
…ction prior to loading subtitle engine type
  • Loading branch information
epbk committed Nov 30, 2024
1 parent be30dfa commit c624b3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediaportal/Configuration/Sections/Movies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public override void LoadSettings()

repeatPlaylistCheckBox.Checked = xmlreader.GetValueAsBool("movies", "repeat", true);
comboBoxPlayAll.SelectedIndex = xmlreader.GetValueAsInt("movies", "playallinfolder", 3);

MadVrInUse = xmlreader.GetValueAsBool("general", "useMadVideoRenderer", false);
subEnginesCombo.SelectedItem = xmlreader.GetValueAsString("subtitles", "engine", "MPC-HC");
subPaths.Text = xmlreader.GetValueAsString("subtitles", "paths", @".\,.\Subtitles\");
checkBoxShowWatched.Checked = xmlreader.GetValueAsBool("movies", "markwatched", true);
Expand All @@ -163,7 +163,7 @@ public override void LoadSettings()
playedPercentageTB.Value = playedPercentageTrackBar.Value;

comSkipCheckBox.Checked = xmlreader.GetValueAsBool("comskip", "automaticskip", false);
MadVrInUse = xmlreader.GetValueAsBool("general", "useMadVideoRenderer", false);

string selection = (string)subEnginesCombo.SelectedItem;
if ((!MadVrInUse && selection.Equals("XySubFilter") && !SubtitleComboMessageDone))
{
Expand Down

0 comments on commit c624b3e

Please sign in to comment.