aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Lyrics/LyricFile.cs
blob: 3912b037e046e531cad2e56e90579fa2c5260205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace MediaBrowser.Model.Lyrics;

/// <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>
    /// <param name="content">The content, must not be empty.</param>
    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; }
}