Fix #809 - check last instead of first lyric timestamp to check if synced
This commit is contained in:
@@ -407,7 +407,7 @@ func (j *jellyfinMediaProvider) GetLyrics(tr *mediaprovider.Track) (*mediaprovid
|
||||
return &mediaprovider.Lyrics{
|
||||
Title: l.Metadata.Title,
|
||||
Artist: l.Metadata.Artist,
|
||||
Synced: l.Metadata.IsSynced || (len(l.Lyrics) > 0 && l.Lyrics[0].Start > 0),
|
||||
Synced: l.Metadata.IsSynced || (len(l.Lyrics) > 0 && l.Lyrics[len(l.Lyrics)-1].Start > 0),
|
||||
Lines: sharedutil.MapSlice(l.Lyrics, toLyricLine),
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user