mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
switch to ExcludeArtistIds
This commit is contained in:
@@ -266,7 +266,7 @@ 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; }
|
||||
public string ExcludeArtistIds { 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,10 +368,10 @@ namespace MediaBrowser.Api.UserLibrary
|
||||
query.ArtistNames = request.Artists.Split('|');
|
||||
}
|
||||
|
||||
// ExcludeArtistNames
|
||||
if (!string.IsNullOrEmpty(request.ExcludeArtistNames))
|
||||
// ExcludeArtistIds
|
||||
if (!string.IsNullOrEmpty(request.ExcludeArtistIds))
|
||||
{
|
||||
query.ExcludeArtistNames = request.ExcludeArtistNames.Split('|');
|
||||
query.ExcludeArtistIds = request.ExcludeArtistIds.Split('|');
|
||||
}
|
||||
|
||||
// Albums
|
||||
|
||||
Reference in New Issue
Block a user