namespace Emby.Naming.Subtitles
{
///
/// Class holding information about subtitle.
///
public class SubtitleInfo
{
///
/// Initializes a new instance of the class.
///
/// Path to file.
/// Is subtitle default.
/// Is subtitle forced.
public SubtitleInfo(string path, bool isDefault, bool isForced)
{
Path = path;
IsDefault = isDefault;
IsForced = isForced;
}
///
/// Gets or sets the path.
///
/// The path.
public string Path { get; set; }
///
/// Gets or sets the language.
///
/// The language.
public string? Language { get; set; }
///
/// Gets or sets a value indicating whether this instance is default.
///
/// true if this instance is default; otherwise, false.
public bool IsDefault { get; set; }
///
/// Gets or sets a value indicating whether this instance is forced.
///
/// true if this instance is forced; otherwise, false.
public bool IsForced { get; set; }
}
}