Skip to content

Commit

Permalink
Merge pull request #59 from jellyfin/base-item-kind
Browse files Browse the repository at this point in the history
  • Loading branch information
crobibero authored Jan 5, 2022
2 parents 63410e9 + 52e7079 commit 9a10e0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ private void OnLibraryManagerItemUpdated(object? sender, ItemChangeEventArgs ite
IsVirtualItem = true,
IndexNumber = indexNumber,
ParentIndexNumber = parentIndexNumber,
IncludeItemTypes = new[] { itemChangeEventArgs.Item.GetType().Name },
IncludeItemTypes = new[] { itemChangeEventArgs.Item.GetBaseItemKind() },
Parent = itemChangeEventArgs.Parent,
GroupByPresentationUniqueKey = false,
DtoOptions = new DtoOptions(true)
Expand Down
3 changes: 2 additions & 1 deletion Jellyfin.Plugin.Tvdb/Providers/TvdbPersonImageProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Jellyfin.Data.Enums;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Dto;
using MediaBrowser.Controller.Entities;
Expand Down Expand Up @@ -64,7 +65,7 @@ public async Task<IEnumerable<RemoteImageInfo>> GetImages(BaseItem item, Cancell
{
var seriesWithPerson = _libraryManager.GetItemList(new InternalItemsQuery
{
IncludeItemTypes = new[] { nameof(Series) },
IncludeItemTypes = new[] { BaseItemKind.Series },
PersonIds = new[] { item.Id },
DtoOptions = new DtoOptions(false)
{
Expand Down

0 comments on commit 9a10e0c

Please sign in to comment.