Kodi Community Forum

Full Version: Differentiate between images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to use aspect scale on thumbs provided by plugins like youtube. But use aspect keep on when there is no thumb (my own fallback) or when there is an Icon (like for "more results"). Problem i think is that the thumb provided by the plugin is actually an icon. Or that thumb isn't empty because it falls back to Icon. Or am i missing something?

Is there any way to differentiate?
You can probably differentiate using Control.GetLabel() or thereabouts on the image? (i.e. another image control that is visible based on what's showing in the other one). A bit of a hack perhaps Smile