mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
Merge remote-tracking branch 'origin/lyric-lrc-file-support' into lyric-lrc-file-support
This commit is contained in:
commit
23ec35d396
@ -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);
|
||||||
|
@ -11,7 +11,7 @@ namespace Jellyfin.Api.Models.UserDtos
|
|||||||
public double? Start { get; set; }
|
public double? Start { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the test.
|
/// Gets or sets the text.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string? Text { get; set; }
|
public string? Text { get; set; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user