< Summary - Jellyfin

Information
Class: Jellyfin.Api.Controllers.ArtistsController
Assembly: Jellyfin.Api
File(s): /srv/git/jellyfin/Jellyfin.Api/Controllers/ArtistsController.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 165
Coverable lines: 165
Total lines: 417
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 18
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 12/5/2025 - 12:11:29 AM Line coverage: 0% (0/199) Branch coverage: 0% (0/44) Total lines: 4813/14/2026 - 12:13:58 AM Line coverage: 0% (0/165) Branch coverage: 0% (0/18) Total lines: 417 12/5/2025 - 12:11:29 AM Line coverage: 0% (0/199) Branch coverage: 0% (0/44) Total lines: 4813/14/2026 - 12:13:58 AM Line coverage: 0% (0/165) Branch coverage: 0% (0/18) Total lines: 417

Coverage delta

Coverage delta 1 -1

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%210%
GetArtists(...)0%7280%
GetAlbumArtists(...)0%7280%
GetArtistByName(...)0%620%

File(s)

/srv/git/jellyfin/Jellyfin.Api/Controllers/ArtistsController.cs

#LineLine coverage
 1using System;
 2using System.ComponentModel.DataAnnotations;
 3using System.Linq;
 4using Jellyfin.Api.Extensions;
 5using Jellyfin.Api.Helpers;
 6using Jellyfin.Api.ModelBinders;
 7using Jellyfin.Data.Enums;
 8using Jellyfin.Database.Implementations.Entities;
 9using Jellyfin.Database.Implementations.Enums;
 10using Jellyfin.Extensions;
 11using MediaBrowser.Controller.Dto;
 12using MediaBrowser.Controller.Entities;
 13using MediaBrowser.Controller.Library;
 14using MediaBrowser.Model.Dto;
 15using MediaBrowser.Model.Entities;
 16using MediaBrowser.Model.Querying;
 17using Microsoft.AspNetCore.Authorization;
 18using Microsoft.AspNetCore.Http;
 19using Microsoft.AspNetCore.Mvc;
 20
 21namespace Jellyfin.Api.Controllers;
 22
 23/// <summary>
 24/// The artists controller.
 25/// </summary>
 26[Route("Artists")]
 27[Authorize]
 28public class ArtistsController : BaseJellyfinApiController
 29{
 30    private readonly ILibraryManager _libraryManager;
 31    private readonly IUserManager _userManager;
 32    private readonly IDtoService _dtoService;
 33
 34    /// <summary>
 35    /// Initializes a new instance of the <see cref="ArtistsController"/> class.
 36    /// </summary>
 37    /// <param name="libraryManager">Instance of the <see cref="ILibraryManager"/> interface.</param>
 38    /// <param name="userManager">Instance of the <see cref="IUserManager"/> interface.</param>
 39    /// <param name="dtoService">Instance of the <see cref="IDtoService"/> interface.</param>
 040    public ArtistsController(
 041        ILibraryManager libraryManager,
 042        IUserManager userManager,
 043        IDtoService dtoService)
 44    {
 045        _libraryManager = libraryManager;
 046        _userManager = userManager;
 047        _dtoService = dtoService;
 048    }
 49
 50    /// <summary>
 51    /// Gets all artists from a given item, folder, or the entire library.
 52    /// </summary>
 53    /// <param name="minCommunityRating">Optional filter by minimum community rating.</param>
 54    /// <param name="startIndex">Optional. The record index to start at. All items with a lower index will be dropped fr
 55    /// <param name="limit">Optional. The maximum number of records to return.</param>
 56    /// <param name="searchTerm">Optional. Search term.</param>
 57    /// <param name="parentId">Specify this to localize the search to a specific item or folder. Omit to use the root.</
 58    /// <param name="fields">Optional. Specify additional fields of information to return in the output.</param>
 59    /// <param name="excludeItemTypes">Optional. If specified, results will be filtered out based on item type. This all
 60    /// <param name="includeItemTypes">Optional. If specified, results will be filtered based on item type. This allows 
 61    /// <param name="filters">Optional. Specify additional filters to apply.</param>
 62    /// <param name="isFavorite">Optional filter by items that are marked as favorite, or not.</param>
 63    /// <param name="mediaTypes">Optional filter by MediaType. Allows multiple, comma delimited.</param>
 64    /// <param name="genres">Optional. If specified, results will be filtered based on genre. This allows multiple, pipe
 65    /// <param name="genreIds">Optional. If specified, results will be filtered based on genre id. This allows multiple,
 66    /// <param name="officialRatings">Optional. If specified, results will be filtered based on OfficialRating. This all
 67    /// <param name="tags">Optional. If specified, results will be filtered based on tag. This allows multiple, pipe del
 68    /// <param name="years">Optional. If specified, results will be filtered based on production year. This allows multi
 69    /// <param name="enableUserData">Optional, include user data.</param>
 70    /// <param name="imageTypeLimit">Optional, the max number of images to return, per image type.</param>
 71    /// <param name="enableImageTypes">Optional. The image types to include in the output.</param>
 72    /// <param name="person">Optional. If specified, results will be filtered to include only those containing the speci
 73    /// <param name="personIds">Optional. If specified, results will be filtered to include only those containing the sp
 74    /// <param name="personTypes">Optional. If specified, along with Person, results will be filtered to include only th
 75    /// <param name="studios">Optional. If specified, results will be filtered based on studio. This allows multiple, pi
 76    /// <param name="studioIds">Optional. If specified, results will be filtered based on studio id. This allows multipl
 77    /// <param name="userId">User id.</param>
 78    /// <param name="nameStartsWithOrGreater">Optional filter by items whose name is sorted equally or greater than a gi
 79    /// <param name="nameStartsWith">Optional filter by items whose name is sorted equally than a given input string.</p
 80    /// <param name="nameLessThan">Optional filter by items whose name is equally or lesser than a given input string.</
 81    /// <param name="sortBy">Optional. Specify one or more sort orders, comma delimited.</param>
 82    /// <param name="sortOrder">Sort Order - Ascending,Descending.</param>
 83    /// <param name="enableImages">Optional, include image information in output.</param>
 84    /// <param name="enableTotalRecordCount">Total record count.</param>
 85    /// <response code="200">Artists returned.</response>
 86    /// <returns>An <see cref="OkResult"/> containing the artists.</returns>
 87    [HttpGet]
 88    [ProducesResponseType(StatusCodes.Status200OK)]
 89    public ActionResult<QueryResult<BaseItemDto>> GetArtists(
 90        [FromQuery] double? minCommunityRating,
 91        [FromQuery] int? startIndex,
 92        [FromQuery] int? limit,
 93        [FromQuery] string? searchTerm,
 94        [FromQuery] Guid? parentId,
 95        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] ItemFields[] fields,
 96        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] BaseItemKind[] excludeItemTypes,
 97        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] BaseItemKind[] includeItemTypes,
 98        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] ItemFilter[] filters,
 99        [FromQuery] bool? isFavorite,
 100        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] MediaType[] mediaTypes,
 101        [FromQuery, ModelBinder(typeof(PipeDelimitedCollectionModelBinder))] string[] genres,
 102        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] Guid[] genreIds,
 103        [FromQuery, ModelBinder(typeof(PipeDelimitedCollectionModelBinder))] string[] officialRatings,
 104        [FromQuery, ModelBinder(typeof(PipeDelimitedCollectionModelBinder))] string[] tags,
 105        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] int[] years,
 106        [FromQuery] bool? enableUserData,
 107        [FromQuery] int? imageTypeLimit,
 108        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] ImageType[] enableImageTypes,
 109        [FromQuery] string? person,
 110        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] Guid[] personIds,
 111        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] string[] personTypes,
 112        [FromQuery, ModelBinder(typeof(PipeDelimitedCollectionModelBinder))] string[] studios,
 113        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] Guid[] studioIds,
 114        [FromQuery] Guid? userId,
 115        [FromQuery] string? nameStartsWithOrGreater,
 116        [FromQuery] string? nameStartsWith,
 117        [FromQuery] string? nameLessThan,
 118        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] ItemSortBy[] sortBy,
 119        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] SortOrder[] sortOrder,
 120        [FromQuery] bool? enableImages = true,
 121        [FromQuery] bool enableTotalRecordCount = true)
 122    {
 0123        userId = RequestHelpers.GetUserId(User, userId);
 0124        var dtoOptions = new DtoOptions { Fields = fields }
 0125            .AddAdditionalDtoOptions(enableImages, enableUserData, imageTypeLimit, enableImageTypes);
 126
 0127        User? user = null;
 0128        BaseItem parentItem = _libraryManager.GetParentItem(parentId, userId);
 129
 0130        if (!userId.IsNullOrEmpty())
 131        {
 0132            user = _userManager.GetUserById(userId.Value);
 133        }
 134
 0135        var query = new InternalItemsQuery(user)
 0136        {
 0137            ExcludeItemTypes = excludeItemTypes,
 0138            IncludeItemTypes = includeItemTypes,
 0139            MediaTypes = mediaTypes,
 0140            StartIndex = startIndex,
 0141            Limit = limit,
 0142            IsFavorite = isFavorite,
 0143            NameLessThan = nameLessThan,
 0144            NameStartsWith = nameStartsWith,
 0145            NameStartsWithOrGreater = nameStartsWithOrGreater,
 0146            Tags = tags,
 0147            OfficialRatings = officialRatings,
 0148            Genres = genres,
 0149            GenreIds = genreIds,
 0150            StudioIds = studioIds,
 0151            Person = person,
 0152            PersonIds = personIds,
 0153            PersonTypes = personTypes,
 0154            Years = years,
 0155            MinCommunityRating = minCommunityRating,
 0156            DtoOptions = dtoOptions,
 0157            SearchTerm = searchTerm,
 0158            EnableTotalRecordCount = enableTotalRecordCount,
 0159            OrderBy = RequestHelpers.GetOrderBy(sortBy, sortOrder)
 0160        };
 161
 0162        if (parentId.HasValue)
 163        {
 0164            if (parentItem is Folder)
 165            {
 0166                query.AncestorIds = new[] { parentId.Value };
 167            }
 168            else
 169            {
 0170                query.ItemIds = new[] { parentId.Value };
 171            }
 172        }
 173
 174        // Studios
 0175        if (studios.Length != 0)
 176        {
 0177            query.StudioIds = studios.Select(i =>
 0178            {
 0179                try
 0180                {
 0181                    return _libraryManager.GetStudio(i);
 0182                }
 0183                catch
 0184                {
 0185                    return null;
 0186                }
 0187            }).Where(i => i is not null).Select(i => i!.Id).ToArray();
 188        }
 189
 0190        query.ApplyFilters(filters);
 191
 0192        var result = _libraryManager.GetArtists(query);
 193
 0194        var dtos = result.Items.Select(i =>
 0195        {
 0196            var (baseItem, itemCounts) = i;
 0197            var dto = _dtoService.GetItemByNameDto(baseItem, dtoOptions, null, user);
 0198
 0199            if (includeItemTypes.Length != 0)
 0200            {
 0201                dto.ChildCount = itemCounts.ItemCount;
 0202                dto.ProgramCount = itemCounts.ProgramCount;
 0203                dto.SeriesCount = itemCounts.SeriesCount;
 0204                dto.EpisodeCount = itemCounts.EpisodeCount;
 0205                dto.MovieCount = itemCounts.MovieCount;
 0206                dto.TrailerCount = itemCounts.TrailerCount;
 0207                dto.AlbumCount = itemCounts.AlbumCount;
 0208                dto.SongCount = itemCounts.SongCount;
 0209                dto.ArtistCount = itemCounts.ArtistCount;
 0210            }
 0211
 0212            return dto;
 0213        });
 214
 0215        return new QueryResult<BaseItemDto>(
 0216            query.StartIndex,
 0217            result.TotalRecordCount,
 0218            dtos.ToArray());
 219    }
 220
 221    /// <summary>
 222    /// Gets all album artists from a given item, folder, or the entire library.
 223    /// </summary>
 224    /// <param name="minCommunityRating">Optional filter by minimum community rating.</param>
 225    /// <param name="startIndex">Optional. The record index to start at. All items with a lower index will be dropped fr
 226    /// <param name="limit">Optional. The maximum number of records to return.</param>
 227    /// <param name="searchTerm">Optional. Search term.</param>
 228    /// <param name="parentId">Specify this to localize the search to a specific item or folder. Omit to use the root.</
 229    /// <param name="fields">Optional. Specify additional fields of information to return in the output.</param>
 230    /// <param name="excludeItemTypes">Optional. If specified, results will be filtered out based on item type. This all
 231    /// <param name="includeItemTypes">Optional. If specified, results will be filtered based on item type. This allows 
 232    /// <param name="filters">Optional. Specify additional filters to apply.</param>
 233    /// <param name="isFavorite">Optional filter by items that are marked as favorite, or not.</param>
 234    /// <param name="mediaTypes">Optional filter by MediaType. Allows multiple, comma delimited.</param>
 235    /// <param name="genres">Optional. If specified, results will be filtered based on genre. This allows multiple, pipe
 236    /// <param name="genreIds">Optional. If specified, results will be filtered based on genre id. This allows multiple,
 237    /// <param name="officialRatings">Optional. If specified, results will be filtered based on OfficialRating. This all
 238    /// <param name="tags">Optional. If specified, results will be filtered based on tag. This allows multiple, pipe del
 239    /// <param name="years">Optional. If specified, results will be filtered based on production year. This allows multi
 240    /// <param name="enableUserData">Optional, include user data.</param>
 241    /// <param name="imageTypeLimit">Optional, the max number of images to return, per image type.</param>
 242    /// <param name="enableImageTypes">Optional. The image types to include in the output.</param>
 243    /// <param name="person">Optional. If specified, results will be filtered to include only those containing the speci
 244    /// <param name="personIds">Optional. If specified, results will be filtered to include only those containing the sp
 245    /// <param name="personTypes">Optional. If specified, along with Person, results will be filtered to include only th
 246    /// <param name="studios">Optional. If specified, results will be filtered based on studio. This allows multiple, pi
 247    /// <param name="studioIds">Optional. If specified, results will be filtered based on studio id. This allows multipl
 248    /// <param name="userId">User id.</param>
 249    /// <param name="nameStartsWithOrGreater">Optional filter by items whose name is sorted equally or greater than a gi
 250    /// <param name="nameStartsWith">Optional filter by items whose name is sorted equally than a given input string.</p
 251    /// <param name="nameLessThan">Optional filter by items whose name is equally or lesser than a given input string.</
 252    /// <param name="sortBy">Optional. Specify one or more sort orders, comma delimited.</param>
 253    /// <param name="sortOrder">Sort Order - Ascending,Descending.</param>
 254    /// <param name="enableImages">Optional, include image information in output.</param>
 255    /// <param name="enableTotalRecordCount">Total record count.</param>
 256    /// <response code="200">Album artists returned.</response>
 257    /// <returns>An <see cref="OkResult"/> containing the album artists.</returns>
 258    [HttpGet("AlbumArtists")]
 259    [ProducesResponseType(StatusCodes.Status200OK)]
 260    public ActionResult<QueryResult<BaseItemDto>> GetAlbumArtists(
 261        [FromQuery] double? minCommunityRating,
 262        [FromQuery] int? startIndex,
 263        [FromQuery] int? limit,
 264        [FromQuery] string? searchTerm,
 265        [FromQuery] Guid? parentId,
 266        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] ItemFields[] fields,
 267        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] BaseItemKind[] excludeItemTypes,
 268        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] BaseItemKind[] includeItemTypes,
 269        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] ItemFilter[] filters,
 270        [FromQuery] bool? isFavorite,
 271        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] MediaType[] mediaTypes,
 272        [FromQuery, ModelBinder(typeof(PipeDelimitedCollectionModelBinder))] string[] genres,
 273        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] Guid[] genreIds,
 274        [FromQuery, ModelBinder(typeof(PipeDelimitedCollectionModelBinder))] string[] officialRatings,
 275        [FromQuery, ModelBinder(typeof(PipeDelimitedCollectionModelBinder))] string[] tags,
 276        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] int[] years,
 277        [FromQuery] bool? enableUserData,
 278        [FromQuery] int? imageTypeLimit,
 279        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] ImageType[] enableImageTypes,
 280        [FromQuery] string? person,
 281        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] Guid[] personIds,
 282        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] string[] personTypes,
 283        [FromQuery, ModelBinder(typeof(PipeDelimitedCollectionModelBinder))] string[] studios,
 284        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] Guid[] studioIds,
 285        [FromQuery] Guid? userId,
 286        [FromQuery] string? nameStartsWithOrGreater,
 287        [FromQuery] string? nameStartsWith,
 288        [FromQuery] string? nameLessThan,
 289        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] ItemSortBy[] sortBy,
 290        [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] SortOrder[] sortOrder,
 291        [FromQuery] bool? enableImages = true,
 292        [FromQuery] bool enableTotalRecordCount = true)
 293    {
 0294        userId = RequestHelpers.GetUserId(User, userId);
 0295        var dtoOptions = new DtoOptions { Fields = fields }
 0296            .AddAdditionalDtoOptions(enableImages, enableUserData, imageTypeLimit, enableImageTypes);
 297
 0298        User? user = null;
 0299        BaseItem parentItem = _libraryManager.GetParentItem(parentId, userId);
 300
 0301        if (!userId.IsNullOrEmpty())
 302        {
 0303            user = _userManager.GetUserById(userId.Value);
 304        }
 305
 0306        var query = new InternalItemsQuery(user)
 0307        {
 0308            ExcludeItemTypes = excludeItemTypes,
 0309            IncludeItemTypes = includeItemTypes,
 0310            MediaTypes = mediaTypes,
 0311            StartIndex = startIndex,
 0312            Limit = limit,
 0313            IsFavorite = isFavorite,
 0314            NameLessThan = nameLessThan,
 0315            NameStartsWith = nameStartsWith,
 0316            NameStartsWithOrGreater = nameStartsWithOrGreater,
 0317            Tags = tags,
 0318            OfficialRatings = officialRatings,
 0319            Genres = genres,
 0320            GenreIds = genreIds,
 0321            StudioIds = studioIds,
 0322            Person = person,
 0323            PersonIds = personIds,
 0324            PersonTypes = personTypes,
 0325            Years = years,
 0326            MinCommunityRating = minCommunityRating,
 0327            DtoOptions = dtoOptions,
 0328            SearchTerm = searchTerm,
 0329            EnableTotalRecordCount = enableTotalRecordCount,
 0330            OrderBy = RequestHelpers.GetOrderBy(sortBy, sortOrder)
 0331        };
 332
 0333        if (parentId.HasValue)
 334        {
 0335            if (parentItem is Folder)
 336            {
 0337                query.AncestorIds = new[] { parentId.Value };
 338            }
 339            else
 340            {
 0341                query.ItemIds = new[] { parentId.Value };
 342            }
 343        }
 344
 345        // Studios
 0346        if (studios.Length != 0)
 347        {
 0348            query.StudioIds = studios.Select(i =>
 0349            {
 0350                try
 0351                {
 0352                    return _libraryManager.GetStudio(i);
 0353                }
 0354                catch
 0355                {
 0356                    return null;
 0357                }
 0358            }).Where(i => i is not null).Select(i => i!.Id).ToArray();
 359        }
 360
 0361        query.ApplyFilters(filters);
 362
 0363        var result = _libraryManager.GetAlbumArtists(query);
 364
 0365        var dtos = result.Items.Select(i =>
 0366        {
 0367            var (baseItem, itemCounts) = i;
 0368            var dto = _dtoService.GetItemByNameDto(baseItem, dtoOptions, null, user);
 0369
 0370            if (includeItemTypes.Length != 0)
 0371            {
 0372                dto.ChildCount = itemCounts.ItemCount;
 0373                dto.ProgramCount = itemCounts.ProgramCount;
 0374                dto.SeriesCount = itemCounts.SeriesCount;
 0375                dto.EpisodeCount = itemCounts.EpisodeCount;
 0376                dto.MovieCount = itemCounts.MovieCount;
 0377                dto.TrailerCount = itemCounts.TrailerCount;
 0378                dto.AlbumCount = itemCounts.AlbumCount;
 0379                dto.SongCount = itemCounts.SongCount;
 0380                dto.ArtistCount = itemCounts.ArtistCount;
 0381            }
 0382
 0383            return dto;
 0384        });
 385
 0386        return new QueryResult<BaseItemDto>(
 0387            query.StartIndex,
 0388            result.TotalRecordCount,
 0389            dtos.ToArray());
 390    }
 391
 392    /// <summary>
 393    /// Gets an artist by name.
 394    /// </summary>
 395    /// <param name="name">Studio name.</param>
 396    /// <param name="userId">Optional. Filter by user id, and attach user data.</param>
 397    /// <response code="200">Artist returned.</response>
 398    /// <returns>An <see cref="OkResult"/> containing the artist.</returns>
 399    [HttpGet("{name}")]
 400    [ProducesResponseType(StatusCodes.Status200OK)]
 401    public ActionResult<BaseItemDto> GetArtistByName([FromRoute, Required] string name, [FromQuery] Guid? userId)
 402    {
 0403        userId = RequestHelpers.GetUserId(User, userId);
 0404        var dtoOptions = new DtoOptions();
 405
 0406        var item = _libraryManager.GetArtist(name, dtoOptions);
 407
 0408        if (!userId.IsNullOrEmpty())
 409        {
 0410            var user = _userManager.GetUserById(userId.Value);
 411
 0412            return _dtoService.GetBaseItemDto(item, dtoOptions, user);
 413        }
 414
 0415        return _dtoService.GetBaseItemDto(item, dtoOptions);
 416    }
 417}

