Jump to content

Plugin: EmbyIcons release.


Recommended Posts

Neminem
Posted

@yockerI will test this later today 👍

  • Thanks 1
Neminem
Posted

@yockerJust tested the new version.

No issues found.

It does feel a bit faster, but my libraries / Episode count might not big enough to really feel the change 🤷‍♂️ 

  • Thanks 1
Posted (edited)
1 hour ago, Neminem said:

@yockerJust tested the new version.

No issues found.

It does feel a bit faster, but my libraries / Episode count might not big enough to really feel the change 🤷‍♂️ 

Good to hear, many thanks! Will see if I can afford up the movie scanning speed before release.

Edited by yocker
  • Like 1
Posted

Identified some places where i can improve the movie scanning/drawing.
Time to fix that so i can have my beer brake! :) 

  • Haha 1
Posted

With latest version it seems I am not able to delete a profile. I press the button but nothing happens.

Posted (edited)
1 hour ago, sh0rty said:

With latest version it seems I am not able to delete a profile. I press the button but nothing happens.

Thank you for reporting!

It's actually an old bug that i'm still working on, still working on it.
No idea why it doesn't work, i tried everything and it should work but just doesn't.

I will make it my top priority after the performance improvements.

Edited by yocker
  • Like 1
Posted
2 hours ago, sh0rty said:

With latest version it seems I am not able to delete a profile. I press the button but nothing happens.

Never mind what i wrote before, i got it fixed.
Guess i just needed to try again to get it working. :) 

Try this version.
It also has some of the performance improvements so please threat it as beta though it should be 100% working.

EmbyIcons.dll

Posted

Sorry for spamming here but new beta version.
v5.39.6

Changes:
Should have some noticeable performance increases for most people.
More efficient cache should keep memory usage lower.
Deleting profiles works.
Changed how Skiasharp is used (the part that draws the icons onto the posters) should increase performance and memory usage as well.
Added a (real) memory usage meter in the troubleshooter section. This is mostly for testing the plugin and not really that useful for any one so you can ignore it.

Please note:
Enabling deep look up for collections (Icons for collections) will slow it all down a bit again. Sadly not much that can be done about that and is a trade off to be able to have icons on collections.

As before:
WARNING WARNING WARNING!!
This is a beta and while it should work 100% and have been tested by my self, there might still be unforeseen bugs.
If you encounter any problems while report them to me and i will look at it asap!

EmbyIcons.dll

  • Thanks 2
Posted (edited)

Thanks for your hard work. :)
I have a question and maybe a bug report and maybe a feature request: 
You are using for languages "
{language} is the full display name, lowercased. Ex: lang.english.png"
I have a "lang_chinese.png" compiled into the DLL, among some other languages. 
All the other languages work fine but movies that have in MKVToolnix in the audiotrack as language "Chinese (zh; chi)" are somehow not 
detected by the plugin. 
I could have very well made some mistake while compiling, but i think that this could somehow be connected as to how emby identifies those languages. 
For "Chinese (zh; chi)" in MKVToolnix Emby makes "Chinese simplified" out of it. Not "Chinese". 
Is it maybe necessary to make the filename then lang_chinese_simplified.png or something in that line? 
How would be the syntax with languages that have a space in their name? 
Would it be maybe better (and possible) to use the three-character-language-codes from MKVToolnix instead of this "normalized language name"?
So that the files would be named lang_chi.png for example? 
That would be maybe less confusing and more streamlined - and from my understanding should also save some more bytes in RAM? :) 

 

Edited by Suliamu
Posted
2 hours ago, Suliamu said:

Thanks for your hard work. :)
I have a question and maybe a bug report and maybe a feature request: 
You are using for languages "
{language} is the full display name, lowercased. Ex: lang.english.png"
I have a "lang_chinese.png" compiled into the DLL, among some other languages. 
All the other languages work fine but movies that have in MKVToolnix in the audiotrack as language "Chinese (zh; chi)" are somehow not 
detected by the plugin. 
I could have very well made some mistake while compiling, but i think that this could somehow be connected as to how emby identifies those languages. 
For "Chinese (zh; chi)" in MKVToolnix Emby makes "Chinese simplified" out of it. Not "Chinese". 
Is it maybe necessary to make the filename then lang_chinese_simplified.png or something in that line? 
How would be the syntax with languages that have a space in their name? 
Would it be maybe better (and possible) to use the three-character-language-codes from MKVToolnix instead of this "normalized language name"?
So that the files would be named lang_chi.png for example? 
That would be maybe less confusing and more streamlined - and from my understanding should also save some more bytes in RAM? :) 

 

