/// </summary>\r
private bool disableLibdvdNav;\r
\r
- /// <summary>\r
- /// The disable libhb features\r
- /// </summary>\r
- private bool disableLibhbFeatures;\r
-\r
/// <summary>\r
/// The disable p reset update check notification.\r
/// </summary>\r
}\r
}\r
\r
- /// <summary>\r
- /// Gets or sets a value indicating whether DisableLibdvdNav.\r
- /// </summary>\r
- public bool DisableLibHbFeatures\r
- {\r
- get\r
- {\r
- return this.disableLibhbFeatures;\r
- }\r
-\r
- set\r
- {\r
- this.disableLibhbFeatures = value;\r
- this.NotifyOfPropertyChange("DisableLibHbFeatures");\r
- }\r
- }\r
-\r
-\r
#endregion\r
\r
#endregion\r
this.EnableProcessIsolation = userSettingService.GetUserSetting<bool>(UserSettingConstants.EnableProcessIsolation);\r
this.EnableDebugFeatures = userSettingService.GetUserSetting<bool>(UserSettingConstants.EnableDebugFeatures);\r
this.EnableLibHb = userSettingService.GetUserSetting<bool>(UserSettingConstants.EnableLibHb);\r
-\r
- // LibHbFeatures\r
- this.DisableLibHbFeatures = userSettingService.GetUserSetting<bool>(UserSettingConstants.DisableLibHbFeatures);\r
}\r
\r
/// <summary>\r
userSettingService.SetUserSetting(UserSettingConstants.EnableProcessIsolation, this.EnableProcessIsolation);\r
userSettingService.SetUserSetting(UserSettingConstants.ServerPort, this.ServerPort.ToString());\r
userSettingService.SetUserSetting(UserSettingConstants.EnableDebugFeatures, this.EnableDebugFeatures);\r
- userSettingService.SetUserSetting(UserSettingConstants.DisableLibHbFeatures, this.DisableLibHbFeatures);\r
userSettingService.SetUserSetting(UserSettingConstants.EnableLibHb, this.EnableLibHb);\r
}\r
\r
using System.ComponentModel;\r
using System.Globalization;\r
using System.Linq;\r
+ using System.ServiceModel.Channels;\r
using System.Windows;\r
\r
using Caliburn.Micro;\r
if (!object.Equals(value, this.useAdvancedTab))\r
{\r
// Set the Advanced Tab up with the current settings, if we can.\r
- if (value && !this.userSettingService.GetUserSetting<bool>(UserSettingConstants.DisableLibHbFeatures))\r
+ if (value)\r
{\r
this.Task.AdvancedEncoderOptions = this.GetActualx264Query();\r
}\r
/// </returns>\r
private string GetActualx264Query()\r
{\r
- if (this.userSettingService.GetUserSetting<bool>(UserSettingConstants.DisableLibHbFeatures))\r
+ if (!GeneralUtilities.IsLibHbPresent)\r
{\r
return string.Empty; // Feature is disabled.\r
}\r
<StackPanel Orientation="Vertical" Grid.Column="1" Margin="20,0,0,0">\r
<StackPanel Orientation="Horizontal">\r
<ComboBox Name="whenDone" ItemsSource="{Binding WhenDoneOptions}" SelectedItem="{Binding WhenDone}" Width="120" HorizontalAlignment="Left" />\r
- <CheckBox Content="Reset to 'Do nothing' when the app is launched." VerticalAlignment="Center" Margin="10,0,0,0" IsChecked="{Binding ResetWhenDoneAction}" />\r
+ \r
+ </StackPanel>\r
+\r
+ <StackPanel Orientation="Horizontal" Margin="0,5,0,0">\r
+ <CheckBox Content="Reset to 'Do nothing' when the app is re-launched." VerticalAlignment="Center" IsChecked="{Binding ResetWhenDoneAction}" />\r
</StackPanel>\r
- \r
\r
<StackPanel Orientation="Horizontal" Margin="0,5,0,0">\r
<CheckBox Content="Growl after Queue Completes" IsChecked="{Binding GrowlAfterEncode}" Margin="0,0,5,0"/>\r
</StackPanel>\r
<TextBlock Text="Available Options: {source} {title} {chapters} {date} {time} {quality} {bitrate}" />\r
\r
- <StackPanel Orientation="Horizontal" Margin="0,15,0,0">\r
+ <StackPanel Orientation="Vertical" Margin="0,15,0,0">\r
<CheckBox Content="Replace underscores with a space" IsChecked="{Binding RemoveUnderscores}"/>\r
- <CheckBox Content="Remove common punctuation" ToolTip="Dash (-), Period (.) and Comma (,) " IsChecked="{Binding RemovePunctuation}" Margin="5,0,0,0"/>\r
- <CheckBox Content="Change case to Title Case" IsChecked="{Binding ChangeToTitleCase}" Margin="5,0,0,0" />\r
+ <CheckBox Content="Remove common punctuation" ToolTip="Dash (-), Period (.) and Comma (,) " IsChecked="{Binding RemovePunctuation}" />\r
+ <CheckBox Content="Change case to Title Case" IsChecked="{Binding ChangeToTitleCase}" />\r
</StackPanel>\r
\r
<StackPanel Orientation="Horizontal" Margin="0,15,0,0">\r
\r
<StackPanel Orientation="Vertical" Grid.Column="1" Margin="20,0,0,0">\r
<CheckBox Content="Prevent the system from sleeping while encoding" IsChecked="{Binding PreventSleep}" />\r
- <CheckBox Content="Disable LibHB Features" IsChecked="{Binding DisableLibHbFeatures}" />\r
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">\r
<TextBlock Text="Number of picture previews to scan:" VerticalAlignment="Center" Width="250" />\r
<ComboBox Name="numberOfPreviews" ItemsSource="{Binding PreviewPicturesToScan}" SelectedItem="{Binding SelectedPreviewCount}" Width="120" />\r
<Button Content="Clear Log History" cal:Message.Attach="[Event Click] = [Action ClearLogHistory]" />\r
</StackPanel>\r
\r
- <CheckBox Content="Clear Log files older than 30 days " Margin="0,5,0,0" IsChecked="{Binding ClearOldOlgs}" />\r
+ <CheckBox Content="Clear Log files older than 30 days " Margin="0,10,0,0" IsChecked="{Binding ClearOldOlgs}" />\r
</StackPanel>\r
\r
</StackPanel>\r