2018-01-15, 04:56
It's been awhile so I think some things may have changed.
There seems to be three ways of accessing poster art:
My issue is that each one works differently in different places,
#1 displays perfectly in DialogVideoInfo.xml everytime, and in lists about 40% of the time. (most of the time I think we don't notice it because ListItem.Icon will display the thumbnail cache as a fallback in most skins, but it isn't always the poster image we expect, especially if you have a media file with a local %movie%-thumb.jpg image, that will always become the ListItem.Icon image)
#2 is the only thing that works in script-globalsearch-main.xml, and doesn't seem to work anywhere else. (this usage isn't documented anywhere making it very frustrating when trying to skin script-globalsearch-main.xml)
#3 also displays 40% of the time in a list, but never in DialogVideoInfo.xml
Oddly #1 and #3 work perfectly in lists after you manually set the poster to local on every file that is not displaying correctly, even though DialogVideoInfo.xml is already displaying the correct image as a poster to you before you tell it manually.
Can someone explain how the local scrapper appears to have scrapped the poster image about half the time but is showing 100% of the time in DialogVideoInfo?
Or is there a usage that will work to display the poster 100% of the time in lists like it does in DialogVideoInfo without the need to have the user manually set it first/again?
There seems to be three ways of accessing poster art:
Code:
#1 ListItem.Property.Art(poster)
#2 ListItem.Property(art(poster))
#3 Container.ListItem.Art(poster)
My issue is that each one works differently in different places,
#1 displays perfectly in DialogVideoInfo.xml everytime, and in lists about 40% of the time. (most of the time I think we don't notice it because ListItem.Icon will display the thumbnail cache as a fallback in most skins, but it isn't always the poster image we expect, especially if you have a media file with a local %movie%-thumb.jpg image, that will always become the ListItem.Icon image)
#2 is the only thing that works in script-globalsearch-main.xml, and doesn't seem to work anywhere else. (this usage isn't documented anywhere making it very frustrating when trying to skin script-globalsearch-main.xml)
#3 also displays 40% of the time in a list, but never in DialogVideoInfo.xml
Oddly #1 and #3 work perfectly in lists after you manually set the poster to local on every file that is not displaying correctly, even though DialogVideoInfo.xml is already displaying the correct image as a poster to you before you tell it manually.
Can someone explain how the local scrapper appears to have scrapped the poster image about half the time but is showing 100% of the time in DialogVideoInfo?
Or is there a usage that will work to display the poster 100% of the time in lists like it does in DialogVideoInfo without the need to have the user manually set it first/again?