2016-07-31, 02:18
(2016-07-30, 15:27)Mike_Doc Wrote: Thanks MikeS. Guess i'll need to take the variables.xml and go through it and merge cleanup etc. Etc. And then just check out vars skin wide, could never fully get my head round exactly how to use params and yeah i know it should be easy just mental block for some reason.Mr. Mike, I def know about stuff taking awhile to sink in... It took me way too long to figure out how the commas worked for prefix/postfix in INFOlabels. I just couldn't get it for some reason until it just clicked and I saw it.
All my fault adding in all this stuff and not being any good at skinning. But maybe i can resolve a few things now.
Will look at featured, someone recently asked for it and i put it back in but if its causing problems then will have to see if it can be changed or dropped again?
And will check out next aired custom as well.
Mike.
Probably not the best teacher but I will give it a shot. The easiest way to explain PARAMs is to show you one I have added to MadNox:
Code:
<include name="VideoCastItem">
<param name="CastListItemID"/>
<definition>
<item>
<label>$INFO[Container(50).ListItem($PARAM[CastListItemID]).Label]</label>
<label2>$INFO[Container(50).ListItem($PARAM[CastListItemID]).Label2]</label2>
<thumb>$INFO[Container(50).ListItem($PARAM[CastListItemID]).Thumb]</thumb>
<visible>!String.IsEmpty(Container(50).ListItemNoWrap($PARAM[CastListItemID]).Label)</visible>
<onclick condition="Skin.HasSetting(UseMetadataAddon)">SetProperty(Position,$PARAM[CastListItemID])</onclick>
<onclick condition="Skin.HasSetting(UseMetadataAddon)">SetFocus(599)</onclick>
<onclick condition="!Skin.HasSetting(UseMetadataAddon)">RunScript(script.extendedinfo,info=extendedactorinfo,name=$INFO[Container(50).Listitem($PARAM[CastListItemID]).Label])</onclick>
</item>
</definition>
</include>
Code:
<include content="VideoCastItem">
<param name="CastListItemID">10</param>
</include>
I have done a lot of cleanup already the last few days/weeks so I would start with the latest from the krypton branch and as always my friend if you have any questions or need anything, please don't hesitate to ask