twitch vod downloading done

ffmpeg essentials

fix

Project reorganized

git lfs

ffmpeg removed

ffmpeg added
This commit is contained in:
2024-02-14 02:07:22 +01:00
Unverified
parent 91f9b645bd
commit e3ec5c3a48
264 changed files with 6239 additions and 4014 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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();
}
}

View File

@@ -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>