mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Add default values to LyricResponse
This commit is contained in:
parent
7e923e2688
commit
552b6aceae
@ -10,10 +10,10 @@ public class LyricResponse
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets Metadata.
|
/// Gets or sets Metadata.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public LyricMetadata Metadata { get; set; }
|
public LyricMetadata Metadata { get; set; } = new LyricMetadata();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets Lyrics.
|
/// Gets or sets Lyrics.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public IEnumerable<LyricLine> Lyrics { get; set; }
|
public IReadOnlyCollection<LyricLine> Lyrics { get; set; } = new List<LyricLine>();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user