aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Lyrics/LyricLine.cs
blob: 64d1f64c2cd3798dde5b625f306534843558f480 (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>
/// Lyric model.
/// </summary>
public class LyricLine
{
    /// <summary>
    /// Initializes a new instance of the <see cref="LyricLine"/> class.
    /// </summary>
    /// <param name="text">The lyric text.</param>
    /// <param name="start">The lyric start time in ticks.</param>
    public LyricLine(string text, long? start = null)
    {
        Text = text;
        Start = start;
    }

    /// <summary>
    /// Gets the text of this lyric line.
    /// </summary>
    public string Text { get; }

    /// <summary>
    /// Gets the start time in ticks.
    /// </summary>
    public long? Start { get; }
}