mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-10 16:23:06 +01:00
update more from/similar
This commit is contained in:
@@ -266,6 +266,8 @@ namespace MediaBrowser.Api.UserLibrary
|
||||
[ApiMember(Name = "Artists", Description = "Optional. If specified, results will be filtered based on artist. This allows multiple, pipe delimeted.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET", AllowMultiple = true)]
|
||||
public string Artists { get; set; }
|
||||
|
||||
public string ExcludeArtistNames { get; set; }
|
||||
|
||||
[ApiMember(Name = "ArtistIds", Description = "Optional. If specified, results will be filtered based on artist. This allows multiple, pipe delimeted.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET", AllowMultiple = true)]
|
||||
public string ArtistIds { get; set; }
|
||||
|
||||
|
||||
@@ -368,6 +368,12 @@ namespace MediaBrowser.Api.UserLibrary
|
||||
query.ArtistNames = request.Artists.Split('|');
|
||||
}
|
||||
|
||||
// ExcludeArtistNames
|
||||
if (!string.IsNullOrEmpty(request.ExcludeArtistNames))
|
||||
{
|
||||
query.ExcludeArtistNames = request.ExcludeArtistNames.Split('|');
|
||||
}
|
||||
|
||||
// Albums
|
||||
if (!string.IsNullOrEmpty(request.Albums))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user