Jump to content

Plugin: EmbyIcons release.


Recommended Posts

Posted
On 8/18/2025 at 11:49 AM, yocker said:

You don't need to know how to code at all for this to work.

Open the code with the csproj file, add icons to the Embeddedicons folder, right click the icons in the folder view, select properties and in the first drop down menu choose "embedded resources on the added icons.
Then go to the top of visual studio, go to build and press build solution.

In the folder where you opened the csproj file you go to bin/debug/net6.0/ and the dll will be there.

Can you give a little hint on what software you exactly use to do this? And which version? And also Workspace or whatever Microsoft calls it?
I have downloaded Visual Studio Community Edition, took some .net-workspace, cloned the repository, opened the .csproj but 
there the images do not have any properties to choose from. See image.
I am pretty sure i am doing something very wrong. ^^
Unfortunately for me this plugin only works when i use embedded icons. 
I am on Linux Debian, still 4.8.11.0. 
No matter which folder on the system i declare for using the images, it simply doesnt work. 
They do not appear. Access rights are given, everything owned by emby user and group, i have also put it into the emby plugins folder, but doesn't help. 
As soon as i set back to "Built in icons only" it starts to work immediately so i assume it is something with my system but i cannot find what it is, so my solution would be to compile my own DLL. 
I think this would be also beneficial for overall performance of emby if i remove images from it that i don't need, right?
I assume they must not be loaded into RAM then. 

Bildschirmfoto vom 2025-10-03 21-20-52.png

Posted
36 minutes ago, Suliamu said:

Can you give a little hint on what software you exactly use to do this? And which version? And also Workspace or whatever Microsoft calls it?
I have downloaded Visual Studio Community Edition, took some .net-workspace, cloned the repository, opened the .csproj but 
there the images do not have any properties to choose from. See image.
I am pretty sure i am doing something very wrong. ^^
Unfortunately for me this plugin only works when i use embedded icons. 
I am on Linux Debian, still 4.8.11.0. 
No matter which folder on the system i declare for using the images, it simply doesnt work. 
They do not appear. Access rights are given, everything owned by emby user and group, i have also put it into the emby plugins folder, but doesn't help. 
As soon as i set back to "Built in icons only" it starts to work immediately so i assume it is something with my system but i cannot find what it is, so my solution would be to compile my own DLL. 
I think this would be also beneficial for overall performance of emby if i remove images from it that i don't need, right?
I assume they must not be loaded into RAM then. 

Bildschirmfoto vom 2025-10-03 21-20-52.png

I use Visual Studio 2022.

To not make this post huge i have provided some images in a zip file that i will mention here.
1) In the code folder add or replace the icons you want.
2) Open the code by opening the EmbyIcons.csproj file.
3) Right click any icons you have added or replaced and make them embedded (image1.jpg)
4) If Visual Studio will not compile because of missing references then remove the wrong one and add the new Emby dlls, you find them where Emby is installed named mediabrowser.common.dll, mediabrowser.controller.dll, mediabrowser.model.dll and lastly Skiasharp.dll (image2.jpg, image3.jpg)
5) Clean the project and after that build. (image4.jpg)
6) In the bin/debug folder for the code you can find the new EmbyIcons.dll which should now have the new images in it.

I also found this which might be useful to fix your situation:
 

1. Check what user Emby runs as
On most Linux installs, Emby runs under its own system user (often emby):

ps aux | grep emby

That will show you the process owner. It’s usually emby or sometimes mediacenter.

2. Check folder permissions
Let’s say your plugin needs access to /media/images.

Run:
ls -ld /media/images

This will show owner, group, and permissions. Example output:
drwxr-xr-x 2 user user 4096 Oct  3 12:00 /media/images

user user = owner:group
drwxr-xr-x = permissions

If the folder is owned by your user, Emby (running as emby) probably can’t read inside.

3. Fix options
You have a few choices:
Option A: Add Emby to your user’s group
If your media folders are under your user’s group (say user), add Emby to that group:

sudo usermod -aG user emby

Then log out & restart Emby (or reboot).

Option B: Change folder group to emby
If these folders are only for Emby, you can make emby the group owner:

sudo chgrp -R emby /media/images
sudo chmod -R 750 /media/images

This means: group = emby, and emby has read/execute.
Option 😄 Loosen permissions
If you’re fine with world-readable access (not recommended for private files):

sudo chmod -R 755 /media/images

4. Restart Emby
After making changes, restart the service:

sudo systemctl restart emby-server

Hope this helps, other wise you are welcome to ask again! :) 

Images.zip

  • Thanks 1
Posted
3 hours ago, Neminem said:

@yockerI just upgraded my test server with this plugin enabled, v.5.38.7.0

No issues found, running docker.

👍

Good to hear! Many thanks! Test server also runs fine with the plugin here. 🤘
I'm still waiting for people to get off my server before i can update the main server.

Early tests indicates that the new Emby might have messed up a mixed library i have, the posters have been made very small, funny seeing EmbyIcons making incredibly small icons on those posters.

Posted (edited)
1 hour ago, yocker said:

