2012-09-12, 16:47
Hello!
I'm now including by default logo.png (instead of the "default" videoplayer.cover) in DialogFullScreenInfo.xml. However, it's not completely satisfying. It seems that each logo.png is not necessarily the same size and some are bottom aligned, other are centered aligned. By looking at fanart.tv, I now understand that there is HD logo.png and "standard" logo.png that doesn't share the same concept (bottom vs centered) and that they are not the same size (HD:800x310; SD:400x155).
So, here's my question : Is it possible to test for pixel count (or any other attribute that would differentiate if it's the SD or HD logo that is inside logo.png).
Hopefully, my aim is to use logo.png if it's the HD version and clearart.png if it's the SD version.
Hope my question make sense..
Thanks!
I'm now including by default logo.png (instead of the "default" videoplayer.cover) in DialogFullScreenInfo.xml. However, it's not completely satisfying. It seems that each logo.png is not necessarily the same size and some are bottom aligned, other are centered aligned. By looking at fanart.tv, I now understand that there is HD logo.png and "standard" logo.png that doesn't share the same concept (bottom vs centered) and that they are not the same size (HD:800x310; SD:400x155).
So, here's my question : Is it possible to test for pixel count (or any other attribute that would differentiate if it's the SD or HD logo that is inside logo.png).
Hopefully, my aim is to use logo.png if it's the HD version and clearart.png if it's the SD version.
Hope my question make sense..
Thanks!