Yesterday, 14:24
I was having some issues with my script not doing some things it's supposed to when MyVideos.xml is first opened.
Eventually I traced it back to the fact that there seems to be a delay in populating infolabels based on the library artwork. I don't think this would be impacted by image loading etc, as I just mean getting the path as a string, not actually displaying the artwork. It is taking a second or two to populate the label on first load directly in my skin.xml forgetting the addon, while other infolabels are instant.
E.g. this label:
<control type="label">
<label>label: $INFO[ListItem.Label][CR]thumb: $INFO[ListItem.Art(thumb)]</label>
</control>
'label' pops up as soon as the window loads, but 'thumb' takes 1-2 seconds to populate.
Is this normal expected behaviour or is this some sort of DB issue on my end? I would have thought both are simply being looked up in the library so the time to return the results should be comparable?
Edit: Just to add, this issue is only on first load, as soon as I scroll, both are instantaneous
Eventually I traced it back to the fact that there seems to be a delay in populating infolabels based on the library artwork. I don't think this would be impacted by image loading etc, as I just mean getting the path as a string, not actually displaying the artwork. It is taking a second or two to populate the label on first load directly in my skin.xml forgetting the addon, while other infolabels are instant.
E.g. this label:
<control type="label">
<label>label: $INFO[ListItem.Label][CR]thumb: $INFO[ListItem.Art(thumb)]</label>
</control>
'label' pops up as soon as the window loads, but 'thumb' takes 1-2 seconds to populate.
Is this normal expected behaviour or is this some sort of DB issue on my end? I would have thought both are simply being looked up in the library so the time to return the results should be comparable?
Edit: Just to add, this issue is only on first load, as soon as I scroll, both are instantaneous