2015-02-14, 05:50
Those animations are sleek!
![Nod Nod](https://forum.kodi.tv/images/smilies/yes4lo.gif)
(2015-02-15, 15:41)Eddage Wrote: In the movie info how did you achieve the "Starring" field? Are you calling the names from cast list? I've tried $INFO[Container(50).ListItem.1.Label] but this doesn't work ($INFO[Container(50).ListItem.Label] obviously just shows the currently selected actor). Is the info being called via a script?
<onload condition="!IsEmpty(Container(50).ListItem(0).Label)">SetProperty(Actor1,$INFO[Container(50).ListItem(0).Label])</onload>
<onload condition="!IsEmpty(Container(50).ListItem(1).Label)">SetProperty(Actor2,$INFO[Container(50).ListItem(1).Label])</onload>
<onload condition="!IsEmpty(Container(50).ListItem(2).Label)">SetProperty(Actor3,$INFO[Container(50).ListItem(2).Label])</onload>
<label>$VAR[CastList]</label>
<variable name="CastList">
<value condition="!IsEmpty(Window(movieinformation).Property(Actor3))">$INFO[Window(movieinformation).Property(Actor1)], $INFO[Window(movieinformation).Property(Actor2)], $INFO[Window(movieinformation).Property(Actor3)]</value>
<value condition="!IsEmpty(Window(movieinformation).Property(Actor2))">$INFO[Window(movieinformation).Property(Actor1)], $INFO[Window(movieinformation).Property(Actor2)]</value>
<value condition="!IsEmpty(Window(movieinformation).Property(Actor1))">$INFO[Window(movieinformation).Property(Actor1)]</value>
</variable>
(2015-02-15, 15:41)Eddage Wrote: How do you display the duration in hours and minutes instead of just minutes? Is it a case of creating a load of variables or is there a simpler way?Hundreds of variables!
(2015-02-15, 16:13)Hitcher Wrote:(2015-02-15, 15:41)Eddage Wrote: In the movie info how did you achieve the "Starring" field? Are you calling the names from cast list? I've tried $INFO[Container(50).ListItem.1.Label] but this doesn't work ($INFO[Container(50).ListItem.Label] obviously just shows the currently selected actor). Is the info being called via a script?(2015-02-06, 17:27)Hitcher Wrote:(2015-02-06, 10:57)Jayz2K Wrote: Interrested too in the actor separated roles. Are you using a script or a tricky substring ?DialogVideoInfo.xml - cast changes
(2015-02-15, 16:13)Hitcher Wrote:(2015-02-15, 15:41)Eddage Wrote: How do you display the duration in hours and minutes instead of just minutes? Is it a case of creating a load of variables or is there a simpler way?Hundreds of variables!
(2015-02-12, 23:23)Hitcher Wrote: Re-reading I think you're right and I guess it's possible if I can get the content paths.
(2015-02-16, 15:38)Hitcher Wrote: I did test it the other actually and although it works the artwork didn't work for tv shows as I'm using fanart+logo to emulate Amazon's images.
(2015-02-15, 16:13)Hitcher Wrote:(2015-02-15, 15:41)Eddage Wrote: In the movie info how did you achieve the "Starring" field? Are you calling the names from cast list? I've tried $INFO[Container(50).ListItem.1.Label] but this doesn't work ($INFO[Container(50).ListItem.Label] obviously just shows the currently selected actor). Is the info being called via a script?PHP Code:<onload condition="!IsEmpty(Container(50).ListItem(0).Label)">SetProperty(Actor1,$INFO[Container(50).ListItem(0).Label])</onload>
<onload condition="!IsEmpty(Container(50).ListItem(1).Label)">SetProperty(Actor2,$INFO[Container(50).ListItem(1).Label])</onload>
<onload condition="!IsEmpty(Container(50).ListItem(2).Label)">SetProperty(Actor3,$INFO[Container(50).ListItem(2).Label])</onload>PHP Code:<label>$VAR[CastList]</label>
PHP Code:<variable name="CastList">
<value condition="!IsEmpty(Window(movieinformation).Property(Actor3))">$INFO[Window(movieinformation).Property(Actor1)], $INFO[Window(movieinformation).Property(Actor2)], $INFO[Window(movieinformation).Property(Actor3)]</value>
<value condition="!IsEmpty(Window(movieinformation).Property(Actor2))">$INFO[Window(movieinformation).Property(Actor1)], $INFO[Window(movieinformation).Property(Actor2)]</value>
<value condition="!IsEmpty(Window(movieinformation).Property(Actor1))">$INFO[Window(movieinformation).Property(Actor1)]</value>
</variable>
(2015-02-15, 15:41)Eddage Wrote: How do you display the duration in hours and minutes instead of just minutes? Is it a case of creating a load of variables or is there a simpler way?Hundreds of variables!
Oath Wrote:Do we need some improvements in core for better time formatting options?(2015-02-18, 19:05)Oath Wrote:Do you think you can spoonfeed me those variables(2015-02-15, 15:41)Eddage Wrote: How do you display the duration in hours and minutes instead of just minutes? Is it a case of creating a load of variables or is there a simpler way?Hundreds of variables!I'd like to add that to aeon nox. Thanks!
(2015-02-18, 19:31)da-anda Wrote:Oath Wrote:Do we need some improvements in core for better time formatting options?(2015-02-18, 19:05)Oath Wrote: Hundreds of variables!Do you think you can spoonfeed me those variablesI'd like to add that to aeon nox. Thanks!
(2015-02-19, 00:59)Hitcher Wrote:holy f....(2015-02-18, 19:31)da-anda Wrote: Do we need some improvements in core for better time formatting options?
Yes please.
Request: More time and date formats.
Have a look at all the variables I'm using to get a few simple labels.
Variables.xml
(2015-02-19, 00:59)Hitcher Wrote: Have a look at all the variables I'm using to get a few simple labels.
Variables.xml