Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
tweaks to (scheduled) recordings notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen committed Jan 6, 2015
1 parent 7aaa662 commit 0425369
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions 720p/SkinSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,13 @@
<selected>Skin.HasSetting(home.nowplaying)</selected>
<include>settings_Radiobutton</include>
</control>
<!--scheduled recordings overlay-->
<control type="radiobutton" id="132">
<label>$LOCALIZE[31504]</label>
<onclick>Skin.ToggleSetting(overlay.pvr)</onclick>
<selected>Skin.HasSetting(overlay.pvr)</selected>
<include>settings_Radiobutton</include>
</control>
</control>

<!--ARTWORK-->
Expand Down Expand Up @@ -397,13 +404,6 @@
<selected>Skin.HasSetting(backgroundvideo.global)</selected>
<include>settings_Radiobutton</include>
</control>
<!--scheduled recordings overlay-->
<control type="radiobutton" id="720">
<label>$LOCALIZE[31504]</label>
<onclick>Skin.ToggleSetting(overlay.pvr)</onclick>
<selected>Skin.HasSetting(overlay.pvr)</selected>
<include>settings_Radiobutton</include>
</control>
</control>

<!--ADDONS-->
Expand Down
8 changes: 4 additions & 4 deletions 720p/Variables.xml
Original file line number Diff line number Diff line change
Expand Up @@ -509,15 +509,15 @@
</variable>

<variable name="toast:Bottom">
<value condition="[Window.IsActive(PVR) | Window.IsActive(Home)] + Skin.HasSetting(overlay.pvr) + PVR.HasNonRecordingTimer">$LOCALIZE[19157]$INFO[Pvr.NextRecordingTitle,: ]</value>
<value condition="[Window.IsActive(PVR) | Window.IsActive(Home)] + Skin.HasSetting(overlay.pvr) + PVR.IsRecording">$LOCALIZE[19043]$INFO[Pvr.NowRecordingTitle,: ]</value>
<value condition="[Window.IsActive(Home)] + Skin.HasSetting(overlay.pvr) + PVR.HasNonRecordingTimer">$LOCALIZE[19157]$INFO[Pvr.NextRecordingTitle,: ]</value>
<value condition="[Window.IsActive(Home)] + Skin.HasSetting(overlay.pvr) + PVR.IsRecording">$LOCALIZE[19043]$INFO[Pvr.NowRecordingTitle,: ]</value>
<value condition="!Window.IsActive(fullscreenvideo)">$INFO[System.Date(DDD)] $INFO[System.Date(d)] $INFO[System.Date(MMM)]</value>
<value condition="Window.IsActive(fullscreenvideo)">$LOCALIZE[31323] $INFO[Player.FinishTime]</value>
</variable>

<variable name="toast:Icon">
<value condition="IntegerGreaterThan(Player.Volume,0) + [Window.IsActive(PVR) | Window.IsActive(Home)] + Skin.HasSetting(overlay.pvr) + PVR.HasNonRecordingTimer">$INFO[Pvr.NextRecordingChannelIcon]</value>
<value condition="IntegerGreaterThan(Player.Volume,0) + [Window.IsActive(PVR) | Window.IsActive(Home)] + Skin.HasSetting(overlay.pvr) + PVR.IsRecording">$INFO[Pvr.NowRecordingChannelIcon]</value>
<value condition="IntegerGreaterThan(Player.Volume,0) + [Window.IsActive(tvchannels) | Window.IsActive(Home)] + Skin.HasSetting(overlay.pvr) + PVR.HasNonRecordingTimer">$INFO[Pvr.NextRecordingChannelIcon]</value>
<value condition="IntegerGreaterThan(Player.Volume,0) + [Window.IsActive(tvchannels) | Window.IsActive(Home)] + Skin.HasSetting(overlay.pvr) + PVR.IsRecording">$INFO[Pvr.NowRecordingChannelIcon]</value>
<value condition="IntegerGreaterThan(Player.Volume,0) + Weather.IsFetched">$INFO[Window(weather).Property(Current.FanartCode),weather/small/,.png]</value>
<value>weather/small/na.png</value>
</variable>
Expand Down

0 comments on commit 0425369

Please sign in to comment.