Kodi Community Forum

Full Version: Estuary MOD - Recording status indicator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Small, simple but very effective and efficient modification.

The principle - icon of clock in the top bar indicates recording status.

The icon shows three possible states:

1. no current or future scheduled recording - no clock icon
Image

2. no current recording and one future scheduled recording at least - clock icon in skin theme basic color
Image

3. currently ongoing one recording at least - clock icon is red
Image

Skin file Includes.xml, code and number of the lines is applicable for Estuary MOD 1.7.9

Original file (Notepad++ editor sreenshot)
Image

Original part of the code, start at line 2372:
<control type="image">
<right>25</right>
<top>20</top>
<height>40</height>
<width>40</width>
<texture colordiffuse="$VAR[SkinColorVar]">frame/clock.png</texture>
<animation effect="fade" time="300">Visible</animation>
<animation effect="fade" time="150">Hidden</animation>
<aspectratio>keep</aspectratio>
<visible>!Window.IsActive(volumebar)</visible>
</control>

Modified file (Notepad++ editor sreenshot)
Image

Modified (new) part of the code, start at line 2372:
<control type="image">
<right>25</right>
<top>20</top>
<height>40</height>
<width>40</width>
<texture colordiffuse="red">frame/clock.png</texture>
<animation effect="fade" time="300">Visible</animation>
<animation effect="fade" time="150">Hidden + </animation>
<aspectratio>keep</aspectratio>
<visible>!Window.IsActive(volumebar) + PVR.IsRecordingTV</visible>
</control>
<control type="image">
<right>25</right>
<top>20</top>
<height>40</height>
<width>40</width>
<texture colordiffuse="$VAR[SkinColorVar]">frame/clock.png</texture>
<animation effect="fade" time="300">Visible</animation>
<animation effect="fade" time="150">Hidden + </animation>
<aspectratio>keep</aspectratio>
<visible>!Window.IsActive(volumebar) + !PVR.IsRecordingTV + PVR.HasNonRecordingTVTimer</visible>
</control>

Enjoy it.

JiRo