mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Add force dumping option for Aaru
This commit is contained in:
@@ -221,6 +221,10 @@ namespace MPF.Aaru
|
||||
if (options.AaruEnableVerbose)
|
||||
this[Flag.Verbose] = true;
|
||||
|
||||
// Force dumping
|
||||
if (options.AaruForceDumping)
|
||||
this[Flag.Force] = true;
|
||||
|
||||
// Remove personally identifiable information
|
||||
if (options.AaruStripPersonalData)
|
||||
this[Flag.Private] = true;
|
||||
|
||||
@@ -121,6 +121,15 @@ namespace MPF.Data
|
||||
set { _settings["AaruEnableVerbose"] = value.ToString(); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enable force dumping of media by default
|
||||
/// </summary>
|
||||
public bool AaruForceDumping
|
||||
{
|
||||
get { return GetBooleanSetting(_settings, "AaruForceDumping", false); }
|
||||
set { _settings["AaruForceDumping"] = value.ToString(); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Default number of sector/subchannel rereads
|
||||
/// </summary>
|
||||
|
||||
@@ -165,11 +165,15 @@
|
||||
ToolTip="Enable verbose output in logs" Margin="0,4"
|
||||
/>
|
||||
|
||||
<CheckBox VerticalAlignment="Center" Content="Force Dumping"
|
||||
IsChecked="{Binding Path=UIOptions.Options.AaruForceDumping}"
|
||||
ToolTip="Enable forcing dump even if there are issues" Margin="0,4"
|
||||
/>
|
||||
|
||||
<CheckBox VerticalAlignment="Center" Content="Strip Personal Data"
|
||||
IsChecked="{Binding Path=UIOptions.Options.AaruStripPersonalData}"
|
||||
ToolTip="Enable stripping of personally identifiable information from metadata" Margin="0,4,0,0"
|
||||
/>
|
||||
<Label/> <!-- Empty label for padding -->
|
||||
|
||||
<Label Content="Reread Tries:" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
||||
<TextBox VerticalAlignment="Center"
|
||||
|
||||
Reference in New Issue
Block a user