aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/LyricsController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Controllers/LyricsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/LyricsController.cs12
1 files changed, 5 insertions, 7 deletions
diff --git a/Jellyfin.Api/Controllers/LyricsController.cs b/Jellyfin.Api/Controllers/LyricsController.cs
index 4fccf2cb4..f2b312b47 100644
--- a/Jellyfin.Api/Controllers/LyricsController.cs
+++ b/Jellyfin.Api/Controllers/LyricsController.cs
@@ -146,13 +146,11 @@ public class LyricsController : BaseJellyfinApiController
await using (stream.ConfigureAwait(false))
{
await Request.Body.CopyToAsync(stream).ConfigureAwait(false);
- var uploadedLyric = await _lyricManager.UploadLyricAsync(
- audio,
- new LyricResponse
- {
- Format = format,
- Stream = stream
- }).ConfigureAwait(false);
+ var uploadedLyric = await _lyricManager.SaveLyricAsync(
+ audio,
+ format,
+ stream)
+ .ConfigureAwait(false);
if (uploadedLyric is null)
{