Skip to content

Commit

Permalink
use builtin minutes duration
Browse files Browse the repository at this point in the history
  • Loading branch information
BigNoid committed Mar 22, 2018
1 parent ffbb3b2 commit 45ae9fb
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 384 deletions.
2 changes: 1 addition & 1 deletion 1080i/DialogMusicInfo.xml
Expand Up @@ -157,7 +157,7 @@
<visible>!String.IsEmpty(ListItem.TrackNumber) + String.IsEqual(ListItem.DBType,song)</visible>
</item>
<item>
<label>$VAR[DurationMinutesVar]</label>
<label>$INFO[ListItem.Duration(mins)]</label>
<label2>$LOCALIZE[180]:</label2>
<onclick>SetProperty(TextViewerHeader,$LOCALIZE[180],Home)</onclick>
<onclick>SetProperty(TextViewerContent,$ESCINFO[ListItem.Duration],Home)</onclick>
Expand Down
2 changes: 1 addition & 1 deletion 1080i/DialogPVRInfo.xml
Expand Up @@ -121,7 +121,7 @@
<visible>!String.IsEmpty(ListItem.StartTime)</visible>
</item>
<item>
<label>$VAR[DurationMinutesVar]</label>
<label>$INFO[ListItem.Duration(mins)]</label>
<label2>$LOCALIZE[180]:</label2>
<onclick>noop</onclick>
<visible>!String.IsEmpty(ListItem.Duration)</visible>
Expand Down
4 changes: 2 additions & 2 deletions 1080i/DialogVideoInfo.xml
Expand Up @@ -174,7 +174,7 @@
<width>160</width>
<height>60</height>
<align>center</align>
<label>$VAR[DurationVar]</label>
<label>$INFO[ListItem.Duration(mins)]</label>
<font>font48_bold</font>
<textcolor>grey</textcolor>
</control>
Expand Down Expand Up @@ -931,7 +931,7 @@
<visible>!String.IsEmpty(ListItem.Genre)</visible>
</item>
<item>
<label>$VAR[DurationMinutesVar,, $LOCALIZE[12391]]</label>
<label>$INFO[ListItem.Duration(mins),, $LOCALIZE[12391]]</label>
<label2>$LOCALIZE[2050]:</label2>
<onclick>SetProperty(TextViewerHeader,$LOCALIZE[515],Home)</onclick>
<onclick>SetProperty(TextViewerContent,$ESCINFO[ListItem.Duration],Home)</onclick>
Expand Down
6 changes: 3 additions & 3 deletions 1080i/MyPVRRecordings.xml
Expand Up @@ -188,7 +188,7 @@
<height>262</height>
<font>font12</font>
<wrapmultiline>true</wrapmultiline>
<label>$INFO[ListItem.Date][CR][CR]$VAR[DurationMinutesVar]</label>
<label>$INFO[ListItem.Date][CR][CR]$INFO[ListItem.Duration(mins)]</label>
</control>
</control>
<!-- Plot -->
Expand Down Expand Up @@ -279,7 +279,7 @@
<left>10</left>
<height>50</height>
<width>580</width>
<label>[COLOR themecolor]$VAR[DurationMinutesVar][/COLOR] - $INFO[ListItem.Label]</label>
<label>[COLOR themecolor]$INFO[ListItem.Duration(mins)][/COLOR] - $INFO[ListItem.Label]</label>
<font>font12</font>
</control>
</focusedlayout>
Expand All @@ -288,7 +288,7 @@
<left>10</left>
<height>50</height>
<width>580</width>
<label>[COLOR themecolor]$VAR[DurationMinutesVar][/COLOR] - $INFO[ListItem.Label]</label>
<label>[COLOR themecolor]$INFO[ListItem.Duration(mins)][/COLOR] - $INFO[ListItem.Label]</label>
<font>font12</font>
</control>
</itemlayout>
Expand Down
4 changes: 2 additions & 2 deletions 1080i/View_501_LowList.xml
Expand Up @@ -73,7 +73,7 @@
<visible>!String.IsEmpty(ListItem.Genre) + !Container.Content(episodes)</visible>
</control>
<control type="button">
<label>[COLOR labelheader]$LOCALIZE[2050]:[/COLOR][CR]$VAR[DurationMinutesVar,, $LOCALIZE[12391]]</label>
<label>[COLOR labelheader]$LOCALIZE[2050]:[/COLOR][CR]$INFO[ListItem.Duration(mins),, $LOCALIZE[12391]]</label>
<width>650</width>
<include>ShowCaseInfoPanelButtonsValues</include>
<include>VisibleFadeAnimation</include>
Expand Down Expand Up @@ -898,7 +898,7 @@
<visible>!String.IsEmpty(ListItem.Property(Album_Style)) + !Container.Content(artists)</visible>
</control>
<control type="button">
<label>[COLOR labelheader]$LOCALIZE[180]:[/COLOR][CR]$VAR[DurationMinutesVar]</label>
<label>[COLOR labelheader]$LOCALIZE[180]:[/COLOR][CR]$INFO[ListItem.Duration(mins)]</label>
<width>650</width>
<include>ShowCaseInfoPanelButtonsValues</include>
<visible>!String.IsEmpty(ListItem.Duration)</visible>
Expand Down
2 changes: 1 addition & 1 deletion 1080i/View_503_Wall.xml
Expand Up @@ -263,7 +263,7 @@
<height>20</height>
<font>font15</font>
<textcolor>labelheader</textcolor>
<label>$INFO[ListItem.Year]$VAR[DurationMinutesVar, - , $LOCALIZE[31162]]</label>
<label>$INFO[ListItem.Year]$INFO[ListItem.Duration(mins), - , $LOCALIZE[31162]]</label>
</control>
<control type="label">
<left>50</left>
Expand Down
8 changes: 4 additions & 4 deletions 1080i/View_510_BigList.xml
Expand Up @@ -111,7 +111,7 @@
<top>55</top>
<width>1330</width>
<height>35</height>
<label>$VAR[DurationMinutesVar,, $LOCALIZE[31162]]$INFO[ListItem.Genre,[COLOR=themecolor] - [/COLOR]]</label>
<label>$INFO[ListItem.Duration(mins),, $LOCALIZE[31162]]$INFO[ListItem.Genre,[COLOR=themecolor] - [/COLOR]]</label>
<align>right</align>
<font>font14</font>
<textcolor>grey2</textcolor>
Expand Down Expand Up @@ -202,7 +202,7 @@
<top>55</top>
<width>1330</width>
<height>35</height>
<label>$VAR[DurationMinutesVar,, $LOCALIZE[31162]]$INFO[ListItem.Genre,[COLOR=themecolor] - [/COLOR]]</label>
<label>$INFO[ListItem.Duration(mins),, $LOCALIZE[31162]]$INFO[ListItem.Genre,[COLOR=themecolor] - [/COLOR]]</label>
<align>right</align>
<font>font14</font>
</control>
Expand Down Expand Up @@ -423,7 +423,7 @@
<top>55</top>
<width>1330</width>
<height>35</height>
<label>$VAR[DurationMinutesVar,, $LOCALIZE[31162][COLOR=themecolor] - [/COLOR]]$INFO[ListItem.Premiered]</label>
<label>$INFO[ListItem.Duration(mins),, $LOCALIZE[31162][COLOR=themecolor] - [/COLOR]]$INFO[ListItem.Premiered]</label>
<align>right</align>
<font>font14</font>
<textcolor>grey2</textcolor>
Expand Down Expand Up @@ -514,7 +514,7 @@
<top>55</top>
<width>1330</width>
<height>35</height>
<label>$VAR[DurationMinutesVar,, $LOCALIZE[31162][COLOR=themecolor] - [/COLOR]]$INFO[ListItem.Premiered]</label>
<label>$INFO[ListItem.Duration(mins),, $LOCALIZE[31162][COLOR=themecolor] - [/COLOR]]$INFO[ListItem.Premiered]</label>
<align>right</align>
<font>font14</font>
<textcolor>grey</textcolor>
Expand Down
2 changes: 1 addition & 1 deletion 1080i/View_55_TriPanel.xml
Expand Up @@ -84,7 +84,7 @@
<visible>!String.IsEmpty(Window(home).Property(Set.Movies.Genre)) + [Container.Content(movies) | Container.Content(sets)]</visible>
</control>
<control type="button">
<label>[COLOR labelheader]$LOCALIZE[2050]:[/COLOR][CR]$VAR[DurationMinutesVar,, $LOCALIZE[12391]]</label>
<label>[COLOR labelheader]$LOCALIZE[2050]:[/COLOR][CR]$INFO[ListItem.Duration(mins),, $LOCALIZE[12391]]</label>
<width>448</width>
<include>ShowCaseInfoPanelButtonsValues</include>
<visible>!String.IsEmpty(ListItem.Duration)</visible>
Expand Down

0 comments on commit 45ae9fb

Please sign in to comment.