mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-01 04:34:26 -04:00
Update Jellyfin.Api/Controllers/UserLibraryController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
92715a7426
commit
0aa2780ea7
@ -411,11 +411,7 @@ namespace Jellyfin.Api.Controllers
|
|||||||
|
|
||||||
if (item == null)
|
if (item == null)
|
||||||
{
|
{
|
||||||
List<Lyrics> lyricsList = new List<Lyrics>
|
return NotFound();
|
||||||
{
|
|
||||||
new Lyrics { Error = "Requested Item Not Found" }
|
|
||||||
};
|
|
||||||
return NotFound(new { Results = lyricsList.ToArray() });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
List<Lyrics> result = ItemHelper.GetLyricData(item);
|
List<Lyrics> result = ItemHelper.GetLyricData(item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user