Aeon Madnox for Krypton / Jarvis - (no longer in development)
(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.

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.
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.

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>
I use this in my own skin as well to lessen the repeated code for the content group for the Cast in DialogVideoInfo. The call to display the labels, thumb, and onclicks is:
Code:
<include content="VideoCastItem">
    <param name="CastListItemID">10</param>
</include>
Basically the param is adding the number and position of the ListItem instead of typing all the <Item> over again so what took 9 lines now only takes up 3. This is the simplest way to use it. For more advanced usage you can check RightList here. I rewrote it from scratch using PARAMs for the Item and focused layout, another example is the grouplists of extendedinfo content here and then used here.
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 Smile


Messages In This Thread
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:08
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:08
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:09
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:09
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:10
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:10
MADNOX FAQ - by schimi2k - 2015-06-29, 17:11
MADNOX HELP - by schimi2k - 2015-06-29, 17:12
RE: Aeon Madnox - Beta Release - by schimi2k - 2015-06-29, 17:12
refresh item - by bill1972 - 2016-03-08, 03:31
Keyboard Autocompletion - by JinNJuice - 2016-03-19, 00:26
System Infoline - by reksp13 - 2016-04-09, 05:20
https://imageshack.com/my/images - by spook61 - 2016-04-14, 17:55
https://imageshack.com/my/images - by spook61 - 2016-04-14, 18:01
RE: Aeon Madnox for Jarvis - [RC2 Revision 0.9.1] 30/05 - by mikeSiLVO - 2016-07-31, 02:18
Leia - Madnox Problems - by Picard - 2017-06-22, 04:15
VideoLyrics - by Pr.Sinister - 2018-04-05, 23:40
Logout Mark Read Team Forum Stats Members Help
Aeon Madnox for Krypton / Jarvis - (no longer in development)39