yocker 1634 Posted yesterday at 01:01 AM Author Posted yesterday at 01:01 AM 1 hour ago, AngelSing said: @yocker Hi, I have a question about the built-in/default icons. I installed EmbyIcons on my NAS and some built-in icons are working correctly, for example resolution and codec icons like 1080p, H264, AC3, etc. However, when I scan the library in Icon Manager, some language icons are reported as missing, for example lang.french.png. I checked the GitHub repository and I can see language icons there, but they seem to use an underscore format, for example lang_french.png, while the plugin/Icon Manager is asking for lang.french.png. Is this expected? Are the embedded/default language icons inside the DLL using underscore names, while the Icon Manager expects dot-based names? Or should the built-in fallback icons be detected automatically for these language icons too? I just want to confirm if this is a naming issue in the embedded icons, a limitation of the built-in fallback icons, or if I’m misunderstanding how the default icons are loaded. The icons built into the plugin are using "_" (for example lang_english.png) and the user custom icons are using "." (lang.english.png) This was done to make it easier for me when making the plugin and separating the icons to make having both embedded and user icons possible. The troubleshooter only checks for the user icons and not the icons built into the plugin. 1
AngelSing 58 Posted yesterday at 01:11 AM Posted yesterday at 01:11 AM (edited) @Yocker Hi again, sorry for bothering you so much. I have been testing the plugin all day and I have a question about regional language detection. I am testing EmbyIcons with internal MKV audio and subtitle tracks tagged as es-419 in MKVToolNix. MKVToolNix shows the tracks as es-419, but EmbyIcons still displays the standard lang.spanish.png / sub.spanish.png icons instead of using something like lang.spanish (latin america).png or sub.spanish (latin america).png. In Emby’s media information, the language still appears as “Spanish”, even though the MKV track language is set to es-419 and the track title says “Español (Latinoamérica)”. Does EmbyIcons currently read only Emby’s displayed language name, or can it read the IETF/BCP47 language tag from the MKV track? Would it be possible to support regional language variants such as es-419 for internal MKV audio and subtitle tracks? Thanks again for your work on the plugin. Edited yesterday at 01:12 AM by AngelSing delete img
yocker 1634 Posted yesterday at 01:19 AM Author Posted yesterday at 01:19 AM 2 minutes ago, AngelSing said: @Yocker Hi again, sorry for bothering you so much. I have been testing the plugin all day and I have a question about regional language detection. I am testing EmbyIcons with internal MKV audio and subtitle tracks tagged as es-419 in MKVToolNix. MKVToolNix shows the tracks as es-419, but EmbyIcons still displays the standard lang.spanish.png / sub.spanish.png icons instead of using something like lang.spanish (latin america).png or sub.spanish (latin america).png. In Emby’s media information, the language still appears as “Spanish”, even though the MKV track language is set to es-419 and the track title says “Español (Latinoamérica)”. Does EmbyIcons currently read only Emby’s displayed language name, or can it read the IETF/BCP47 language tag from the MKV track? Would it be possible to support regional language variants such as es-419 for internal MKV audio and subtitle tracks? Thanks again for your work on the plugin. No bother at all. It uses the information that Emby gives it, so unless Emby serves the regional name the plugin won't use it. The series aggregation is already a semi heavy task and adding MKV reading to that would just make it worse. That's not to say that it's not possible, just that it might not be a good idea. I will look into what i can do, no promises! 1
AngelSing 58 Posted yesterday at 01:30 AM Posted yesterday at 01:30 AM 10 minutes ago, yocker said: No bother at all. It uses the information that Emby gives it, so unless Emby serves the regional name the plugin won't use it. The series aggregation is already a semi heavy task and adding MKV reading to that would just make it worse. That's not to say that it's not possible, just that it might not be a good idea. I will look into what i can do, no promises! Thanks for the explanation. So, just to make sure I understand correctly: the issue is not really in EmbyIcons, but in the information that Emby provides to the plugin, right? In my MKV file, the internal audio and subtitle tracks are tagged as es-419 in MKVToolNix, and the track title says “Español (Latinoamérica)”. However, Emby’s media information only shows the language as “Spanish”. Does this mean that Emby is reading the MKV language as Spanish but not exposing the regional IETF/BCP47 tag, such as es-419, to plugins? If that is the case, would this need to be improved in Emby itself so that plugins like EmbyIcons can receive the full regional language value instead of only the base language name? I’m just trying to understand where the limitation is: EmbyIcons, Emby’s media info, or the way Emby exposes media stream language data to plugins.
yocker 1634 Posted yesterday at 01:40 AM Author Posted yesterday at 01:40 AM 5 minutes ago, AngelSing said: Thanks for the explanation. So, just to make sure I understand correctly: the issue is not really in EmbyIcons, but in the information that Emby provides to the plugin, right? In my MKV file, the internal audio and subtitle tracks are tagged as es-419 in MKVToolNix, and the track title says “Español (Latinoamérica)”. However, Emby’s media information only shows the language as “Spanish”. Does this mean that Emby is reading the MKV language as Spanish but not exposing the regional IETF/BCP47 tag, such as es-419, to plugins? If that is the case, would this need to be improved in Emby itself so that plugins like EmbyIcons can receive the full regional language value instead of only the base language name? I’m just trying to understand where the limitation is: EmbyIcons, Emby’s media info, or the way Emby exposes media stream language data to plugins. Correct, the plugin can only read the information that Emby gives it. This info is pretty much the same info that EmbyIcons gets from Emby. There are a few exceptions to that but that is in general how EmbyIcons work, get info from Emby and then put an icon on the poster according to the info. Not sure how Emby gets it's info, sorry. Most likely through FFMpeg/FFprobe. 1
AngelSing 58 Posted yesterday at 02:36 AM Posted yesterday at 02:36 AM 56 minutes ago, yocker said: Correct, the plugin can only read the information that Emby gives it. This info is pretty much the same info that EmbyIcons gets from Emby. There are a few exceptions to that but that is in general how EmbyIcons work, get info from Emby and then put an icon on the poster according to the info. Not sure how Emby gets it's info, sorry. Most likely through FFMpeg/FFprobe. Thanks, that makes sense. So I’ll ask the Emby support/development team why Emby is only exposing the base language as “Spanish” instead of the full regional language tag, such as es-419. Since EmbyIcons depends on the media stream information provided by Emby, it seems this would need to be handled or exposed correctly by Emby first. Thanks again for clarifying how EmbyIcons gets its data. 1
yocker 1634 Posted yesterday at 07:10 PM Author Posted yesterday at 07:10 PM (edited) New version in the catalog (v5.54.5). Moved beta to stable. Changed: 1) Added some language fallbacks. 2) Improved troubleshooter, works with movies and shows icon prefixes (eg. lang. sub. and so on). Edited yesterday at 07:11 PM by yocker
AngelSing 58 Posted 21 hours ago Posted 21 hours ago Hi @yocker, I have a small feature suggestion regarding the Icon Bar option. Currently, when Icon Bar is enabled, the bar is displayed on every poster in the library, regardless of whether that item actually has any EmbyIcons icons assigned to it. In my case, I mainly use custom tag-based icons, and the Icon Bar does help the icons stand out more. However, the downside is that the bar also appears on posters that have no icons at all, which can make the library look a bit inconsistent. Would it be possible to add an option that only displays the Icon Bar when at least one EmbyIcons icon is present on the poster? For example, if a movie has audio, subtitle, quality, or custom tag icons, the bar would be shown. If the movie has no icons, the poster would remain unchanged and no bar would be displayed. I am not sure what the best implementation would be internally, but perhaps it could be tied to the same detection logic that determines whether icons are rendered on a poster. I think this would help the icons stand out while keeping the library cleaner and avoiding unnecessary overlays on posters that don't use EmbyIcons. Just a suggestion. Thanks for the great plugin!
yocker 1634 Posted 14 hours ago Author Posted 14 hours ago (edited) 6 hours ago, AngelSing said: Hi @yocker, I have a small feature suggestion regarding the Icon Bar option. Currently, when Icon Bar is enabled, the bar is displayed on every poster in the library, regardless of whether that item actually has any EmbyIcons icons assigned to it. In my case, I mainly use custom tag-based icons, and the Icon Bar does help the icons stand out more. However, the downside is that the bar also appears on posters that have no icons at all, which can make the library look a bit inconsistent. Would it be possible to add an option that only displays the Icon Bar when at least one EmbyIcons icon is present on the poster? For example, if a movie has audio, subtitle, quality, or custom tag icons, the bar would be shown. If the movie has no icons, the poster would remain unchanged and no bar would be displayed. I am not sure what the best implementation would be internally, but perhaps it could be tied to the same detection logic that determines whether icons are rendered on a poster. I think this would help the icons stand out while keeping the library cleaner and avoiding unnecessary overlays on posters that don't use EmbyIcons. Just a suggestion. Thanks for the great plugin! I never really thought of that, i will add it to the to do list. Thank you for the suggestion! Edited 14 hours ago by yocker 1
AngelSing 58 Posted 2 hours ago Posted 2 hours ago Hi @yocker, Me again. I have a question and also a feature suggestion about icon positioning. In most movies and series, the icons look very good when they are displayed directly over the poster. However, I have noticed a problem mainly with TV season posters, especially anime seasons. In many season posters, the title or important artwork/text is located near the bottom of the image. Since my icons are also configured to appear at the bottom, they sometimes overlap the season title or important poster text. I know there is an Icon Bar option, and I understand that it can work in different ways, including keeping the icons over the poster. However, in my case it does not really solve the specific problem. If I keep the icons as an overlay, the icons can still overlap important poster text. If I use the option that places the icons in a separate bar/space outside the poster, it avoids the overlap, but it changes the visual proportions of the poster. It does not look bad, but personally I prefer the icons directly over the poster. There are also two other reasons why Icon Bar is not ideal for my case: In collections, the poster aspect ratio/proportions do not always adapt correctly when using the external Icon Bar layout. When using custom tag-based icons, the bar can appear on posters where there are no icons, and I would prefer the bar to appear only when icons are actually present. So my question is: Is there currently any way to solve this overlap problem without using the external Icon Bar layout? If there is no current solution, I would like to suggest an optional feature: allowing item-specific icon position overrides, possibly through tags. For example, if the main EmbyIcons profile places icons at the bottom-left, but a specific season poster has important text in that area, I could add a tag such as: embyicons-position-top-left or icons-top-left Then only that specific item would show its icons in the top-left corner, while the rest of the library would continue using the normal position from the main profile. This would be useful because, as far as I understand, only one EmbyIcons profile can be used per library. So creating a second profile just for one specific series or season is not really an option, especially if there is no way to exclude that item from the original profile and include it only in another one. The idea would be to have a simple way to make exceptions for specific movies, series, seasons, or collections where the default icon position conflicts with the poster artwork. I do not know if tags would be the best implementation, but the main idea is to allow per-item icon position overrides without changing the global profile for the entire library. Just a suggestion. Thanks again for your work on EmbyIcons.
yocker 1634 Posted 2 hours ago Author Posted 2 hours ago 3 minutes ago, AngelSing said: Hi @yocker, Me again. I have a question and also a feature suggestion about icon positioning. In most movies and series, the icons look very good when they are displayed directly over the poster. However, I have noticed a problem mainly with TV season posters, especially anime seasons. In many season posters, the title or important artwork/text is located near the bottom of the image. Since my icons are also configured to appear at the bottom, they sometimes overlap the season title or important poster text. I know there is an Icon Bar option, and I understand that it can work in different ways, including keeping the icons over the poster. However, in my case it does not really solve the specific problem. If I keep the icons as an overlay, the icons can still overlap important poster text. If I use the option that places the icons in a separate bar/space outside the poster, it avoids the overlap, but it changes the visual proportions of the poster. It does not look bad, but personally I prefer the icons directly over the poster. There are also two other reasons why Icon Bar is not ideal for my case: In collections, the poster aspect ratio/proportions do not always adapt correctly when using the external Icon Bar layout. When using custom tag-based icons, the bar can appear on posters where there are no icons, and I would prefer the bar to appear only when icons are actually present. So my question is: Is there currently any way to solve this overlap problem without using the external Icon Bar layout? If there is no current solution, I would like to suggest an optional feature: allowing item-specific icon position overrides, possibly through tags. For example, if the main EmbyIcons profile places icons at the bottom-left, but a specific season poster has important text in that area, I could add a tag such as: embyicons-position-top-left or icons-top-left Then only that specific item would show its icons in the top-left corner, while the rest of the library would continue using the normal position from the main profile. This would be useful because, as far as I understand, only one EmbyIcons profile can be used per library. So creating a second profile just for one specific series or season is not really an option, especially if there is no way to exclude that item from the original profile and include it only in another one. The idea would be to have a simple way to make exceptions for specific movies, series, seasons, or collections where the default icon position conflicts with the poster artwork. I do not know if tags would be the best implementation, but the main idea is to allow per-item icon position overrides without changing the global profile for the entire library. Just a suggestion. Thanks again for your work on EmbyIcons. Having the plugin detect when there is text near the button and react accordingly would be extremely difficult and way beyond me to make for a plugin like this. The best you can do is switch how the icons are displayed, as in horizontal or vertical, this would effect all posters though. I could maybe make some poster scaling when the icon bars are active but i fear that would make the posters sometimes look weird.
AngelSing 58 Posted 2 hours ago Posted 2 hours ago 4 minutes ago, yocker said: Having the plugin detect when there is text near the button and react accordingly would be extremely difficult and way beyond me to make for a plugin like this. The best you can do is switch how the icons are displayed, as in horizontal or vertical, this would effect all posters though. I could maybe make some poster scaling when the icon bars are active but i fear that would make the posters sometimes look weird. Thanks for the explanation, @yocker What do you think about a simpler approach based on manual tags? For example, instead of the plugin trying to detect the poster content automatically, the user could manually add a tag to a specific movie, series, season, or collection to override the icon position only for that item. Something like: embyicons-position-top-left or icons-top-left So if my global profile has the icons at the bottom-left, but one specific season poster has important text at the bottom, I could add that tag and only that item would display the icons at the top-left. The rest of the library would continue using the normal global profile position. This would not require automatic image/text detection. It would just be a manual override for specific problematic posters. Do you think something like that could be possible, or would it also be too complicated for the plugin?
yocker 1634 Posted 1 hour ago Author Posted 1 hour ago 37 minutes ago, AngelSing said: Thanks for the explanation, @yocker What do you think about a simpler approach based on manual tags? For example, instead of the plugin trying to detect the poster content automatically, the user could manually add a tag to a specific movie, series, season, or collection to override the icon position only for that item. Something like: embyicons-position-top-left or icons-top-left So if my global profile has the icons at the bottom-left, but one specific season poster has important text at the bottom, I could add that tag and only that item would display the icons at the top-left. The rest of the library would continue using the normal global profile position. This would not require automatic image/text detection. It would just be a manual override for specific problematic posters. Do you think something like that could be possible, or would it also be too complicated for the plugin? That would not be too complicated to make. In simple terms it would be: If this, then do that. Problem is that i would have to add a whole new rules section for when that tag is detected. User customizable every thing pretty much. I have been thinking of ways to fix the problem before but never really found a way to do it that i like. Instead what i do my self is have icons go up and down instead as that avoids hitting the poster text.
AngelSing 58 Posted 1 hour ago Posted 1 hour ago 7 minutes ago, yocker said: That would not be too complicated to make. In simple terms it would be: If this, then do that. Problem is that i would have to add a whole new rules section for when that tag is detected. User customizable every thing pretty much. I have been thinking of ways to fix the problem before but never really found a way to do it that i like. Instead what i do my self is have icons go up and down instead as that avoids hitting the poster text. Yes, I understand what you mean. Moving the icons up or down globally can avoid the text in some posters, but in my case the current global position is already the best position for most of my library. For example, bottom-left works very well for around 80% of my posters, especially movies and main series posters. The problem is that the remaining 20%, mostly anime season posters or some specific covers, have important title/text exactly in that area. That is why I think the tag-based override idea could be really useful. It would not need to replace the global profile. The global profile would still handle most posters, and only specific problematic items would need a manual exception. Something like: embyicons-position-top-left or embyicons-position-bottom-right would allow users to fix individual posters without changing the entire library layout. I understand that this would require a new rules/customization section, and I know that means extra work. But honestly, if you ever decide to add something like this, I think it would make EmbyIcons one of the most complete and flexible icon customization plugins for Emby. The plugin is already very useful, but this kind of per-item override would make it much easier to get a clean result across movies, series, seasons, collections, and anime posters without having to compromise the global layout. Just sharing the idea. Thanks again for considering it.
yocker 1634 Posted 1 hour ago Author Posted 1 hour ago 19 minutes ago, AngelSing said: Yes, I understand what you mean. Moving the icons up or down globally can avoid the text in some posters, but in my case the current global position is already the best position for most of my library. For example, bottom-left works very well for around 80% of my posters, especially movies and main series posters. The problem is that the remaining 20%, mostly anime season posters or some specific covers, have important title/text exactly in that area. That is why I think the tag-based override idea could be really useful. It would not need to replace the global profile. The global profile would still handle most posters, and only specific problematic items would need a manual exception. Something like: embyicons-position-top-left or embyicons-position-bottom-right would allow users to fix individual posters without changing the entire library layout. I understand that this would require a new rules/customization section, and I know that means extra work. But honestly, if you ever decide to add something like this, I think it would make EmbyIcons one of the most complete and flexible icon customization plugins for Emby. The plugin is already very useful, but this kind of per-item override would make it much easier to get a clean result across movies, series, seasons, collections, and anime posters without having to compromise the global layout. Just sharing the idea. Thanks again for considering it. Best i can do for now is promise i will look into it after the summer. As said i have looked into the problem before but never found a good solution for it, so no promises! 1
AngelSing 58 Posted 34 minutes ago Posted 34 minutes ago 29 minutes ago, yocker said: Best i can do for now is promise i will look into it after the summer. As said i have looked into the problem before but never found a good solution for it, so no promises! I understand, but thank you very much for considering it anyway.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now