Jump to content

Recommended Posts

yocker
Posted
1 hour ago, GrimReaper said:

Just tried this, seems to be working OK. Even the initial task run didn't take too long, 1hr15mins for 150,000+ images library. Subsequent task runs are quite fast, ~7-8mins pre-draw.

Some settings I'm unsure of, would appreciate if you could throw some light on what those actually do (does it rebuild all episode images? what is that "aggregation"?...) for setting them accordingly. Thanks.

image.png.3a3bd69127a51b057204155b4c893647.png

They are for the aggregation cache.
Every time Emby lists items it asks EmbyIcons for each poster's cache key so it can see if the saved posters are up to date.

In the end though they are a from back when EmbyIcons had a memory leak i needed fixed, i decided to keep them as well as they keep EmbyIcons memory usage as low as possible.
Tbh. i should remove them, i just never really decided on what to set them too before doing so and then ended up forgetting about them.
I recommend just leaving them alone.

  • Thanks 1
yocker
Posted (edited)

@GrimReaperI discovered another problem i need to fix some how when testing wth CoverArt installed.
See if you can spot it. ;) 
Hint: The screenshot is not taken with a camera.

image.png.0dd243f0c1d3fe27d1f2d6ec730a1aa3.png

Or maybe not..
Looks like CoverArt it self adds those black lines and rotation (a feature i forgot it had).
Well.. That makes things easier for me.

Edited by yocker
GrimReaper
Posted

Don't know is that original image that's tilted or treatment's doing it?

yocker
Posted
1 minute ago, GrimReaper said:

Don't know is that original image that's tilted or treatment's doing it?

I've forgotten CoverArt could do that. 🤪
Worried about the black lines under and above the poster though. Does CoverArt have that problem for you for TV shows as well when running alone?
Just so i can be sure it's not a scaling problem i need to fix in EmbyIcons.

GrimReaper
Posted (edited)
29 minutes ago, yocker said:

Worried about the black lines under and above the poster though. Does CoverArt have that problem for you for TV shows as well when running alone?

In the web browser? Not on straight MetroCase treatment.
Btw, @Luke @ebrCoverart config window still eats into sidebar, need to go down to 67% zoom to see in in full.
image.thumb.png.d1cad58a3ba8d78667c5f202225005b3.pngimage.thumb.png.add02c8d1a4145873376c2218c3402c5.png

image.thumb.png.1f39eba6970c9c8d20079a1bea7992c1.png

 

Edited by GrimReaper
  • Thanks 2
yocker
Posted
4 minutes ago, GrimReaper said:

In the web browser? Not on straight MetroCase treatment.

That's strange.
I'll have to mess around with that a bit.

Thanks!!

  • Like 1
GrimReaper
Posted

Ah, wait, let me check on clean server, I have sh*tload of custom CSS, one of which is filling placeholder fully from long time ago. Wait.

  • Like 1
GrimReaper
Posted

Yeah, no bars on clean instance either. 

image.png.24380ee63631ed97a7f3c88f188ebac6.png

Can't find the option to tilt it, though, which treatment/setting would that be?

yocker
Posted
5 minutes ago, GrimReaper said:

Yeah, no bars on clean instance either. 

image.png.24380ee63631ed97a7f3c88f188ebac6.png

Can't find the option to tilt it, though, which treatment/setting would that be?

image.png.7049df01b676301d02e32ea52d76ab9f.png

In all treatments.

GrimReaper
Posted
1 minute ago, yocker said:

image.png.7049df01b676301d02e32ea52d76ab9f.png

In all treatments.

Gotcha. BArs there.

image.png.da6ce747bdefd69c08ba1f8cc36dabcc.png

yocker
Posted
3 minutes ago, GrimReaper said:

Gotcha. BArs there.

image.png.da6ce747bdefd69c08ba1f8cc36dabcc.png

