Format returns

This commit is contained in:
1hitsong 2022-09-26 16:27:55 -04:00
parent 5efa138c22
commit c367857244
2 changed files with 13 additions and 3 deletions

View File

@ -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
};
}
/// <summary>

View File

@ -53,6 +53,9 @@ public class TxtLyricProvider : ILyricProvider
lyricList[lyricLineIndex] = new LyricLine(lyricTextLines[lyricLineIndex]);
}
return new LyricResponse { Lyrics = lyricList };
return new LyricResponse
{
Lyrics = lyricList
};
}
}