(2020-06-19, 22:16)ESCO1 Wrote: (2020-06-19, 20:22)mikebzh44 Wrote: I must say this skin ROCKS !!
After editing some XML files, this skin is perfect for my use.
Juste add clock and endtime on some viewes :
Now, with a single look I know if I'm too late to start watching a movie or an episode
Can you share how you added the time/clock? Thanks!!!
Sure.
For Episodes, I edit the file View_525_Bingie_Episodes.xml, line 258 :
Code:
<label>$INFO[ListItem.Duration(mins),(,m - ]$INFO[ListItem.Endtime,,)]</label>
For Movies and Main menu, I edit IncludesBingie.xml line 531 and after :
Code:
<variable name="GetDuration">
<!-- Hours not disabled -->
<!-- normal -->
<value condition="!Skin.HasSetting(DisableHoursDuration) + Integer.IsGreater(ListItem.Duration(h),0)">$INFO[ListItem.Duration(h),,h ]$INFO[ListItem.Duration(m),,m] - $INFO[ListItem.Endtime]</value>
<value condition="!Skin.HasSetting(DisableHoursDuration) + !String.IsEmpty(ListItem.Duration) + Integer.IsEqual(ListItem.Duration(h),0)">$INFO[ListItem.Duration(mins),,m] - $INFO[ListItem.Endtime]</value>
<!-- fallback -->
<value condition="$EXP[IsMainMenuOpened] + !Skin.HasSetting(DisableHoursDuration) + Integer.IsGreater(Window(Home).Property(ListItem.Duration.Hours),0)">$INFO[Window(Home).Property(ListItem.Duration.Hours),,h ]$INFO[Window(Home).Property(ListItem.Duration.M),,m] - $INFO[ListItem.Endtime]</value>
<value condition="$EXP[IsMainMenuOpened] + !Skin.HasSetting(DisableHoursDuration) + !String.IsEmpty(Window(Home).Property(ListItem.Duration.Hours)) + Integer.IsEqual(Window(Home).Property(ListItem.Duration.Hours),0)">$INFO[Window(Home).Property(ListItem.Duration.Mins),,m] - $INFO[ListItem.Endtime]</value>
<!-- Hours disabled -->
<value condition="Skin.HasSetting(DisableHoursDuration) + !String.IsEmpty(ListItem.Duration)">$INFO[ListItem.Duration(mins),,m] - $INFO[ListItem.Endtime]</value>
<value condition="$EXP[IsMainMenuOpened] + Skin.HasSetting(DisableHoursDuration) + !String.IsEmpty(Window(Home).Property(ListItem.Duration))">$INFO[Window(Home).Property(ListItem.Duration.Mins),,m] - $INFO[ListItem.Endtime]</value>
<!-- regular format fallback -->
<value condition="!String.IsEmpty(ListItem.Duration)">$INFO[ListItem.Duration] - $INFO[ListItem.Endtime]</value>
<value condition="$EXP[IsMainMenuOpened] + !String.IsEmpty(Window(Home).Property(ListItem.Duration))">$INFO[Window(Home).Property(ListItem.Duration)] - $INFO[ListItem.Endtime]</value>
</variable>