Skip to content

The Free Software Media System - Server Backend & API

Update Jellyfin.Api/Controllers/UserLibraryController.cs

1hitsong0aa2780ea7b2
diff --git a/Jellyfin.Api/Controllers/UserLibraryController.cs b/Jellyfin.Api/Controllers/UserLibraryController.cs
index a1b911a450..7830df9bc9 100644
--- a/Jellyfin.Api/Controllers/UserLibraryController.cs
+++ b/Jellyfin.Api/Controllers/UserLibraryController.cs
@@ -411,11 +411,7 @@ namespace Jellyfin.Api.Controllers
if (item == null)
{
- List<Lyrics> lyricsList = new List<Lyrics>
- {
- new Lyrics { Error = "Requested Item Not Found" }
- };
- return NotFound(new { Results = lyricsList.ToArray() });
+ return NotFound();
}
List<Lyrics> result = ItemHelper.GetLyricData(item);