From c36785724444f651c1c24a72fed750e42a4d7b68 Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Mon, 26 Sep 2022 16:27:55 -0400 Subject: [PATCH] Format returns --- MediaBrowser.Providers/Lyric/LrcLyricProvider.cs | 11 +++++++++-- MediaBrowser.Providers/Lyric/TxtLyricProvider.cs | 5 ++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/MediaBrowser.Providers/Lyric/LrcLyricProvider.cs b/MediaBrowser.Providers/Lyric/LrcLyricProvider.cs index 4d4e35a4e..7b108921b 100644 --- a/MediaBrowser.Providers/Lyric/LrcLyricProvider.cs +++ b/MediaBrowser.Providers/Lyric/LrcLyricProvider.cs @@ -130,10 +130,17 @@ public class LrcLyricProvider : ILyricProvider // Map metaData values from LRC file to LyricMetadata properties LyricMetadata lyricMetadata = MapMetadataValues(fileMetaData); - return new LyricResponse { Metadata = lyricMetadata, Lyrics = lyricList }; + return new LyricResponse + { + Metadata = lyricMetadata, + Lyrics = lyricList + }; } - return new LyricResponse { Lyrics = lyricList }; + return new LyricResponse + { + Lyrics = lyricList + }; } /// diff --git a/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs b/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs index 85f792d09..96a9e9dcf 100644 --- a/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs +++ b/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs @@ -53,6 +53,9 @@ public class TxtLyricProvider : ILyricProvider lyricList[lyricLineIndex] = new LyricLine(lyricTextLines[lyricLineIndex]); } - return new LyricResponse { Lyrics = lyricList }; + return new LyricResponse + { + Lyrics = lyricList + }; } }