diff --git a/Jellyfin.Api/Controllers/UserLibraryController.cs b/Jellyfin.Api/Controllers/UserLibraryController.cs index afd4013ed3..ed8a98d23f 100644 --- a/Jellyfin.Api/Controllers/UserLibraryController.cs +++ b/Jellyfin.Api/Controllers/UserLibraryController.cs @@ -401,11 +401,7 @@ namespace Jellyfin.Api.Controllers if (user == null) { - List lyricsList = new List - { - new Lyrics { Error = "User Not Found" } - }; - return NotFound(new { Results = lyricsList.ToArray() }); + return NotFound(); } var item = itemId.Equals(default) @@ -414,11 +410,7 @@ namespace Jellyfin.Api.Controllers if (item == null) { - List lyricsList = new List - { - new Lyrics { Error = "Requested Item Not Found" } - }; - return NotFound(new { Results = lyricsList.ToArray() }); + return NotFound(); } var result = ItemHelper.GetLyricData(item); diff --git a/Jellyfin.Api/Models/UserDtos/Lyrics.cs b/Jellyfin.Api/Models/UserDtos/Lyrics.cs index df1b5d08a2..cd548eb037 100644 --- a/Jellyfin.Api/Models/UserDtos/Lyrics.cs +++ b/Jellyfin.Api/Models/UserDtos/Lyrics.cs @@ -11,7 +11,7 @@ namespace Jellyfin.Api.Models.UserDtos public double? Start { get; set; } /// - /// Gets or sets the test. + /// Gets or sets the text. /// public string? Text { get; set; }