Emby Toolbox 6264b487fe Initial commit: Emby Toolbox (conversion scroll fix, bulk Del for tracks).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 21:33:47 +05:00

23 lines
649 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
namespace EmbyToolbox.Models;
/// <summary>Внешний sidecar-файл (аудио или субтитры) рядом с видео.</summary>
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;
}
}