mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-31 04:05:50 -04:00
Returns album artists apart from artist names when doing a lyrics search (#13852)
This commit is contained in:
parent
2c9c9f591d
commit
fe79384cd5
@ -15,7 +15,12 @@ public class LyricSearchRequest : IHasProviderIds
|
|||||||
public string? MediaPath { get; set; }
|
public string? MediaPath { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the artist name.
|
/// Gets or sets the album artist names.
|
||||||
|
/// </summary>
|
||||||
|
public IReadOnlyList<string>? AlbumArtistsNames { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the artist names.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public IReadOnlyList<string>? ArtistNames { get; set; }
|
public IReadOnlyList<string>? ArtistNames { get; set; }
|
||||||
|
|
||||||
|
@ -78,7 +78,8 @@ public class LyricManager : ILyricManager
|
|||||||
MediaPath = audio.Path,
|
MediaPath = audio.Path,
|
||||||
SongName = audio.Name,
|
SongName = audio.Name,
|
||||||
AlbumName = audio.Album,
|
AlbumName = audio.Album,
|
||||||
ArtistNames = audio.GetAllArtists().ToList(),
|
AlbumArtistsNames = audio.AlbumArtists,
|
||||||
|
ArtistNames = audio.Artists,
|
||||||
Duration = audio.RunTimeTicks,
|
Duration = audio.RunTimeTicks,
|
||||||
IsAutomated = isAutomated
|
IsAutomated = isAutomated
|
||||||
};
|
};
|
||||||
|
@ -117,7 +117,8 @@ public class LyricScheduledTask : IScheduledTask
|
|||||||
MediaPath = audioItem.Path,
|
MediaPath = audioItem.Path,
|
||||||
SongName = audioItem.Name,
|
SongName = audioItem.Name,
|
||||||
AlbumName = audioItem.Album,
|
AlbumName = audioItem.Album,
|
||||||
ArtistNames = audioItem.GetAllArtists().ToList(),
|
AlbumArtistsNames = audioItem.AlbumArtists,
|
||||||
|
ArtistNames = audioItem.Artists,
|
||||||
Duration = audioItem.RunTimeTicks,
|
Duration = audioItem.RunTimeTicks,
|
||||||
IsAutomated = true,
|
IsAutomated = true,
|
||||||
DisabledLyricFetchers = libraryOptions.DisabledLyricFetchers,
|
DisabledLyricFetchers = libraryOptions.DisabledLyricFetchers,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user