Skip to content

Commit

Permalink
Add support for clearart and clearlogo for series images (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
scampower3 authored May 14, 2024
1 parent 82301b8 commit 0c948dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jellyfin.Plugin.Tvdb/Providers/TvdbSeriesImageProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public IEnumerable<ImageType> GetSupportedImages(BaseItem item)
yield return ImageType.Primary;
yield return ImageType.Banner;
yield return ImageType.Backdrop;
yield return ImageType.Logo;
yield return ImageType.Art;
}

/// <inheritdoc />
Expand Down
1 change: 1 addition & 0 deletions Jellyfin.Plugin.Tvdb/TvdbSdkExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ private static bool IsMatch(this string translation, string? language)
"banner" => ImageType.Banner,
"background" => ImageType.Backdrop,
"clearlogo" => ImageType.Logo,
"clearart" => ImageType.Art,
_ => null,
};
}
Expand Down

0 comments on commit 0c948dd

Please sign in to comment.