twitch vod downloading done
ffmpeg essentials fix Project reorganized git lfs ffmpeg removed ffmpeg added
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VDownload.Sources.Twitch.Settings.Models
|
||||
{
|
||||
public class ChunkDownloadingError
|
||||
{
|
||||
[JsonProperty("error_retry")]
|
||||
public bool Retry { get; set; } = true;
|
||||
|
||||
[JsonProperty("retries_count")]
|
||||
public int RetriesCount { get; set; } = 10;
|
||||
|
||||
[JsonProperty("retry_delay")]
|
||||
public int RetryDelay { get; set; } = 5000;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VDownload.Sources.Twitch.Settings.Models
|
||||
{
|
||||
public class Vod
|
||||
{
|
||||
[JsonProperty("passive_trimming")]
|
||||
public bool PassiveTrimming { get; set; } = true;
|
||||
|
||||
[JsonProperty("chunk_downloading_error")]
|
||||
public ChunkDownloadingError ChunkDownloadingError { get; set; } = new ChunkDownloadingError();
|
||||
|
||||
[JsonProperty("max_number_of_parallel_downloads")]
|
||||
public int MaxNumberOfParallelDownloads { get; set; } = 100;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VDownload.Sources.Twitch.Settings.Models;
|
||||
|
||||
namespace VDownload.Sources.Twitch.Settings
|
||||
{
|
||||
public class TwitchSettings
|
||||
{
|
||||
[JsonProperty("vod")]
|
||||
public Vod Vod { get; set; } = new Vod();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user