Early tests indicates that the new Emby might have messed up a mixed library i have, the posters have been made very small, funny seeing EmbyIcons making incredibly small icons on those posters.

Got that too on my mixed library with concerts. Luckily the items just got deleted and readded to the library.

Edited by sh0rty
Posted
20 minutes ago, sh0rty said:

Got that too on my mixed library with concerts. Luckily the items just got deleted and readded to the library.

Did you delete them self, if so how did you identify the folders causing the problems?

Posted
34 minutes ago, yocker said:

I use Visual Studio 2022.

To not make this post huge i have provided some images in a zip file that i will mention here.
1) In the code folder add or replace the icons you want.
2) Open the code by opening the EmbyIcons.csproj file.
3) Right click any icons you have added or replaced and make them embedded (image1.jpg)
4) If Visual Studio will not compile because of missing references then remove the wrong one and add the new Emby dlls, you find them where Emby is installed named mediabrowser.common.dll, mediabrowser.controller.dll, mediabrowser.model.dll and lastly Skiasharp.dll (image2.jpg, image3.jpg)
5) Clean the project and after that build. (image4.jpg)
6) In the bin/debug folder for the code you can find the new EmbyIcons.dll which should now have the new images in it.

I also found this which might be useful to fix your situation:
 

1. Check what user Emby runs as
On most Linux installs, Emby runs under its own system user (often emby):

ps aux | grep emby

That will show you the process owner. It’s usually emby or sometimes mediacenter.

2. Check folder permissions
Let’s say your plugin needs access to /media/images.

Run:
ls -ld /media/images

This will show owner, group, and permissions. Example output:
drwxr-xr-x 2 user user 4096 Oct  3 12:00 /media/images

user user = owner:group
drwxr-xr-x = permissions

If the folder is owned by your user, Emby (running as emby) probably can’t read inside.

3. Fix options
You have a few choices:
Option A: Add Emby to your user’s group
If your media folders are under your user’s group (say user), add Emby to that group:

sudo usermod -aG user emby

Then log out & restart Emby (or reboot).

Option B: Change folder group to emby
If these folders are only for Emby, you can make emby the group owner:

sudo chgrp -R emby /media/images
sudo chmod -R 750 /media/images

This means: group = emby, and emby has read/execute.
Option 😄 Loosen permissions
If you’re fine with world-readable access (not recommended for private files):

sudo chmod -R 755 /media/images

4. Restart Emby
After making changes, restart the service:

sudo systemctl restart emby-server

Hope this helps, other wise you are welcome to ask again! :) 

Images.zip 217.99 kB · 0 downloads

Thank you, the compilation guide worked perfectly!
It's now running as it should with a custom DLL. :) 

Regarding your troubleshooting-tips with the custom files-problem:
I was very cautious that everything is right with file permissions and ownership and i also run emby on baremetal Debian not in some abstraction layer like Docker or LXC, this really should have worked. 

As soon as i switch to "Custom icons only" or "Custom with fallback" icons simply stop working. Also in the plugin-settings-menu the preview does not work, it shows only the blank poster. I went basically through the whole thread and have done everything that was mentioned somewhere with one exception: I did not use the option to replace metadata, since this would involve a lot of work for me. Maybe this was the culprit. 
Thanks again for your help and this awesome plugin :) 

  • Thanks 1
Posted (edited)
24 minutes ago, yocker said:

Did you delete them self, if so how did you identify the folders causing the problems?

No after the update server started library scanning and I got the Telegram message that all the items in this library got deleted but readded immediately. Also the added date in the nfo has not changed. Only god knows why Emby did that.

Edited by sh0rty
  • Like 1
Posted
8 minutes ago, sh0rty said:

No after the update server started library scanning and I got the Telegram message that all the items in this library got deleted but readded immediately. Also the added date in the nfo has not changed. Only god knows why Emby did that.

Okay i understand now. :)

My problem is that one of my libraries look like this:
image.thumb.png.42b790544d51651d8f609c5efd41395f.png

Yes i'm a nerd!! ;) 

Posted
20 minutes ago, Suliamu said:

Thank you, the compilation guide worked perfectly!
It's now running as it should with a custom DLL. :) 

Regarding your troubleshooting-tips with the custom files-problem:
I was very cautious that everything is right with file permissions and ownership and i also run emby on baremetal Debian not in some abstraction layer like Docker or LXC, this really should have worked. 

As soon as i switch to "Custom icons only" or "Custom with fallback" icons simply stop working. Also in the plugin-settings-menu the preview does not work, it shows only the blank poster. I went basically through the whole thread and have done everything that was mentioned somewhere with one exception: I did not use the option to replace metadata, since this would involve a lot of work for me. Maybe this was the culprit. 
Thanks again for your help and this awesome plugin :) 

Perfect! Love that it worked for you! Just remember to embed the images, i always keep forgetting it my self. :)
I just find it strange that you can't get permissions to work, sadly not much that can be done from my end but at least this method works!

It's normal the preview won't work since it can't find the images it needs, i should really make it more resilient in the future so it doesn't fail if some icon is missing as it has actually caused me some headaches as it is.

