@
warlion,
A question on the query from other user on the multiple studios, Please note I'm a programmer but not in python and have a little exposure to XML so if I'm taking crap then just let me know, no offence will be taken.
Anyway, I was looking at DialogVideoInfo.xml and this section in particular:
<visible>!IsEmpty(ListItem.Studio)</visible>
<width>175</width>
<left>20</left>
<control type="image" id="800011">
<top>1</top>
<width>150</width>
<height>74</height>
<aspectratio aligny="center" align="center">keep</aspectratio>
<texture>$VAR[ColorFlagsStudio]$INFO[ListItem.Studio,,.png]</texture>
<colordiffuse>white2</colordiffuse>
<visible>!IsEmpty(Control.GetLabel(800011))</visible>
</control>
Now this may not be the correct xml of even the correct visible but here is my suggestion with regards to multiple studios and what the other users enquired on:
Could we not expanded the texture line to something like as follows:
<texture>$VAR[ColorFlagsStudio]$INFO[substring-before(ListItem.Studio," /"),,.png]</texture>
The substring-before would retrieve everything in Listitem.Studio up to " /", the instance of space /, and thus give us the first studio connected to the file as per the query from schimi2k?
I presume it may have to be handled differently if at all possible, perhaps the subsrting into a variable, check if the variable has a value and if not then default to listitem.studio?
Again, I could just be running down a blind path but I'd like to help and contribute if I can to your excellent work on this skin.
Mike.