Did you remember to embed the file so it gets included when compiled. (you most likely did but i have to ask as it's something i keep forgetting my self)

The plugin uses Embys display naming scheme so what ever Emby reports the name as, that's what the plugin looks for. It made it this way so it was easier for most people to find out what to call their icon names as i guess most don't even know what language codes are.
For example if Emby reports spanish then the plugin will look for lang.spanish.png.

I tested the plugin with a movie made with MKVToolnix with the language set to "zh: chi" and it picked it up as chinese as it should.
It might be an Emby or system regional thing that it doesn't work that way for you.
You can try "lang_chinese simplified.png" (with the space) that should work if that's how Emby reports it.

Also in the settings under "Icon Magement" you will be able to see precisely what icon names the plugin is looking for.

As for changing the plugin.
It's not top priority but i can look into making letter codes usable, it did use that once anyway but i changed it for simplicity sake.
Maybe i could make some custom user mappings for it.. That way i don't have to maintain language compatibility. :)

If you still can't get it to work then please write here and we will find out a solution.

  • Thanks 1
Posted
1 hour ago, yocker said:

You can try "lang_chinese simplified.png" (with the space) that should work if that's how Emby reports it.

Also in the settings under "Icon Magement" you will be able to see precisely what icon names the plugin is looking for.

Thanks, this was the solution. Should have looked earlier there, sorry ^^
It shows indeed "lang.chinese simplified.png".
Also there's "lang.bokmål, norwegian.png", so yeah i guess lang codes wouldn't be bad 😅

Bildschirmfoto vom 2025-10-10 08-51-36.png

  • Like 1
Posted
1 hour ago, Suliamu said:

Thanks, this was the solution. Should have looked earlier there, sorry ^^
It shows indeed "lang.chinese simplified.png".
Also there's "lang.bokmål, norwegian.png", so yeah i guess lang codes wouldn't be bad 😅

Bildschirmfoto vom 2025-10-10 08-51-36.png

No need to apologize, i'm very happy to help! :) 

  • Thanks 1
Posted

New release v5.39.6

Changes:

  1. Should have some noticeable performance increases for most people (mostly for TV show and episode posters).
  2. More efficient cache should keep memory usage lower.
  3. Changed how Skiasharp is used (the part that draws the icons onto the posters) should increase performance and memory usage as well.
  4. Added a memory usage meter in the troubleshooter section. This is mostly for testing the plugin and not really that useful for any one and meant for debugging.

Fixed:

  1. Deleting profiles works.

Thank you to everyone that helped betatest and/or reported problems!

Download it here or on EmbyIcons Github.

EmbyIcons.dll

Posted

Workin well with no issues! Well done!

  • Thanks 1
Posted

3. Changed how Skiasharp is used (the part that draws the icons onto the posters) should increase performance and memory usage as well.

It should say "and lowers memory usage as well".
Just so there are no confusion. :) 

  • Like 1
Posted (edited)

not working on my older beta version... .Version 4.9.1.34 beta it doesnt even show up

/var/lib/emby/logs/embyserver.txt│2025-10-13 14:51:14.867 Info App: Loading EmbyIcons, Version=5.39.6.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/EmbyIcons.dll                       │
/var/lib/emby/logs/embyserver.txt│2025-10-13 14:51:14.934 Error App: Error loading types from assembly                                                                                                       │
/var/lib/emby/logs/embyserver.txt│      *** Error Report ***                                                                                                                                                 │
/var/lib/emby/logs/embyserver.txt│      Version: 4.9.1.34                                                                                                                                                    │
/var/lib/emby/logs/embyserver.txt│      Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe │
/var/lib/emby/logs/embyserver.txt│      Operating system: Linux version 6.8.0-83-generic (buildd@lcy02-amd64-098) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ub│
/var/lib/emby/logs/embyserver.txt│      OS/Process: x64/x64                                                                                                                                                  │
/var/lib/emby/logs/embyserver.txt│      Framework: .NET 8.0.11                                                                                                                                               │
/var/lib/emby/logs/embyserver.txt│      Runtime: opt/emby-server/system/System.Private.CoreLib.dll                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Processor count: 32                                                                                                                                                  │
/var/lib/emby/logs/embyserver.txt│      Data path: /var/lib/emby                                                                                                                                             │
/var/lib/emby/logs/embyserver.txt│      Application path: /opt/emby-server/system                                                                                                                            │
/var/lib/emby/logs/embyserver.txt│      System.Reflection.ReflectionTypeLoadException: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.                     │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Controller, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.        │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Common, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.            │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emb

 

Edited by kikinjo
Posted
17 minutes ago, kikinjo said:

not working on my older beta version... .Version 4.9.1.34 beta it doesnt even show up

