2022-01-27 08:21:53 -05:00
|
|
|
namespace Emby.Naming.Audio
|
2018-09-12 13:26:21 -04:00
|
|
|
{
|
2020-11-10 13:23:10 -05:00
|
|
|
/// <summary>
|
2022-01-27 08:21:53 -05:00
|
|
|
/// Class holding information about external audio files.
|
2020-11-10 13:23:10 -05:00
|
|
|
/// </summary>
|
2022-01-27 08:21:53 -05:00
|
|
|
public class ExternalAudioFileInfo
|
2018-09-12 13:26:21 -04:00
|
|
|
{
|
2020-11-10 13:23:10 -05:00
|
|
|
/// <summary>
|
2022-01-27 08:21:53 -05:00
|
|
|
/// Initializes a new instance of the <see cref="ExternalAudioFileInfo"/> class.
|
2020-11-10 13:23:10 -05:00
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">Path to file.</param>
|
2022-01-27 08:21:53 -05:00
|
|
|
/// <param name="isDefault">Is default.</param>
|
|
|
|
/// <param name="isForced">Is forced.</param>
|
|
|
|
public ExternalAudioFileInfo(string path, bool isDefault, bool isForced)
|
2020-11-01 04:47:31 -05:00
|
|
|
{
|
|
|
|
Path = path;
|
|
|
|
IsDefault = isDefault;
|
|
|
|
IsForced = isForced;
|
|
|
|
}
|
|
|
|
|
2018-09-12 13:26:21 -04:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the path.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The path.</value>
|
|
|
|
public string Path { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2018-09-12 13:26:21 -04:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the language.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The language.</value>
|
2020-11-01 04:47:31 -05:00
|
|
|
public string? Language { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2022-01-27 08:21:53 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the title.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The title.</value>
|
|
|
|
public string? Title { get; set; }
|
|
|
|
|
2018-09-12 13:26:21 -04:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this instance is default.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if this instance is default; otherwise, <c>false</c>.</value>
|
|
|
|
public bool IsDefault { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2022-01-27 08:21:53 -05:00
|
|
|
|
2018-09-12 13:26:21 -04:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this instance is forced.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if this instance is forced; otherwise, <c>false</c>.</value>
|
|
|
|
public bool IsForced { get; set; }
|
|
|
|
}
|
|
|
|
}
|