From 18849ae6af5d1adf92c3de1daebcfc5f3e8a0ac4 Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Tue, 20 Aug 2024 00:54:54 +0200 Subject: [PATCH] fix: remove image language code again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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. --- Shokofin/Providers/ImageProvider.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Shokofin/Providers/ImageProvider.cs b/Shokofin/Providers/ImageProvider.cs index bac54cd6..42e95a60 100644 --- a/Shokofin/Providers/ImageProvider.cs +++ b/Shokofin/Providers/ImageProvider.cs @@ -163,7 +163,6 @@ private static void AddImage(ref List list, ImageType imageType return; list.Add(new RemoteImageInfo { ProviderName = Plugin.MetadataProviderName, - Language = image.LanguageCode, Type = imageType, Width = image.Width, Height = image.Height,