mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-02 22:08:27 +01:00
Code Cleanup
This commit is contained in:
@@ -8,8 +8,8 @@ public class LyricLine
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LyricLine"/> class.
|
||||
/// </summary>
|
||||
/// <param name="start">The lyric start time in ticks.</param>
|
||||
/// <param name="text">The lyric text.</param>
|
||||
/// <param name="start">The lyric start time in ticks.</param>
|
||||
public LyricLine(string text, long? start = null)
|
||||
{
|
||||
Start = start;
|
||||
|
||||
@@ -10,10 +10,10 @@ public class LyricResponse
|
||||
/// <summary>
|
||||
/// Gets or sets Metadata.
|
||||
/// </summary>
|
||||
public LyricMetadata Metadata { get; set; } = new LyricMetadata();
|
||||
public LyricMetadata Metadata { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Lyrics.
|
||||
/// </summary>
|
||||
public IReadOnlyCollection<LyricLine> Lyrics { get; set; } = new List<LyricLine>();
|
||||
public IReadOnlyList<LyricLine> Lyrics { get; set; } = new List<LyricLine>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user