Prepare Linux deployment with yt-dlp and persistent downloads

This commit is contained in:
Michal Vrba
2026-10-19 17:23:30 +02:00
parent 471010c536
commit a26c584462
15 changed files with 331 additions and 139 deletions
@@ -0,0 +1,20 @@
namespace TuneRipper.Api.Configuration;
public sealed class YtDlpOptions
{
public const string SectionName = "YtDlp";
public string ExecutablePath { get; set; } = OperatingSystem.IsWindows()
? "yt-dlp.exe"
: "yt-dlp";
public string FfmpegExecutablePath { get; set; } = "ffmpeg";
public int ProcessTimeoutSeconds { get; set; } = 900;
}
public sealed class StorageOptions
{
public const string SectionName = "Storage";
public string DownloadsPath { get; set; } = string.Empty;
}