using System; namespace EmbyToolbox.Models; /// Внешний sidecar-файл (аудио или субтитры) рядом с видео. public sealed class SidecarFile { public string FullPath { get; } public bool IsAudio { get; } public bool IsSubtitle { get; } public bool IsFont { get; } public string FileName { get; } public SidecarFile(string fullPath, bool isAudio, bool isSubtitle, bool isFont = false) { FullPath = fullPath; FileName = System.IO.Path.GetFileName(fullPath); IsAudio = isAudio; IsSubtitle = isSubtitle; IsFont = isFont; } }