jellyfin/MediaBrowser.Controller/Lyrics/Lyric.cs

29 lines
643 B
C#
Raw Normal View History

2022-09-17 17:37:38 -04:00
namespace MediaBrowser.Controller.Lyrics;
/// <summary>
/// Lyric model.
/// </summary>
public class Lyric
2022-09-10 14:58:03 -04:00
{
/// <summary>
2022-09-17 17:37:38 -04:00
/// Initializes a new instance of the <see cref="Lyric"/> class.
2022-09-10 14:58:03 -04:00
/// </summary>
2022-09-17 17:37:38 -04:00
/// <param name="start">The lyric start time in ticks.</param>
/// <param name="text">The lyric text.</param>
public Lyric(string text, long? start = null)
2022-09-10 14:58:03 -04:00
{
2022-09-17 17:37:38 -04:00
Start = start;
Text = text;
2022-09-10 14:58:03 -04:00
}
2022-09-17 17:37:38 -04:00
/// <summary>
/// Gets the start time in ticks.
/// </summary>
public long? Start { get; }
/// <summary>
/// Gets the text.
/// </summary>
public string Text { get; }
2022-09-10 14:58:03 -04:00
}