Methods/Properties

.ctor(MediaBrowser.Controller.Library.ILibraryManager,MediaBrowser.Controller.Library.IUserManager,MediaBrowser.Controller.Dto.IDtoService)
GetArtists(System.Nullable`1<System.Double>,System.Nullable`1<System.Int32>,System.Nullable`1<System.Int32>,System.String,System.Nullable`1<System.Guid>,MediaBrowser.Model.Querying.ItemFields[],Jellyfin.Data.Enums.BaseItemKind[],Jellyfin.Data.Enums.BaseItemKind[],MediaBrowser.Model.Querying.ItemFilter[],System.Nullable`1<System.Boolean>,Jellyfin.Data.Enums.MediaType[],System.String[],System.Guid[],System.String[],System.String[],System.Int32[],System.Nullable`1<System.Boolean>,System.Nullable`1<System.Int32>,MediaBrowser.Model.Entities.ImageType[],System.String,System.Guid[],System.String[],System.String[],System.Guid[],System.Nullable`1<System.Guid>,System.String,System.String,System.String,Jellyfin.Data.Enums.ItemSortBy[],Jellyfin.Database.Implementations.Enums.SortOrder[],System.Nullable`1<System.Boolean>,System.Boolean)
GetAlbumArtists(System.Nullable`1<System.Double>,System.Nullable`1<System.Int32>,System.Nullable`1<System.Int32>,System.String,System.Nullable`1<System.Guid>,MediaBrowser.Model.Querying.ItemFields[],Jellyfin.Data.Enums.BaseItemKind[],Jellyfin.Data.Enums.BaseItemKind[],MediaBrowser.Model.Querying.ItemFilter[],System.Nullable`1<System.Boolean>,Jellyfin.Data.Enums.MediaType[],System.String[],System.Guid[],System.String[],System.String[],System.Int32[],System.Nullable`1<System.Boolean>,System.Nullable`1<System.Int32>,MediaBrowser.Model.Entities.ImageType[],System.String,System.Guid[],System.String[],System.String[],System.Guid[],System.Nullable`1<System.Guid>,System.String,System.String,System.String,Jellyfin.Data.Enums.ItemSortBy[],Jellyfin.Database.Implementations.Enums.SortOrder[],System.Nullable`1<System.Boolean>,System.Boolean)
GetArtistByName(System.String,System.Nullable`1<System.Guid>)