mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
Format returns
This commit is contained in:
parent
5efa138c22
commit
c367857244
@ -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>
|
||||
|
@ -53,6 +53,9 @@ public class TxtLyricProvider : ILyricProvider
|
||||
lyricList[lyricLineIndex] = new LyricLine(lyricTextLines[lyricLineIndex]);
|
||||
}
|
||||
|
||||
return new LyricResponse { Lyrics = lyricList };
|
||||
return new LyricResponse
|
||||
{
|
||||
Lyrics = lyricList
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user