/var/lib/emby/logs/embyserver.txt│2025-10-13 14:51:14.867 Info App: Loading EmbyIcons, Version=5.39.6.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/EmbyIcons.dll                       │
/var/lib/emby/logs/embyserver.txt│2025-10-13 14:51:14.934 Error App: Error loading types from assembly                                                                                                       │
/var/lib/emby/logs/embyserver.txt│      *** Error Report ***                                                                                                                                                 │
/var/lib/emby/logs/embyserver.txt│      Version: 4.9.1.34                                                                                                                                                    │
/var/lib/emby/logs/embyserver.txt│      Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe │
/var/lib/emby/logs/embyserver.txt│      Operating system: Linux version 6.8.0-83-generic (buildd@lcy02-amd64-098) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ub│
/var/lib/emby/logs/embyserver.txt│      OS/Process: x64/x64                                                                                                                                                  │
/var/lib/emby/logs/embyserver.txt│      Framework: .NET 8.0.11                                                                                                                                               │
/var/lib/emby/logs/embyserver.txt│      Runtime: opt/emby-server/system/System.Private.CoreLib.dll                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Processor count: 32                                                                                                                                                  │
/var/lib/emby/logs/embyserver.txt│      Data path: /var/lib/emby                                                                                                                                             │
/var/lib/emby/logs/embyserver.txt│      Application path: /opt/emby-server/system                                                                                                                            │
/var/lib/emby/logs/embyserver.txt│      System.Reflection.ReflectionTypeLoadException: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.                     │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Controller, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.        │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Common, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.            │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emby/logs/embyserver.txt│      Could not load file or assembly 'MediaBrowser.Model, Version=4.9.1.80, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.             │
/var/lib/emby/logs/embyserver.txt│                                                                                                                                                                           │
/var/lib/emb

 

It needs 4.9.1.80 to run, sorry.
When the latest Emby stable landed i had to update the dependencies the plugin uses and i made it use the once from the lastest stable version.

Posted

@kikinjo This doesn't look for the version number.

Please note that it might not be 100% compatible with older versions.

EmbyIcons.dll

Posted (edited)

Cant update because Luke f***ed AMD gpu detection on newer versions....., ill try this one

nope, not working same....

 

Edited by kikinjo
Posted (edited)

EmbyIcons.dll is in case i gave you the wrong file.
EmbyIcons2.dll uses the old dependencies.

Remember to rename EmbyIcons2.dll if you try that one.

EmbyIcons.dll EmbyIcons2.dll

Edited by yocker
Posted (edited)

Working fine on other emby server that is updated, but yocker i stumbled on another bug, i dont see icons no more on images that are in continue watching.

I have 4k small icon to show up on 4k content, working fine on posters, but dissapered from continue watching landscape pictures.....

anoyone other sees this ? thx

Edited by kikinjo
Posted (edited)
43 minutes ago, kikinjo said:

Working fine on other emby server that is updated, but yocker i stumbled on another bug, i dont see icons no more on images that are in continue watching.

I have 4k small icon to show up on 4k content, working fine on posters, but dissapered from continue watching landscape pictures.....

anoyone other sees this ? thx

You might have some TV shows that are using backdrops in the continue watching. That is not really a bug but how Emby works.
I can enable icons for backdrops some what easy sadly that will cause all backdrops to have icons on them and not just in the continue watching.

Edit:
I was to quick there and it's not 100% correct what i wrote.

If the thumb is missing Emby will revert to use backdrops.
You can fix it by adding a thumb picture in the movies / TV shows that are missing the icons in Continue Watching.

Sadly nothing else i can do.. Sorry! :(

 

Edited by yocker
  • Like 1
  • 3 weeks later...
Posted (edited)

New beta for the brave.

I added rotten tomatoes ratings.

image.png.895dae362df6e31d6ea139f13e954a75.png

It shows different icons depending on rating just like rotten tomatoes does on the webpage.
I know the icons are not pretty but i'm no artist so can't make them prettier my self like making the background transparent. Maybe someone here would be so kind as to supply some icons.

For the icons folder it uses t.splat.png, t.tomato.png and t.fresh.png.
There are already supplied built in icons.

For this to work you MIGHT need to enable The Open Movie Database and languages.
I have tried working around this but i get different result on my test servers. Maybe i'm an idiot and have problems with browser cache.

WARNING WARNING WARNING!!!!!
As always with a beta... Unforeseen faults might show up, so if you are not willing to live with that chance then please don't use this.
For anyone that's willing to try it, please report any problems you might find. Thank you in advance!

@Neminem
As always i would love if you try it as well! :) 

EmbyIcons.dll

Edited by yocker
Posted (edited)
2 hours ago, Neminem said:

Looks good @yocker 👍

image.png.807516d710429e99cdca91a68315ff04.png

The ratings are the same there. Does that go for all movies?
The way i made it was using the IMBd ratings to start with, maybe i missed something if they are all the same for you.

Try this one instead, i might have uploaded an old version by mistake.
Refresh metadata with image replace on the file after installing.

EmbyIcons.dll

Edited by yocker

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...