2024-02-26 12:09:40 +00:00
|
|
|
namespace MediaBrowser.Model.Lyrics;
|
2023-06-20 14:51:07 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The information for a raw lyrics file before parsing.
|
|
|
|
/// </summary>
|
|
|
|
public class LyricFile
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="LyricFile"/> class.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="name">The name.</param>
|
2023-07-01 09:16:21 +00:00
|
|
|
/// <param name="content">The content, must not be empty.</param>
|
2023-06-20 14:51:07 +00:00
|
|
|
public LyricFile(string name, string content)
|
|
|
|
{
|
|
|
|
Name = name;
|
|
|
|
Content = content;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name of the lyrics file. This must include the file extension.
|
|
|
|
/// </summary>
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the contents of the file.
|
|
|
|
/// </summary>
|
|
|
|
public string Content { get; set; }
|
|
|
|
}
|