|
|
@ -401,11 +401,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
|
|
|
|
|
|
|
if (user == null)
|
|
|
|
if (user == null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
List<Lyrics> lyricsList = new List<Lyrics>
|
|
|
|
return NotFound();
|
|
|
|
{
|
|
|
|
|
|
|
|
new Lyrics { Error = "User Not Found" }
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
return NotFound(new { Results = lyricsList.ToArray() });
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var item = itemId.Equals(default)
|
|
|
|
var item = itemId.Equals(default)
|
|
|
@ -414,11 +410,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() });
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var result = ItemHelper.GetLyricData(item);
|
|
|
|
var result = ItemHelper.GetLyricData(item);
|
|
|
|