Explorar o código

Adapted Review sugestions

JPVenson hai 8 meses
pai
achega
421b49dee9
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  1. 1 6
      src/Jellyfin.Drawing/ImageProcessor.cs

+ 1 - 6
src/Jellyfin.Drawing/ImageProcessor.cs

@@ -424,12 +424,7 @@ public sealed class ImageProcessor : IImageProcessor, IDisposable
             return null;
             return null;
         }
         }
 
 
-        return GetImageCacheTag(item, new ItemImageInfo
-        {
-            Path = chapter.ImagePath,
-            Type = ImageType.Chapter,
-            DateModified = chapter.ImageDateModified
-        });
+        return (item.Path + chapter.ImageDateModified.Ticks).GetMD5().ToString("N", CultureInfo.InvariantCulture);
     }
     }
 
 
     /// <inheritdoc />
     /// <inheritdoc />