Skip to content

Commit

Permalink
fix: remove image language code again
Browse files Browse the repository at this point in the history
- Removed the language code for images, since it was interfering with the _preferred_ image selection done by shoko. It seems Jellyfin has it's own image selection logic, and it doesn't just pick the first image available… it picks the first image available in the metadata language of the library… which defaults to `"en"` if not set… and that might not be preferred for our use case. We'll see if we can partially add it back later for some image types, e.g. logos, etc., but for now it's gone.
  • Loading branch information
revam committed Aug 19, 2024
1 parent ea69f41 commit 18849ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Shokofin/Providers/ImageProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ private static void AddImage(ref List<RemoteImageInfo> list, ImageType imageType
return;
list.Add(new RemoteImageInfo {
ProviderName = Plugin.MetadataProviderName,
Language = image.LanguageCode,
Type = imageType,
Width = image.Width,
Height = image.Height,
Expand Down

0 comments on commit 18849ae

Please sign in to comment.