aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Lyrics
diff options
context:
space:
mode:
author1hitsong <3330318+1hitsong@users.noreply.github.com>2022-09-18 21:17:53 -0400
committer1hitsong <3330318+1hitsong@users.noreply.github.com>2022-09-18 21:17:53 -0400
commit28d017865b7f51babc7c13dbfaf71a660d834d46 (patch)
tree7cfa7058358c06f2dc8f2bad9908a3103d45fb5e /MediaBrowser.Controller/Lyrics
parent552b6aceae94bd8079a027407d15acf6d46f9b6e (diff)
Code Cleanup
Diffstat (limited to 'MediaBrowser.Controller/Lyrics')
-rw-r--r--MediaBrowser.Controller/Lyrics/LyricLine.cs2
-rw-r--r--MediaBrowser.Controller/Lyrics/LyricResponse.cs4
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>();
}