2024-02-13 02:59:40 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Page
|
2024-02-14 02:07:22 +01:00
|
|
|
x:Class="VDownload.Core.Views.Settings.SettingsView"
|
2021-12-19 14:58:47 +01:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2024-02-14 02:07:22 +01:00
|
|
|
xmlns:local="using:VDownload.Core.Views.Settings"
|
2021-12-19 14:58:47 +01:00
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2024-03-04 19:31:48 +01:00
|
|
|
xmlns:ctuc="using:CommunityToolkit.WinUI.UI.Controls"
|
|
|
|
|
xmlns:ctc="using:CommunityToolkit.WinUI.Controls"
|
|
|
|
|
xmlns:ct="using:CommunityToolkit.WinUI"
|
|
|
|
|
xmlns:i="using:Microsoft.Xaml.Interactivity"
|
|
|
|
|
xmlns:ic="using:Microsoft.Xaml.Interactions.Core"
|
2024-03-05 01:45:06 +01:00
|
|
|
xmlns:m="using:VDownload.Models"
|
2021-12-19 14:58:47 +01:00
|
|
|
mc:Ignorable="d"
|
2024-03-04 02:00:50 +01:00
|
|
|
Background="{ThemeResource ViewBackgroundColor}">
|
2024-02-14 02:07:22 +01:00
|
|
|
|
2024-03-04 02:00:50 +01:00
|
|
|
<Grid Padding="20"
|
|
|
|
|
RowSpacing="20">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/SettingsViewResources/Header"
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
FontSize="28"
|
|
|
|
|
FontWeight="SemiBold"/>
|
2024-03-04 19:31:48 +01:00
|
|
|
<ScrollViewer Grid.Row="1">
|
|
|
|
|
<StackPanel Spacing="20">
|
2024-03-05 02:23:31 +01:00
|
|
|
<!-- Searching -->
|
2024-03-04 19:31:48 +01:00
|
|
|
<StackPanel Spacing="5">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/SettingsViewResources/SearchingHeader"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
FontSize="15"/>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/SearchingPlaylistCount">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewSearchingPlaylistCount}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<NumberBox Value="{Binding SearchingPlaylistCount, Mode=TwoWay}"
|
|
|
|
|
Minimum="0"
|
|
|
|
|
SmallChange="1"
|
|
|
|
|
LargeChange="10"
|
|
|
|
|
SpinButtonPlacementMode="Compact"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
</StackPanel>
|
2024-03-05 02:23:31 +01:00
|
|
|
|
|
|
|
|
<!-- Tasks -->
|
2024-03-05 01:45:06 +01:00
|
|
|
<StackPanel Spacing="5">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksHeader"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
FontSize="15"/>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksRunningTasks">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewTasksRunningTasks}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<NumberBox Value="{Binding TasksRunningTasks, Mode=TwoWay}"
|
|
|
|
|
Minimum="1"
|
|
|
|
|
SmallChange="1"
|
|
|
|
|
LargeChange="10"
|
|
|
|
|
SpinButtonPlacementMode="Compact"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsExpander x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksDefaultMediaOptions">
|
|
|
|
|
<ctc:SettingsExpander.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewTasksDefaultMediaOptions}"/>
|
|
|
|
|
</ctc:SettingsExpander.HeaderIcon>
|
|
|
|
|
<ctc:SettingsExpander.Items>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksMediaType">
|
|
|
|
|
<ComboBox ItemsSource="{ct:EnumValues Type=m:MediaType}"
|
|
|
|
|
SelectedItem="{Binding TasksMediaType, Mode=TwoWay}">
|
|
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<ctuc:SwitchPresenter Value="{Binding Converter={StaticResource ObjectToStringConverter}}">
|
|
|
|
|
<ctuc:Case Value="Original">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/MediaTypeOriginal"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="OnlyVideo">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/MediaTypeOnlyVideo"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="OnlyAudio">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/MediaTypeOnlyAudio"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
</ctuc:SwitchPresenter>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksVideoExtension">
|
|
|
|
|
<ComboBox ItemsSource="{ct:EnumValues Type=m:VideoExtension}"
|
|
|
|
|
SelectedItem="{Binding TasksVideoExtension, Mode=TwoWay}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksAudioExtension">
|
|
|
|
|
<ComboBox ItemsSource="{ct:EnumValues Type=m:AudioExtension}"
|
|
|
|
|
SelectedItem="{Binding TasksAudioExtension, Mode=TwoWay}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
</ctc:SettingsExpander.Items>
|
|
|
|
|
</ctc:SettingsExpander>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksFilenameTemplate">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewTasksFilenameTemplate}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<TextBox Text="{Binding TasksFilenameTemplate, Mode=TwoWay}"
|
|
|
|
|
ToolTipService.ToolTip="{Binding TasksFilenameTemplateTooltip}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
2024-03-10 13:42:41 +01:00
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksMeteredConnectionWarning">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewTasksMeteredConnectionWarning}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<ToggleSwitch IsOn="{Binding TasksMeteredConnectionWarning, Mode=TwoWay}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
2024-03-05 01:45:06 +01:00
|
|
|
<ctc:SettingsExpander x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksSaveLastOutputDirectory">
|
|
|
|
|
<ctc:SettingsExpander.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewTasksOutputDirectory}"/>
|
|
|
|
|
</ctc:SettingsExpander.HeaderIcon>
|
|
|
|
|
<ToggleSwitch IsOn="{Binding TasksSaveLastOutputDirectory, Mode=TwoWay}"/>
|
|
|
|
|
<ctc:SettingsExpander.Items>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksDefaultOutputDirectory"
|
|
|
|
|
IsEnabled="{Binding TasksSaveLastOutputDirectory, Converter={StaticResource BoolNegationConverter}}"
|
|
|
|
|
Description="{Binding TasksDefaultOutputDirectory}">
|
|
|
|
|
<Button x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksDefaultOutputDirectoryButton"
|
|
|
|
|
Command="{Binding BrowseTasksDefaultOutputDirectoryCommand}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
</ctc:SettingsExpander.Items>
|
|
|
|
|
</ctc:SettingsExpander>
|
2024-03-10 13:42:41 +01:00
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TasksReplaceOutputFile">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewTasksReplaceOutputFile}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<ToggleSwitch IsOn="{Binding TasksReplaceOutputFile, Mode=TwoWay}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
2024-03-05 01:45:06 +01:00
|
|
|
</StackPanel>
|
2024-03-05 02:23:31 +01:00
|
|
|
|
2024-03-05 15:51:21 +01:00
|
|
|
<!-- Processing -->
|
|
|
|
|
<StackPanel Spacing="5">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/SettingsViewResources/ProcessingHeader"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
FontSize="15"/>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/ProcessingFFmpegLocation"
|
|
|
|
|
Description="{Binding ProcessingFFmpegLocation}">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewProcessingFFmpegLocation}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<Button x:Uid="/VDownload.Core.Strings/SettingsViewResources/ProcessingFFmpegLocationButton"
|
|
|
|
|
Command="{Binding BrowseProcessingFFmpegLocationCommand}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/ProcessingUseMultithreading">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewProcessingUseMultithreading}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<ToggleSwitch IsOn="{Binding ProcessingUseMultithreading, Mode=TwoWay}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/ProcessingUseHardwareAcceleration">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewProcessingUseHardwareAcceleration}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<ToggleSwitch IsOn="{Binding ProcessingUseHardwareAcceleration, Mode=TwoWay}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/ProcessingSpeed">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewProcessingSpeed}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<ComboBox ItemsSource="{ct:EnumValues Type=m:ProcessingSpeed}"
|
|
|
|
|
SelectedItem="{Binding ProcessingSpeed, Mode=TwoWay}">
|
|
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<ctuc:SwitchPresenter Value="{Binding Converter={StaticResource ObjectToStringConverter}}">
|
|
|
|
|
<ctuc:Case Value="VerySlow">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/ProcessingSpeedVerySlow"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="Slower">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/ProcessingSpeedSlower"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="Slow">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/ProcessingSpeedSlow"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="Medium">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/ProcessingSpeedMedium"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="Fast">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/ProcessingSpeedFast"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="Faster">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/ProcessingSpeedFaster"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="VeryFast">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/ProcessingSpeedVeryFast"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="SuperFast">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/ProcessingSpeedSuperFast"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
<ctuc:Case Value="UltraFast">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/CommonResources/ProcessingSpeedUltraFast"/>
|
|
|
|
|
</ctuc:Case>
|
|
|
|
|
</ctuc:SwitchPresenter>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-03-05 14:20:45 +01:00
|
|
|
<!-- Notifications -->
|
|
|
|
|
<StackPanel Spacing="5">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/SettingsViewResources/NotificationsHeader"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
FontSize="15"/>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/NotificationsOnSuccessful">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewNotificationOnSuccessful}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
2024-03-05 15:51:21 +01:00
|
|
|
<ToggleSwitch IsOn="{Binding NotificationsOnSuccessful, Mode=TwoWay}"/>
|
2024-03-05 14:20:45 +01:00
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/NotificationsOnUnsuccessful">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewNotificationOnUnsuccessful}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
2024-03-05 15:51:21 +01:00
|
|
|
<ToggleSwitch IsOn="{Binding NotificationsOnUnsuccessful, Mode=TwoWay}"/>
|
2024-03-05 14:20:45 +01:00
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-03-05 02:23:31 +01:00
|
|
|
<!-- Temporary files -->
|
|
|
|
|
<StackPanel Spacing="5">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/SettingsViewResources/TempHeader"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
FontSize="15"/>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TempDirectory"
|
|
|
|
|
Description="{Binding TempDirectory}">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewTempDirectory}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<Button x:Uid="/VDownload.Core.Strings/SettingsViewResources/TempDirectoryButton"
|
|
|
|
|
Command="{Binding BrowseTempDirectoryCommand}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TempDeleteOnFail">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{ThemeResource ImageSettingsViewTempDeleteOnFail}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<ToggleSwitch IsOn="{Binding TempDeleteOnFail, Mode=TwoWay}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- Twitch -->
|
2024-03-04 19:31:48 +01:00
|
|
|
<StackPanel Spacing="5">
|
|
|
|
|
<TextBlock x:Uid="/VDownload.Core.Strings/SettingsViewResources/TwitchHeader"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
FontSize="15"/>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TwitchVodPassiveTrimming">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{StaticResource ImageSourcesTwitch}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<ToggleSwitch IsOn="{Binding TwitchVodPassiveTrimming, Mode=TwoWay}"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TwitchVodParallelDownloads">
|
|
|
|
|
<ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{StaticResource ImageSourcesTwitch}"/>
|
|
|
|
|
</ctc:SettingsCard.HeaderIcon>
|
|
|
|
|
<NumberBox Value="{Binding TwitchVodParallelDownloads, Mode=TwoWay}"
|
|
|
|
|
Minimum="1"
|
|
|
|
|
SmallChange="1"
|
|
|
|
|
LargeChange="10"
|
|
|
|
|
SpinButtonPlacementMode="Compact"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsExpander x:Uid="/VDownload.Core.Strings/SettingsViewResources/TwitchVodChunkDownloadingErrorRetry">
|
|
|
|
|
<ctc:SettingsExpander.HeaderIcon>
|
|
|
|
|
<BitmapIcon ShowAsMonochrome="False"
|
|
|
|
|
UriSource="{StaticResource ImageSourcesTwitch}"/>
|
|
|
|
|
</ctc:SettingsExpander.HeaderIcon>
|
|
|
|
|
<ToggleSwitch IsOn="{Binding TwitchVodChunkDownloadingErrorRetry, Mode=TwoWay}"/>
|
|
|
|
|
<ctc:SettingsExpander.Items>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TwitchVodChunkDownloadingErrorRetryCount"
|
|
|
|
|
IsEnabled="{Binding TwitchVodChunkDownloadingErrorRetry}">
|
|
|
|
|
<NumberBox Value="{Binding TwitchVodChunkDownloadingErrorRetryCount, Mode=TwoWay}"
|
|
|
|
|
Minimum="1"
|
|
|
|
|
SmallChange="1"
|
|
|
|
|
LargeChange="10"
|
|
|
|
|
SpinButtonPlacementMode="Compact"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
<ctc:SettingsCard x:Uid="/VDownload.Core.Strings/SettingsViewResources/TwitchVodChunkDownloadingErrorRetryDelay"
|
|
|
|
|
IsEnabled="{Binding TwitchVodChunkDownloadingErrorRetry}">
|
|
|
|
|
<NumberBox Value="{Binding TwitchVodChunkDownloadingErrorRetryDelay, Mode=TwoWay}"
|
|
|
|
|
Minimum="0"
|
|
|
|
|
SmallChange="1"
|
|
|
|
|
LargeChange="10"
|
|
|
|
|
SpinButtonPlacementMode="Compact"/>
|
|
|
|
|
</ctc:SettingsCard>
|
|
|
|
|
</ctc:SettingsExpander.Items>
|
|
|
|
|
</ctc:SettingsExpander>
|
|
|
|
|
</StackPanel>
|
2024-03-05 15:51:21 +01:00
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
|
|
|
|
<Button x:Uid="/VDownload.Core.Strings/SettingsViewResources/RestoreToDefaultButton"
|
|
|
|
|
Command="{Binding RestoreToDefaultCommand}"/>
|
|
|
|
|
</StackPanel>
|
2024-03-04 19:31:48 +01:00
|
|
|
</StackPanel>
|
|
|
|
|
</ScrollViewer>
|
2024-02-13 02:59:40 +01:00
|
|
|
</Grid>
|
|
|
|
|
</Page>
|