And thank you for your patience and kind words! 👍

Posted
1 hour ago, yocker said:

Okay i understand now. :)

My problem is that one of my libraries look like this:
image.thumb.png.42b790544d51651d8f609c5efd41395f.png

Yes i'm a nerd!! ;) 

App Settings -> Homepage -> You need to reset the Default Tab for the library 

Screenshot2025-10-04013443.png.0e9398bdf91bcb35b2c2f4a0c5bd6ee2.png

 

Atm it seems you are in the folder view (=Verzeichnisse in German). Check the tabs on the top of the page.

Screenshot2025-10-04013551.png.a176fe1b9dd96681d7be372bf01fc4f6.png

Posted
1 hour ago, sh0rty said:

App Settings -> Homepage -> You need to reset the Default Tab for the library 

Screenshot2025-10-04013443.png.0e9398bdf91bcb35b2c2f4a0c5bd6ee2.png

 

Atm it seems you are in the folder view (=Verzeichnisse in German). Check the tabs on the top of the page.

Screenshot2025-10-04013551.png.a176fe1b9dd96681d7be372bf01fc4f6.png

That sadly doesn't work either.

It's on purpose i'm in the folder view and other libraries in folder view look as they should.
image.png.1d108be41afffb0bc4747decea3c9b25.png

  • Like 1
Posted

I reported this folder view issues especially on library that is mixed mode several times to Luke, but he is ignoring it as always....

Posted

Hi

First time user, or try to use.

Downloaded the .dll and put it in the plugin folder. But the plugin did not show up.

This is the way I have installed other plugins, like: WatchingEye

Posted
47 minutes ago, PeteGul said:

Hi

First time user, or try to use.

Downloaded the .dll and put it in the plugin folder. But the plugin did not show up.

This is the way I have installed other plugins, like: WatchingEye

Please supply me a log from Emby so i can see what might be wrong.

Posted
3 hours ago, PeteGul said:

Think this is the right log.
But at the phone noe, so it is in pdf, as I didn't find any other way from the app to download anonymous log.

192.168.0.2_8096_emby_System_Logs_embyserver-63895294262.PDF 58.06 kB · 2 downloads

You need to update your server.
The Emby you are running is 4.9.1.36 but the plugin needs 4.9.1.80 to work.

If you for some reason can't update your server then this version might solve it as i have updated it to use the latest dependencies just released by the Google team.
The last version used a bit of a band aid to get to work without problems in the last version.

EmbyIcons.dll

  • Thanks 1
Posted

I'll do that. Or try at least.

I've had the impression that the server updated automatically, even in beta. It's a big gap I see, so it hasn't updated in a while.

I'll let you know

Posted

Updated server, then all is good. 

Thanks!

  • Like 1
Posted

Have another question; the subtitle won't show my Norwegian subs. But all other are coming up.

Is there something I maybe missed in the settings?

And, is there an way to move the top right a little bit to the left, so the episode counter does not hide it?

20251006_222813.jpg

Posted
31 minutes ago, PeteGul said:

Have another question; the subtitle won't show my Norwegian subs. But all other are coming up.

Is there something I maybe missed in the settings?

And, is there an way to move the top right a little bit to the left, so the episode counter does not hide it?

20251006_222813.jpg

I guess you are using the built in icons. 

I haven't added Norwegian yet, I can do that for you later, sadly a little busy ATM.

Even though i hate to promise things.. Tomorrow at the latest I promise. ;) 

  • Thanks 1
Posted

Do it when you have time, as long it is not an setting everything is fine.

No stress, do it when you have time 😁🙂

Posted
18 minutes ago, PeteGul said:

Do it when you have time, as long it is not an setting everything is fine.

No stress, do it when you have time 😁🙂

In the meantime you can add icons your self by using the custom icons option.

  • Agree 1
Posted

I'll see what I can do, or understand.

Posted
2 hours ago, PeteGul said:

I'll see what I can do, or understand.

This version should have working Norwegian. :)

Sorry it took a little while for such a little thing but had some stuff to do.

EmbyIcons.dll

Posted

New beta for the brave.
v5.39.2

Changed:
Performance improvements.
Made the scanning and drawing a bit more efficient. Biggest change is some functions kept looking for data when scanning even when those functions were not enabled in the settings, this has now been fixed.
Fixed a small bug that in very rare occasions could cause the plugin (and possibly the whole server) to crash if a corrupt images was supplied to the plugin as either a icon or poster.
While the improvements are small, TV show scanning should be noticeable faster as everything helps when scanning 1000+ episodes.  

Small change to the troubleshooter that makes it more obvious that's it working and doing something when running on VERY large libraries.

To do list:
Improve scanning of movies as the file name lookup for file name based icons can be a bit slower than i want, specially over network connections.
Sit back and have a good beer while watching a good movie. :P

WARNING WARNING WARNING!!!!
Please note before downloading and installing that this is a beta and might have undiscovered faults!

@NeminemWould you be so kind? :)

EmbyIcons.dll

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