29 lines
674 B
C#
29 lines
674 B
C#
namespace MediaBrowser.Controller.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; }
|
|
}
|