It was still there when set to not rotate for me. :(  

GrimReaper
Posted (edited)
5 minutes ago, yocker said:

It was still there when set to not rotate for me. :(  

I remember that was an issue some time ago with CoverArt treated images (hence custom CSS), and tbh forgot about it, but it appears it's been solved in the meantime - at least for me it does. Lemme check if I can find relevant topic.

Edit:

 

Edited by GrimReaper
Link
  • Thanks 1
yocker
Posted (edited)

@GrimReaperAs i better be on good terms with the reaper i fixed the problem as fast as i could. ;) 

Try version 5.61.0.2.
It should now play nice with CoverArt.

Edited by yocker
GrimReaper
Posted

Unfortunately still getting some clashes, on initial run 169 CoverArt errors:

Quote

2026-10-01 14:37:59.496 Info TaskManager: Executing Pre-draw posters

2026-10-01 14:37:59.502 Info PreDrawPostersTask: [EmbyIcons] Pre-draw posters started in 9 libraries with a profile (up to 8 images at a time).

2026-10-01 14:43:14.889 Warn PreDrawPostersTask: [EmbyIcons] Pre-draw: Emby could not enhance the thumb of 'Channel 4' (E:\EMBY\STABLE\Emby-Server\programdata\metadata\library\0d\0dbc64c00af103ba519748439c3bf200\landscape.jpg). Another image plugin may have failed on it; check the log for 'Error enhancing image'.
2026-10-01 14:43:14.890 Info CoverArt: image enhance of The Changeling took 0.000 seconds.
2026-10-01 14:43:14.932 Error ImageProcessor: Error enhancing image
    *** Error Report ***
    Version: 4.10.1.0
    Command line: E:\EMBY\STABLE\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.19045
    OS/Process: x64/x64
    Framework: .NET 8.0.31
    Runtime: E:/EMBY/STABLE/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 16
    Data path: E:\EMBY\STABLE\Emby-Server\programdata
    Application path: E:\EMBY\STABLE\Emby-Server\system
    System.Exception: System.Exception: Skia error - pixels pointer is zero
       at CoverArt.Skia.CoverArtBaseEnhancer.Decode(String path, Boolean forceCleanBitmap, Nullable`1 orientation, SKEncodedOrigin& origin)
       at CoverArt.Skia.CoverArtBaseEnhancer.Decode(String path, Boolean forceCleanBitmap, Nullable`1 orientation, SKEncodedOrigin& origin)
       at CoverArt.Skia.CoverArtBaseEnhancer.EnhanceImageAsync(BaseItem item, String inputPath, String outputPath, ImageType imageType, Int32 imageIndex)
       at Emby.Drawing.ImageProcessor.ExecuteImageEnhancers(IEnumerable`1 imageEnhancers, String inputPath, String outputPath, BaseItem item, ImageType imageType, Int32 imageIndex)
       at Emby.Drawing.ImageProcessor.GetEnhancedImageInternal(String originalImagePath, BaseItem item, ImageType imageType, Int32 imageIndex, IImageEnhancer[] supportedEnhancers, String cacheGuid, CancellationToken cancellationToken)
       at Emby.Drawing.ImageProcessor.GetEnhancedImage(ItemImageInfo image, List`1 imageFeatures, ImageProcessingOptions options, BaseItem item, Int32 imageIndex, IImageEnhancer[] enhancers, CancellationToken cancellationToken)
    Source: CoverArt
    TargetSite: SkiaSharp.SKBitmap Decode(System.String, Boolean, System.Nullable`1[MediaBrowser.Model.Drawing.ImageOrientation], SkiaSharp.SKEncodedOrigin ByRef)

2026-10-01 15:24:50.549 Info PreDrawPostersTask: [EmbyIcons] Pre-draw posters finished in 00:46:51: checked 157005 images on 82660 items, drew 156676, failed 169. EmbyIcons drawing averaged 44 ms per image.

2026-10-01 15:24:50.549 Info TaskManager: Pre-draw posters Completed after 46 minute(s) and 51 seconds

Subsequent run was quite fast, 4+ minutes, with again 169 failed:

Quote

2026-10-01 15:27:24.050 Info TaskManager: Executing Pre-draw posters

2026-10-01 15:27:24.051 Info PreDrawPostersTask: [EmbyIcons] Pre-draw posters started in 9 libraries with a profile (up to 8 images at a time).

2026-10-01 15:27:24.545 Error ImageProcessor: Error enhancing image
    *** Error Report ***
    Version: 4.10.1.0
    Command line: E:\EMBY\STABLE\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.19045
    OS/Process: x64/x64
    Framework: .NET 8.0.31
    Runtime: E:/EMBY/STABLE/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 16
    Data path: E:\EMBY\STABLE\Emby-Server\programdata
    Application path: E:\EMBY\STABLE\Emby-Server\system
    System.Exception: System.Exception: Skia error - pixels pointer is zero
       at CoverArt.Skia.CoverArtBaseEnhancer.Decode(String path, Boolean forceCleanBitmap, Nullable`1 orientation, SKEncodedOrigin& origin)
       at CoverArt.Skia.CoverArtBaseEnhancer.Decode(String path, Boolean forceCleanBitmap, Nullable`1 orientation, SKEncodedOrigin& origin)
       at CoverArt.Skia.CoverArtBaseEnhancer.EnhanceImageAsync(BaseItem item, String inputPath, String outputPath, ImageType imageType, Int32 imageIndex)
       at Emby.Drawing.ImageProcessor.ExecuteImageEnhancers(IEnumerable`1 imageEnhancers, String inputPath, String outputPath, BaseItem item, ImageType imageType, Int32 imageIndex)
       at Emby.Drawing.ImageProcessor.GetEnhancedImageInternal(String originalImagePath, BaseItem item, ImageType imageType, Int32 imageIndex, IImageEnhancer[] supportedEnhancers, String cacheGuid, CancellationToken cancellationToken)
       at Emby.Drawing.ImageProcessor.GetEnhancedImage(ItemImageInfo image, List`1 imageFeatures, ImageProcessingOptions options, BaseItem item, Int32 imageIndex, IImageEnhancer[] enhancers, CancellationToken cancellationToken)
    Source: CoverArt
    TargetSite: SkiaSharp.SKBitmap Decode(System.String, Boolean, System.Nullable`1[MediaBrowser.Model.Drawing.ImageOrientation], SkiaSharp.SKEncodedOrigin ByRef)

2026-10-01 15:32:00.551 Warn PreDrawPostersTask: [EmbyIcons] Pre-draw: Emby could not enhance the thumb of 'You're Still Here' (E:\EMBY\STABLE\Emby-Server\programdata\metadata\library\ee\eeb195a5e028ca88fe40159781553929\landscape.jpg). Another image plugin may have failed on it; check the log for 'Error enhancing image'.

2026-10-01 15:32:02.015 Info PreDrawPostersTask: [EmbyIcons] Pre-draw posters finished in 00:04:37: checked 157005 images on 82660 items, drew 0, failed 169.

2026-10-01 15:32:02.015 Info TaskManager: Pre-draw posters Completed after 4 minute(s) and 37 seconds

Though tbh 169 images out of 157,000 is negligible, what bothers me more is log flooded with errors.

When tracing random few of those images that failed, none of them are images that EmbyIcons should treat/place an icon on, so not sure why it is trying to draw on them - or it's just caching all the images it finds (which would be awesome)? I'm also unclear why it is failing on those images at all, they were there this morning as well when there were no fails reported. 

Anyway, not a big deal, would be nice to sort those errors, but even if not - I'll survive. 👍

Good to see that on server restart cache doesn't get wiped anymore, thanks:

Quote

2026-10-01 15:55:09.650 Info TaskManager: Executing Pre-draw posters

2026-10-01 15:55:09.659 Info PreDrawPostersTask: [EmbyIcons] Pre-draw posters started in 9 libraries with a profile (up to 8 images at a time).

2026-10-01 15:59:30.635 Warn PreDrawPostersTask: [EmbyIcons] Pre-draw: Emby could not enhance the thumb of 'You're Still Here' (E:\EMBY\STABLE\Emby-Server\programdata\metadata\library\ee\eeb195a5e028ca88fe40159781553929\landscape.jpg). Another image plugin may have failed on it; check the log for 'Error enhancing image'.

2026-10-01 15:59:32.064 Info PreDrawPostersTask: [EmbyIcons] Pre-draw posters finished in 00:04:22: checked 157005 images on 82660 items, drew 0, failed 169.

2026-10-01 15:59:32.064 Info TaskManager: Pre-draw posters Completed after 4 minute(s) and 22 seconds

yocker
Posted
10 minutes ago, GrimReaper said:

Unfortunately still getting some clashes, on initial run 169 CoverArt errors:

Subsequent run was quite fast, 4+ minutes, with again 169 failed:

Though tbh 169 images out of 157,000 is negligible, what bothers me more is log flooded with errors.

When tracing random few of those images that failed, none of them are images that EmbyIcons should treat/place an icon on, so not sure why it is trying to draw on them - or it's just caching all the images it finds (which would be awesome)? I'm also unclear why it is failing on those images at all, they were there this morning as well when there were no fails reported. 

Anyway, not a big deal, would be nice to sort those errors, but even if not - I'll survive. 👍

Good to see that on server restart cache doesn't get wiped anymore, thanks:

The cache hasn't been reset on server reboot for a while. :) 

Hmm.. wonder what's wrong, no words on my side. 
Will look into it.

GrimReaper
Posted

Sorted some of those errors in case plugins didn't particularly liked something on the image:

Quote

2026-10-01 16:11:21.924 Info PreDrawPostersTask: [EmbyIcons] Pre-draw posters finished in 00:04:41: checked 157005 images on 82660 items, drew 114, failed 54. EmbyIcons drawing averaged 47 ms per image.
2026-10-01 16:11:21.924 Info TaskManager: Pre-draw posters Completed after 4 minute(s) and 41 seconds

Will check the rest.

GrimReaper
Posted
2 minutes ago, yocker said:

The cache hasn't been reset on server reboot for a while. :) 

Hmm.. wonder what's wrong, no words on my side. 
Will look into it.

LOL for me it was few hours ago, during this morning's test:

9 hours ago, GrimReaper said:

Once CoverArt uninstalled, no errors, but why is cache cleared on server restart, basically throwing all the previous good work out? 

Quote

2026-10-01 06:07:44.750 Info TaskManager: Executing Pre-draw posters
2026-10-01 06:07:44.752 Info PreDrawPostersTask: [EmbyIcons] Pre-draw posters started (up to 4 images at a time).
2026-10-01 06:07:45.260 Info EmbyIconsEnhancer: [EmbyIcons] Clearing all cached icon image data.

 

9 hours ago, GrimReaper said:

That resulted in another long pre-draw run (though shorter than the original initial one):

Quote

2026-10-01 06:41:14.532 Info PreDrawPostersTask: [EmbyIcons] Pre-draw posters finished in 00:33:29: checked 157005 images on 83199 items, drew 146883, failed 0.
2026-10-01 06:41:14.532 Info TaskManager: Pre-draw posters Completed after 33 minute(s) and 29 seconds

 

yocker
Posted

@GrimReaper I think the errors caused the plugin to mark the cache as invalid/out of date.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...