From 9b8c12d4336fdf327d8fcdcd38cf9bb9c1e71716 Mon Sep 17 00:00:00 2001 From: Max Rumpf Date: Wed, 25 Jun 2025 00:59:09 +0200 Subject: Adapt LrcLyricParser to new LrcParser version (#14263) --- MediaBrowser.Model/Lyrics/LyricLineCue.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'MediaBrowser.Model') diff --git a/MediaBrowser.Model/Lyrics/LyricLineCue.cs b/MediaBrowser.Model/Lyrics/LyricLineCue.cs index 1172a0231..291553361 100644 --- a/MediaBrowser.Model/Lyrics/LyricLineCue.cs +++ b/MediaBrowser.Model/Lyrics/LyricLineCue.cs @@ -8,21 +8,28 @@ public class LyricLineCue /// /// Initializes a new instance of the class. /// - /// The start of the character index of the lyric. + /// The start character index of the cue. + /// The end character index of the cue. /// The start of the timestamp the lyric is synced to in ticks. /// The end of the timestamp the lyric is synced to in ticks. - 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; } /// - /// Gets the character index of the lyric. + /// Gets the start character index of the cue. /// public int Position { get; } + /// + /// Gets the end character index of the cue. + /// + public int EndPosition { get; } + /// /// Gets the timestamp the lyric is synced to in ticks. /// -- cgit v1.2.3