diff options
Diffstat (limited to 'Emby.Naming/Audio/ExternalAudioFileInfo.cs')
| -rw-r--r-- | Emby.Naming/Audio/ExternalAudioFileInfo.cs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Emby.Naming/Audio/ExternalAudioFileInfo.cs b/Emby.Naming/Audio/ExternalAudioFileInfo.cs new file mode 100644 index 000000000..4d02939cb --- /dev/null +++ b/Emby.Naming/Audio/ExternalAudioFileInfo.cs @@ -0,0 +1,52 @@ +namespace Emby.Naming.Audio +{ + /// <summary> + /// Class holding information about external audio files. + /// </summary> + public class ExternalAudioFileInfo + { + /// <summary> + /// Initializes a new instance of the <see cref="ExternalAudioFileInfo"/> class. + /// </summary> + /// <param name="path">Path to file.</param> + /// <param name="isDefault">Is default.</param> + /// <param name="isForced">Is forced.</param> + public ExternalAudioFileInfo(string path, bool isDefault, bool isForced) + { + Path = path; + IsDefault = isDefault; + IsForced = isForced; + } + + /// <summary> + /// Gets or sets the path. + /// </summary> + /// <value>The path.</value> + public string Path { get; set; } + + /// <summary> + /// Gets or sets the language. + /// </summary> + /// <value>The language.</value> + public string? Language { get; set; } + + /// <summary> + /// Gets or sets the title. + /// </summary> + /// <value>The title.</value> + public string? Title { get; set; } + + /// <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; } + + + /// <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; } + } +} |
