2026-10-19 15:22:34 +01:00
|
|
|
namespace Yavsc.Services;
|
|
|
|
|
|
|
|
|
|
public sealed class PodcastOptions
|
|
|
|
|
{
|
|
|
|
|
public string RootPath { get; set; } = Path.Combine(AppContext.BaseDirectory, "DataDir", "podcasts");
|
|
|
|
|
public int MaxSegmentBytes { get; set; } = 8 * 1024 * 1024;
|
|
|
|
|
public long MaxOwnerBytes { get; set; } = 1024L * 1024 * 1024;
|
|
|
|
|
public int MaxSegments { get; set; } = 7200;
|
|
|
|
|
public int MaxOwnerPodcasts { get; set; } = 100;
|
|
|
|
|
public int IdleTimeoutSeconds { get; set; } = 60;
|
2026-10-25 00:48:53 +01:00
|
|
|
public string FfmpegPath { get; set; } = "ffmpeg";
|
|
|
|
|
public int ReplayTimeoutSeconds { get; set; } = 600;
|
2026-10-19 15:22:34 +01:00
|
|
|
}
|