mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 08:23:28 -03:00
Adapt LrcLyricParser to new LrcParser version (#14263)
This commit is contained in:
@@ -8,21 +8,28 @@ public class LyricLineCue
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LyricLineCue"/> class.
|
||||
/// </summary>
|
||||
/// <param name="position">The start of the character index of the lyric.</param>
|
||||
/// <param name="position">The start character index of the cue.</param>
|
||||
/// <param name="endPosition">The end character index of the cue.</param>
|
||||
/// <param name="start">The start of the timestamp the lyric is synced to in ticks.</param>
|
||||
/// <param name="end">The end of the timestamp the lyric is synced to in ticks.</param>
|
||||
public LyricLineCue(int position, long start, long? end)
|
||||
public LyricLineCue(int position, int endPosition, long start, long? end)
|
||||
{
|
||||
Position = position;
|
||||
EndPosition = endPosition;
|
||||
Start = start;
|
||||
End = end;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the character index of the lyric.
|
||||
/// Gets the start character index of the cue.
|
||||
/// </summary>
|
||||
public int Position { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the end character index of the cue.
|
||||
/// </summary>
|
||||
public int EndPosition { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the timestamp the lyric is synced to in ticks.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user