18 lines
708 B
C#
18 lines
708 B
C#
namespace FileShare_Services.Services.FileLibrary
|
|
{
|
|
/// <summary>
|
|
/// 缩略图存储与服务配置选项。
|
|
/// </summary>
|
|
public sealed class ThumbnailStorageOptions
|
|
{
|
|
/// <summary>缩略图文件存储根目录路径。</summary>
|
|
public string RootPath { get; set; } = Path.Combine(AppContext.BaseDirectory, "thumbnails");
|
|
|
|
/// <summary>ffmpeg 可执行文件路径。</summary>
|
|
public string FfmpegPath { get; set; } = Path.Combine("tools", "ffmpeg", "bin", "ffmpeg.exe");
|
|
|
|
/// <summary>ffprobe 可执行文件路径。</summary>
|
|
public string FfprobePath { get; set; } = Path.Combine("tools", "ffmpeg", "bin", "ffprobe.exe");
|
|
}
|
|
}
|