Skip to content

Commit

Permalink
[PVR][estuary] Cleanup and extend pvr info dialog and recordings wind…
Browse files Browse the repository at this point in the history
…ow (consistency of data order, add expiration date/time)
  • Loading branch information
ksooo committed Jul 5, 2017
1 parent 1e583f9 commit 29eb90a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
9 changes: 8 additions & 1 deletion addons/resource.language.en_gb/resources/strings.po
Expand Up @@ -10688,7 +10688,14 @@ msgctxt "#19298"
msgid "Horizontal"
msgstr ""

#empty strings from id 19299 to 19498
#. generic "expiration" label used in different places
#: addons/skin.estuary/xml/DialogPVRInfo.xml
#: addons/skin.estuary/xml/MyPVRRecordings.xml
msgctxt "#19299"
msgid "Expires"
msgstr ""

#empty strings from id 19300 to 19498

#. label for epg genre value
#: xbmc/epg/Epg.cpp
Expand Down
6 changes: 3 additions & 3 deletions addons/skin.estuary/xml/DialogPVRInfo.xml
Expand Up @@ -49,7 +49,7 @@
<width>1050</width>
<height>425</height>
<align>justify</align>
<label>$INFO[ListItem.StartTime] - $INFO[ListItem.EndTime] ($INFO[ListItem.Duration])[CR]$INFO[ListItem.StartDate][CR]$INFO[ListItem.Season, [COLOR grey]S[/COLOR]]$INFO[ListItem.Episode, [COLOR grey]E[/COLOR],: ]$INFO[ListItem.EpisodeName,[B],[/B][CR]]$INFO[ListItem.Genre,[COLOR grey]$LOCALIZE[515]:[/COLOR] ,[CR]]$INFO[ListItem.Writer,[COLOR grey]$LOCALIZE[20417]:[/COLOR] ,[CR]]$INFO[ListItem.Director,[COLOR grey]$LOCALIZE[20339]:[/COLOR] ,[CR]]$INFO[ListItem.Cast,[COLOR grey]$LOCALIZE[206]:[/COLOR] ,[CR]][CR]$INFO[ListItem.Plot]</label>
<label>$INFO[ListItem.ChannelName,[B],[/B][CR]]$INFO[ListItem.Date,[COLOR grey]$LOCALIZE[552]:[/COLOR] ,[CR]]$INFO[ListItem.Duration,[COLOR grey]$LOCALIZE[180]:[/COLOR] ,[CR]]$VAR[ExpirationDateTimeLabel]$INFO[ListItem.Genre,[COLOR grey]$LOCALIZE[515]:[/COLOR] ,[CR]]$INFO[ListItem.Writer,[COLOR grey]$LOCALIZE[20417]:[/COLOR] ,[CR]]$INFO[ListItem.Director,[COLOR grey]$LOCALIZE[20339]:[/COLOR] ,[CR]]$INFO[ListItem.Cast,[COLOR grey]$LOCALIZE[206]:[/COLOR] ,[CR]][CR]$INFO[ListItem.Plot]</label>
<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
</control>
<control type="grouplist" id="9000">
Expand Down Expand Up @@ -105,8 +105,8 @@
</control>
</control>
<include content="InfoDialogTopBarInfo">
<param name="main_label" value="$INFO[ListItem.Title]$INFO[ListItem.Season, ]$INFO[ListItem.Episode,[COLOR grey]x[/COLOR]]" />
<param name="sub_label" value="$INFO[ListItem.ChannelName]" />
<param name="main_label" value="$INFO[ListItem.Title]" />
<param name="sub_label" value="$INFO[ListItem.Season, [COLOR grey]S[/COLOR]]$INFO[ListItem.Episode, [COLOR grey]E[/COLOR],: ]$INFO[ListItem.EpisodeName,[B],[/B]]" />
<param name="posy" value="40" />
</include>
</control>
Expand Down
2 changes: 1 addition & 1 deletion addons/skin.estuary/xml/MyPVRRecordings.xml
Expand Up @@ -118,7 +118,7 @@
<width>560</width>
<height>262</height>
<wrapmultiline>true</wrapmultiline>
<label>$INFO[ListItem.Duration,$LOCALIZE[180]: ][CR]$INFO[ListItem.Date,$LOCALIZE[552]: ]</label>
<label>$INFO[ListItem.Date,[COLOR grey]$LOCALIZE[552]:[/COLOR] ,[CR]]$INFO[ListItem.Duration,[COLOR grey]$LOCALIZE[180]:[/COLOR] ,[CR]]$VAR[ExpirationDateTimeLabel]</label>
</control>
<control type="label">
<left>170</left>
Expand Down
3 changes: 3 additions & 0 deletions addons/skin.estuary/xml/Variables.xml
Expand Up @@ -398,6 +398,9 @@
<value condition="ListItem.HasTimerSchedule">icons/pvr/PVR-HasTimerSchedule.png</value>
<value condition="ListItem.HasTimer">icons/pvr/PVR-HasTimer.png</value>
</variable>
<variable name="ExpirationDateTimeLabel">
<value condition="!String.IsEmpty(ListItem.ExpirationDate)">[COLOR grey]$LOCALIZE[19299]:[/COLOR] $INFO[ListItem.ExpirationDate] $INFO[ListItem.ExpirationTime][CR]</value>
</variable>
<variable name="VideoHWDecoder">
<value condition="Player.Process(videohwdecoder)">HW</value>
<value>SW</value>
Expand Down

0 comments on commit 29eb90a

Please sign in to comment.