From c7b984e0d584a8bbe5dc27dc97ecad3c514cf4e6 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 3 Jan 2026 21:59:12 -0500
Subject: linhes-theme: schedule-ui.xml: add Previously Recorded screen

---
 linhes/linhes-theme/PKGBUILD              |   4 +-
 linhes/linhes-theme/schedule-ui.xml.patch | 273 +++++++++++++++++++++++++++++-
 2 files changed, 267 insertions(+), 10 deletions(-)

diff --git a/linhes/linhes-theme/PKGBUILD b/linhes/linhes-theme/PKGBUILD
index d8ec1dd..7d8b6b3 100755
--- a/linhes/linhes-theme/PKGBUILD
+++ b/linhes/linhes-theme/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-theme
 pkgver=9.0.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Default LinHES MythTV theme"
 arch=('x86_64')
 license=('GPL2')
@@ -40,7 +40,7 @@ sha256sums=('30aa74482dfa47bb394e7926f36271ed14b43872c582b283c63fb10c399309ee'
             'a2e3bb5e3114299f4f539e62593d1d1c455ceae1d779a65f33569952ad28db3f'
             'e99f9c643b787b7d0f5d95ec48b9c2fe8ba746a68f557583af31bdafcd9b7577'
             'f2f92ad1eb74a18a85c5d37a6b3f4c13865a03d2ceb633b367f33b56c9018832'
-            '6dac358eeaa1448b40ae7807aa3cbebb81bf2b13f3a9e848b0f2a9000ba69937'
+            '4c6d86889ef82d63a276bc512c26018bb9e9345d7fab559b3bdd510eab90ff08'
             'e6c6a115c6d45290aa9cfea1a09ba4abd3d15483412150746997cb786dd96ce1'
             'de53064496b5e1bd7b9b0a0a5b346c0e0263efbfb21f768d6f1ec736a6b45f41'
             'bc9a197b2144e88dc2a6477ac28a11da39c7cc6df987b318e39247ffa9456fb8'
diff --git a/linhes/linhes-theme/schedule-ui.xml.patch b/linhes/linhes-theme/schedule-ui.xml.patch
index 33d6119..7dde19e 100644
--- a/linhes/linhes-theme/schedule-ui.xml.patch
+++ b/linhes/linhes-theme/schedule-ui.xml.patch
@@ -1,5 +1,5 @@
---- schedule-ui.xml.orig	2018-06-06 17:48:28.091163462 +0000
-+++ schedule-ui.xml	2019-03-11 20:58:29.671094834 +0000
+--- schedule-ui.xml.orig	2026-01-03 20:47:45.902056503 -0500
++++ schedule-ui.xml	2026-01-03 21:50:37.511895857 -0500
 @@ -119,14 +119,14 @@
              <channels>6</channels>
              <timeslots>5</timeslots>
@@ -134,16 +134,273 @@
              </statetype>
          </buttonlist>
  
-@@ -1854,7 +1854,7 @@
+@@ -1854,7 +1854,264 @@
  
      </window>
  
 -    <window name="progdetails">
++    <window name="prevreclist">
++        <area>0,0,1280,720</area>
++
++        <textarea name="heading" from="base_heading">
++            <value>Previously Recorded</value>
++        </textarea>
++
++        <shape name="keyinstr-backdrop" from="base_backdrop">
++            <area>0,36,1280,40</area>
++            <type>box</type>
++        </shape>
++
++        <shape name="keyinstr-top-line" from="base_line">
++            <area>0,37,1280,2</area>
++        </shape>
++
++        <shape name="keyinstr-bottom-line" from="base_line">
++            <area>0,73,1280,2</area>
++        </shape>
++
++        <shape name="previously-groups-backdrop" from="base_backdrop">
++            <area>20,86,222,420</area>
++        </shape>
++
++        <shape name="previously-groups-backdrop-line" from="base_backdrop_line">
++            <area>21,87,220,418</area>
++        </shape>
++
++        <shape name="previously-groups-top-line" from="base_highlight_line">
++            <area>22,88,218,2</area>
++        </shape>
++
++        <shape name="previously-groups-bottom-line" from="base_highlight_line">
++            <area>22,502,218,2</area>
++        </shape>
++
++        <shape name="previously-groups-left-line" from="base_highlight_vertical_line">
++            <area>22,90,2,412</area>
++        </shape>
++
++        <shape name="previously-groups-right-line" from="base_highlight_vertical_line">
++            <area>238,90,2,412</area>
++        </shape>
++
++        <shape name="previously-schedules-backdrop" from="base_backdrop">
++            <area>252,86,1008,420</area>
++        </shape>
++
++        <shape name="previously-schedules-backdrop-line" from="base_backdrop_line">
++            <area>253,87,1006,418</area>
++        </shape>
++
++        <shape name="previously-schedules-top-line" from="base_highlight_line">
++            <area>254,88,1004,2</area>
++        </shape>
++
++        <shape name="previously-schedules-bottom-line" from="base_highlight_line">
++            <area>254,502,1004,2</area>
++        </shape>
++
++        <shape name="previously-schedules-left-line" from="base_highlight_vertical_line">
++            <area>254,90,2,412</area>
++        </shape>
++
++        <shape name="previously-schedules-right-line" from="base_highlight_vertical_line">
++            <area>1256,90,2,412</area>
++        </shape>
++
++        <shape name="previously-groups-arrows-backdrop" from="base_arrows_backdrop">
++            <area>189,506,50,11</area>
++        </shape>
++
++        <shape name="previously-schedules-arrows-backdrop" from="base_arrows_backdrop">
++            <area>1207,506,50,11</area>
++        </shape>
++
++        <shape name="previously-description-backdrop" from="base_backdrop">
++            <area>20,516,1240,169</area>
++        </shape>
++
++        <shape name="previously-description-backdrop-line" from="base_backdrop_line">
++            <area>21,517,1238,167</area>
++        </shape>
++
++        <shape name="previously-description-top-line" from="base_highlight_line">
++            <area>22,518,1236,2</area>
++        </shape>
++
++        <shape name="previously-description-bottom-line" from="base_highlight_line">
++            <area>22,681,1236,2</area>
++        </shape>
++
++        <shape name="previously-description-left-line" from="base_highlight_vertical_line">
++            <area>22,520,2,161</area>
++        </shape>
++
++        <shape name="previously-description-right-line" from="base_highlight_vertical_line">
++            <area>1256,520,2,161</area>
++        </shape>
++
++        <shape name="previously-description-seperator-first-line" from="base_line">
++            <area>43,554,1194,2</area>
++        </shape>
++
++        <textarea name="curview" from="basetextarea">
++            <area>44,39,397,34</area>
++            <font>basesmallblue</font>
++            <align>allcenter</align>
++            <template>Filter:  %1</template>
++        </textarea>
++
++        <textarea name="help2text">
++            <area>258,90,996,412</area>
++            <font>basemedium</font>
++            <multiline>yes</multiline>
++            <align>allcenter</align>
++        </textarea>
++
++        <textarea name="keyinstr">
++            <area>0,39,1280,34</area>
++            <font>basesmallblue</font>
++            <align>allcenter</align>
++            <value>(1) Time (2) Title</value>
++        </textarea>
++
++        <buttonlist name="titles" from="base_list">
++            <area>28,94,206,404</area>
++            <statetype name="buttonitem">
++                <state name="active">
++                    <area>0,0,206,30</area>
++                    <textarea name="buttontext">
++                        <area>8,0,190,30</area>
++                        <align>allcenter</align>
++                        <cutdown>yes</cutdown>
++                        <font>basesmaller</font>
++                    </textarea>
++                </state>
++                <state name="selectedactive">
++                    <area>0,0,206,64</area>
++                    <textarea name="buttontext">
++                        <area>8,0,190,64</area>
++                        <align>allcenter</align>
++                        <multiline>yes</multiline>
++                        <cutdown>yes</cutdown>
++                    </textarea>
++                </state>
++                <state name="selectedinactive">
++                    <area>0,0,206,64</area>
++                    <textarea name="buttontext">
++                        <area>8,0,190,64</area>
++                        <align>allcenter</align>
++                        <multiline>yes</multiline>
++                        <cutdown>yes</cutdown>
++                    </textarea>
++                </state>
++            </statetype>
++            <statetype name="upscrollarrow">
++                <position>168,413</position>
++            </statetype>
++            <statetype name="downscrollarrow">
++                <position>188,413</position>
++            </statetype>
++        </buttonlist>
++
++        <buttonlist name="shows" from="base_list_state">
++            <area>260,94,992,404</area>
++            <statetype name="buttonitem">
++                <state name="active">
++                    <area>0,0,992,30</area>
++                    <textarea name="shortstartdate" from="base_text_font_state_small">
++                        <area>8,0,190,30</area>
++                        <align>left,vcenter</align>
++                        <template>%SHORTSTARTDATE%   %STARTTIME%</template>
++                    </textarea>
++                    <textarea name="channel" from="base_text_font_state_small">
++                        <area>196,0,200,30</area>
++                        <cutdown>no</cutdown>
++                        <align>left,vcenter</align>
++                    </textarea>
++                    <textarea name="title" from="base_text_font_state_small">
++                        <area>406,0,528,30</area>
++                        <align>left,vcenter</align>
++                    </textarea>
++                    <textarea name="card" from="base_text_font_state_small">
++                        <area>954,0,30,30</area>
++                        <cutdown>no</cutdown>
++                        <align>right,vcenter</align>
++                    </textarea>
++                </state>
++                <state name="selectedactive">
++                    <area>0,0,992,64</area>
++                    <textarea name="shortstartdate" from="base_text_font_state_small">
++                        <area>8,1,190,24</area>
++                        <align>left,vcenter</align>
++                        <template>%SHORTSTARTDATE%   %STARTTIME%</template>
++                    </textarea>
++                    <textarea name="channel" from="base_text_font_state_small">
++                        <area>196,1,200,24</area>
++                        <align>left,vcenter</align>
++                        <cutdown>no</cutdown>
++                    </textarea>
++                    <textarea name="title" from="base_text_font_state_small">
++                        <area>406,1,528,24</area>
++                        <align>left,vcenter</align>
++                    </textarea>
++                    <textarea name="card" from="base_text_font_state_small">
++                        <area>954,1,30,24</area>
++                        <cutdown>no</cutdown>
++                        <align>right,vcenter</align>
++                    </textarea>
++                    <textarea name="lenmins" from="base_text_font_state_extrasmall">
++                        <area>8,23,418,22</area>
++                    </textarea>
++                    <textarea name="subtitle" from="base_text_font_state_extrasmall">
++                        <area>436,23,548,22</area>
++                        <template>%YEARSTARS| %%SUBTITLE%</template>
++                    </textarea>
++                    <textarea name="rectypestatus" from="base_text_font_state_extrasmall">
++                        <area>8,42,350,20</area>
++                        <align>left,vcenter</align>
++                    </textarea>
++                    <textarea name="longrepeat" from="base_text_font_state_extrasmall">
++                        <area>408,42,270,20</area>
++                        <align>left,vcenter</align>
++                    </textarea>
++                    <textarea name="timedate" from="base_text_font_state_extrasmall">
++                        <area>690,42,294,20</area>
++                        <align>right,vcenter</align>
++                    </textarea>
++                </state>
++                <state name="selectedinactive" from="active" />
++            </statetype>
++            <statetype name="upscrollarrow">
++                <position>954,413</position>
++            </statetype>
++            <statetype name="downscrollarrow">
++                <position>974,413</position>
++            </statetype>
++        </buttonlist>
++
++        <textarea name="title" from="basetextarea">
++            <area>44,522,1192,32</area>
++            <font>basemediumyellow</font>
++            <align>left,vcenter</align>
++            <template>%TITLE% %|(CATEGORY|)%</template>
++        </textarea>
++
++        <textarea name="description" from="basetextarea">
++            <area>44,561,1192,118</area>
++            <font>basesmall</font>
++            <multiline>yes</multiline>
++            <cutdown>yes</cutdown>
++            <template>%YEARSTARS| %%DESCRIPTION%</template>
++        </textarea>
++
++    </window>
++
 +    <window name="programdetails">
          <area>0,0,1280,720</area>
  
          <textarea name="heading" from="base_heading">
-@@ -1885,12 +1885,90 @@
+@@ -1885,12 +2142,90 @@
              <area>1256,40,2,641</area>
          </shape>
  
@@ -163,7 +420,7 @@
 -            <background color="#000000" alpha="1"/>
 -        </webbrowser>
 +            <buttonarea>0,0,100%,100%</buttonarea>
-+
+ 
 +            <statetype name="buttonitem">
 +                <area>0,0,100%,124</area>
 +                <minsize shrink="short">100%,5</minsize>
@@ -203,7 +460,7 @@
 +                <state name="selectedactive" from="active" />
 +                <state name="selectedinactive" from="active" />
 +            </statetype>
- 
++
 +            <statetype name="upscrollarrow">
 +                <position>1192,645</position>
 +                <state type="off">
@@ -238,7 +495,7 @@
      </window>
  
      <window name="searchpopup">
-@@ -3098,10 +3176,10 @@
+@@ -3109,10 +3444,10 @@
                  </state>
              </statetype>
              <statetype name="upscrollarrow">
@@ -251,7 +508,7 @@
              </statetype>
          </buttonlist>
  
-@@ -3583,7 +3661,7 @@
+@@ -3594,7 +3929,7 @@
              <area>112,65,180,40</area>
              <font>basesmall</font>
              <align>right,vcenter</align>
-- 
cgit v0.12

