diff options
| author | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-18 21:17:53 -0400 |
|---|---|---|
| committer | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-18 21:17:53 -0400 |
| commit | 28d017865b7f51babc7c13dbfaf71a660d834d46 (patch) | |
| tree | 7cfa7058358c06f2dc8f2bad9908a3103d45fb5e /MediaBrowser.Controller/Lyrics | |
| parent | 552b6aceae94bd8079a027407d15acf6d46f9b6e (diff) | |
Code Cleanup
Diffstat (limited to 'MediaBrowser.Controller/Lyrics')
| -rw-r--r-- | MediaBrowser.Controller/Lyrics/LyricLine.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Lyrics/LyricResponse.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/Lyrics/LyricLine.cs b/MediaBrowser.Controller/Lyrics/LyricLine.cs index 43997f656..eb5ff9972 100644 --- a/MediaBrowser.Controller/Lyrics/LyricLine.cs +++ b/MediaBrowser.Controller/Lyrics/LyricLine.cs @@ -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; diff --git a/MediaBrowser.Controller/Lyrics/LyricResponse.cs b/MediaBrowser.Controller/Lyrics/LyricResponse.cs index ded3ca10e..64c3b3c28 100644 --- a/MediaBrowser.Controller/Lyrics/LyricResponse.cs +++ b/MediaBrowser.Controller/Lyrics/LyricResponse.cs @@ -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>(); } |
