From 265672fadca4ee74ce4b74f872822ee974e1c88f Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 12 Jan 2017 17:48:59 +0000
Subject: linhes-theme: consistance updates

make scroll arrows at lower right of popups.

expand MythPopup to have 8 buttons and less title space

adjust selectedactives to have blue outline and yellow text
---
 abs/core/linhes-theme/PKGBUILD               |  17 +--
 abs/core/linhes-theme/base.xml.patch         | 202 ++++++++++++++++++++++++---
 abs/core/linhes-theme/image-ui.xml           |  14 +-
 abs/core/linhes-theme/menu-ui-vert.xml.patch |  20 ++-
 abs/core/linhes-theme/music-ui.xml.patch     | 131 +++++++++++++++--
 abs/core/linhes-theme/osd.xml.patch          |  76 ++++++++--
 abs/core/linhes-theme/schedule-ui.xml.patch  |  43 +++++-
 abs/core/linhes-theme/status-ui.xml.patch    |  53 +++++++
 8 files changed, 490 insertions(+), 66 deletions(-)
 create mode 100644 abs/core/linhes-theme/status-ui.xml.patch

diff --git a/abs/core/linhes-theme/PKGBUILD b/abs/core/linhes-theme/PKGBUILD
index ce4b2a1..1cd5eac 100755
--- a/abs/core/linhes-theme/PKGBUILD
+++ b/abs/core/linhes-theme/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-theme
 pkgver=8.4
-pkgrel=18
+pkgrel=19
 pkgdesc="Default LinHES MythTV theme"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -11,7 +11,7 @@ patches=('readme.txt.patch' 'osd.xml.patch' 'base.xml.patch'
          'music-base.xml.patch' 'music-ui.xml.patch'
          'notification-ui.xml.patch' 'qtlook.txt.patch'
          'recordings-ui.xml.patch' 'schedule-ui.xml.patch'
-         'stream-ui.xml.patch' 'video-ui.xml.patch')
+         'status-ui.xml.patch' 'stream-ui.xml.patch' 'video-ui.xml.patch')
 
 #The LinHES theme is based on TintedGlass 4.56 by Harley Peters
 source=(`echo ${patches[@]:0}` 'themeinfo.xml' 'install-ui.xml' 'osd_subtitle.xml'
@@ -94,16 +94,17 @@ package() {
     sed -i "s/MIN_VER/${pkgrel}/" $pkgdir/$THEMEROOT/LinHES/themeinfo.xml
 }
 md5sums=('2dca856c2a4d1f959473512c94e43b60'
-         '196b4d6691e95b87a76a9ed8be31a3d9'
-         '4679c0ae9b20a0e0b1f8076c8ca9d0b4'
+         'ebb2410010c3fde87024bcc86c41dac8'
+         '66dd0365257d88b48ffeec00289e3b22'
          'ed56a335f8523d288609a81c005cab3f'
-         '43b1f213fd392fb07aac503e775e27bc'
+         'b90b745c72a057c78ebd0b6f2c5530b9'
          'a0ea2d3e386c0b483b31aa1a2703f9eb'
-         'd7f80b93df735c0634f9234db7db71d9'
+         '8f8c27146e11954f60913da6d1fce073'
          '80bb72994eca59ca6dc9034ac185e7cc'
          '9fe3371a8b964a7028126405cfaa330b'
          '537e12f58ae8da81176d8b982ac9c783'
-         '22ff4044c8c29560451fb51dcbf4d44e'
+         '0a50f8ecd3d73622b31b52b905307c34'
+         '4d01487b534e45c631734501ec0da501'
          '8312aff444945f80a76100696c81cb2e'
          '5527190d8dd74e720b9160f851727390'
          '5a8fb2a5f0e657d52be6f0a6a006ce72'
@@ -118,6 +119,6 @@ md5sums=('2dca856c2a4d1f959473512c94e43b60'
          'e8ac15e38b3dc99c9e889e439ba356de'
          'e8cf0d3a55ba3be47deae55c05432141'
          '58834fbee0230c713802c61e635cbab0'
-         '84fe19ee18a13736534f084f45604809'
+         '3f600b966bd813dd27f620762ddb3ac8'
          'b51ef0cbf8ed2d3a8c1a8257a89aceff'
          '09ad14842f828b7a8d24070ec8214fe5')
diff --git a/abs/core/linhes-theme/base.xml.patch b/abs/core/linhes-theme/base.xml.patch
index 83abca6..1f3b71a 100644
--- a/abs/core/linhes-theme/base.xml.patch
+++ b/abs/core/linhes-theme/base.xml.patch
@@ -1,5 +1,5 @@
 --- base.xml.orig	2016-12-13 20:41:54.779274682 +0000
-+++ base.xml	2016-12-13 20:34:54.356551993 +0000
++++ base.xml	2017-01-12 17:34:48.863983285 +0000
 @@ -3,55 +3,55 @@
  <mythuitheme>
  
@@ -126,7 +126,18 @@
      </fontdef>
  
      <fontdef name="basesupersmallgreen" from="basesupersmall">
-@@ -241,55 +241,55 @@
+@@ -200,6 +200,10 @@
+         <color>#d97616</color>
+     </fontdef>
+ 
++    <fontdef name="basemediumorange" from="basemedium">
++        <color>#d97616</color>
++    </fontdef>
++
+     <fontdef name="baseextrasmallpurple" from="baseextrasmall">
+         <color>#9898d9</color>
+     </fontdef>
+@@ -241,55 +245,55 @@
      </fontdef>
  
      <fontdef name="basesupersmallyellow" from="basesupersmall">
@@ -195,7 +206,7 @@
      </fontdef>
  
      <!-- Base definition of a textarea -->
-@@ -305,7 +305,7 @@
+@@ -305,7 +309,7 @@
          <font>baseextrasmallverylightgrey</font>
          <font state="disabled">baseextrasmalllightgrey</font>
          <font state="error">baseextrasmallred</font>
@@ -204,7 +215,7 @@
          <font state="normal">baseextrasmallverylightgrey</font>
          <font state="running">baseextrasmallgreen</font>
          <cutdown>yes</cutdown>
-@@ -317,7 +317,7 @@
+@@ -317,7 +321,7 @@
          <font>basesmallerverylightgrey</font>
          <font state="disabled">basesmallerlightgrey</font>
          <font state="error">basesmallerred</font>
@@ -213,7 +224,7 @@
          <font state="normal">basesmallerverylightgrey</font>
          <font state="running">basesmallergreen</font>
          <cutdown>yes</cutdown>
-@@ -329,7 +329,7 @@
+@@ -329,7 +333,7 @@
          <font>basesmallverylightgrey</font>
          <font state="disabled">basesmalllightgrey</font>
          <font state="error">basesmallred</font>
@@ -222,7 +233,7 @@
          <font state="normal">basesmallverylightgrey</font>
          <font state="running">basesmallgreen</font>
          <cutdown>yes</cutdown>
-@@ -411,7 +411,7 @@
+@@ -411,7 +415,7 @@
          <area>283,436,50,11</area>
          <type>roundbox</type>
          <fill color="#000000" alpha="200" />
@@ -231,7 +242,7 @@
      </shape>
  
      <shape name="base_backdrop_line">
-@@ -424,7 +424,7 @@
+@@ -424,7 +428,7 @@
  
      <!-- Base definition of a base popup backdrop -->
      <shape name="base_popup_backdrop" from="base_backdrop">
@@ -240,7 +251,37 @@
      </shape>
  
      <!-- Base definition of a heading group -->
-@@ -667,10 +667,10 @@
+@@ -535,10 +539,10 @@
+             <type>box</type>
+             <fill style="gradient">
+                 <gradient direction="horizontal" alpha="50">
+-                    <stop position="0" color="#d6d6d6" />
+-                    <stop position="25" color="#d6d6d6" alpha="255" />
+-                    <stop position="50" color="#d6d6d6" />
+-                    <stop position="100" color="#d6d6d6" />
++                    <stop position="0" color="#0072bc" />
++                    <stop position="25" color="#0072bc" alpha="255" />
++                    <stop position="50" color="#0072bc" />
++                    <stop position="100" color="#0072bc" />
+                 </gradient>
+             </fill>
+         </shape>
+@@ -547,10 +551,10 @@
+             <type>box</type>
+             <fill style="gradient">
+                 <gradient direction="horizontal" alpha="50">
+-                    <stop position="0" color="#d6d6d6" />
+-                    <stop position="50" color="#d6d6d6" />
+-                    <stop position="75" color="#d6d6d6" alpha="255"/>
+-                    <stop position="100" color="#d6d6d6" />
++                    <stop position="0" color="#0072bc" />
++                    <stop position="50" color="#0072bc" />
++                    <stop position="75" color="#0072bc" alpha="255"/>
++                    <stop position="100" color="#0072bc" />
+                 </gradient>
+             </fill>
+         </shape>
+@@ -667,10 +671,10 @@
              <type>box</type>
              <fill style="gradient">
                  <gradient direction="horizontal" alpha="50">
@@ -255,7 +296,7 @@
                  </gradient>
              </fill>
          </shape>
-@@ -679,10 +679,10 @@
+@@ -679,10 +683,10 @@
              <type>box</type>
              <fill style="gradient">
                  <gradient direction="horizontal" alpha="50">
@@ -270,7 +311,37 @@
                  </gradient>
              </fill>
          </shape>
-@@ -863,7 +863,7 @@
+@@ -700,10 +704,10 @@
+             <type>box</type>
+             <fill style="gradient">
+                 <gradient direction="horizontal" alpha="50">
+-                    <stop position="0" color="#d6d6d6" />
+-                    <stop position="25" color="#d6d6d6" alpha="255" />
+-                    <stop position="50" color="#d6d6d6" />
+-                    <stop position="100" color="#d6d6d6" />
++                    <stop position="0" color="#0072bc" />
++                    <stop position="25" color="#0072bc" alpha="255" />
++                    <stop position="50" color="#0072bc" />
++                    <stop position="100" color="#0072bc" />
+                 </gradient>
+             </fill>
+         </shape>
+@@ -712,10 +716,10 @@
+             <type>box</type>
+             <fill style="gradient">
+                 <gradient direction="horizontal" alpha="50">
+-                    <stop position="0" color="#d6d6d6" />
+-                    <stop position="50" color="#d6d6d6" />
+-                    <stop position="75" color="#d6d6d6" alpha="255"/>
+-                    <stop position="100" color="#d6d6d6" />
++                    <stop position="0" color="#0072bc" />
++                    <stop position="50" color="#0072bc" />
++                    <stop position="75" color="#0072bc" alpha="255"/>
++                    <stop position="100" color="#0072bc" />
+                 </gradient>
+             </fill>
+         </shape>
+@@ -863,7 +867,7 @@
              <type>roundbox</type>
              <fill color="#1a1a1a" alpha="175" />
              <line color="#454545" alpha="180" width="2" />
@@ -279,7 +350,7 @@
          </shape>
          <shape name="select_bar_top_highlight">
              <area>0,0,100%,2</area>
-@@ -956,7 +956,7 @@
+@@ -956,7 +960,7 @@
              <type>roundbox</type>
              <fill color="#333333" alpha="175" />
              <line color="#454545" alpha="180" width="2" />
@@ -288,7 +359,7 @@
          </shape>
       </group>
  
-@@ -967,7 +967,7 @@
+@@ -967,7 +971,7 @@
              <type>roundbox</type>
              <fill color="#1a1a1a" alpha="175" />
              <line color="#454545" alpha="180" width="2" />
@@ -297,7 +368,7 @@
          </shape>
          <shape name="select_bar_top_highlight">
              <area>0,0,100%,2</area>
-@@ -1060,7 +1060,7 @@
+@@ -1060,7 +1064,7 @@
              <type>roundbox</type>
              <fill color="#333333" alpha="175" />
              <line color="#454545" alpha="180" width="2" />
@@ -306,7 +377,7 @@
          </shape>
       </group>
  
-@@ -1071,7 +1071,7 @@
+@@ -1071,7 +1075,7 @@
              <type>roundbox</type>
              <fill color="#1a1a1a" alpha="175" />
              <line color="#454545" alpha="180" width="2" />
@@ -315,7 +386,7 @@
          </shape>
          <shape name="select_bar_top_highlight">
              <area>0,0,100%,2</area>
-@@ -1164,7 +1164,7 @@
+@@ -1164,7 +1168,7 @@
              <type>roundbox</type>
              <fill color="#1a1a1a" alpha="175" />
              <line color="#454545" alpha="180" width="2" />
@@ -324,7 +395,7 @@
          </shape>
      </group>
  
-@@ -1233,7 +1233,7 @@
+@@ -1233,7 +1237,7 @@
              <type>roundbox</type>
              <fill color="#333333" alpha="175" />
              <line color="#454545" alpha="180" width="2" />
@@ -333,7 +404,16 @@
          </shape>
       </group>
  
-@@ -1564,6 +1564,9 @@
+@@ -1455,7 +1459,7 @@
+                     <area>0,0,100%,100%</area>
+                 </group>
+                 <textarea name="buttontext">
+-                    <font>basesmall</font>
++                    <font>basesmallyellow</font>
+                 </textarea>
+             </state>
+             <state name="selectedinactive" from="active">
+@@ -1564,6 +1568,9 @@
                  <group name="select_bar" from="base_select_bar_selectedinactive_group">
                      <area>0,0,100%,100%</area>
                  </group>
@@ -343,3 +423,91 @@
                  <imagetype name="buttonarrow">
                      <filename>images/lists_right_arrow.png</filename>
                      <alpha>0</alpha>
+@@ -1664,6 +1671,7 @@
+                         </state>
+                     </statetype>
+                 <textarea name="buttontext" from="base_text_font_state_small">
++                    <font state="normal">basesmallyellow</font>
+                 </textarea>
+                 <statetype name="buttoncheck">
+                     <state type="off">
+@@ -2186,7 +2194,7 @@
+         </shape>
+ 
+         <shape name="popup-seperator-line" from="base_line">
+-            <area>23,212,556,2</area>
++            <area>23,174,556,2</area>
+         </shape>
+ 
+         <shape name="popup-third-line" from="base_highlight_line">
+@@ -2202,18 +2210,18 @@
+         </shape>
+ 
+         <shape name="popup-arrows-backdrop" from="base_arrows_backdrop">
+-            <area>3,488,50,13</area>
++            <area>549,488,50,13</area>
+         </shape>
+ 
+         <textarea name="messagearea" from="basetextarea">
+-            <area>16,10,570,196</area>
+-            <font>basesmalldarkyellow</font>
++            <area>16,10,570,158</area>
++            <font>basesmall</font>
+             <multiline>yes</multiline>
+             <align>allcenter</align>     
+         </textarea>
+ 
+         <buttonlist name="list" from="base_button_list">
+-            <area>8,216,586,264</area>
++            <area>8,178,586,302</area>
+             <statetype name="buttonitem">
+                 <state name="active">
+                     <area>0,0,100%,34</area>
+@@ -2244,10 +2252,10 @@
+                 </state>
+             </statetype>
+         <statetype name="upscrollarrow">
+-            <position>2,274</position>
++            <position>548,312</position>
+         </statetype>
+         <statetype name="downscrollarrow">
+-            <position>22,274</position>
++            <position>568,312</position>
+         </statetype>
+         </buttonlist>
+     </window>
+@@ -2299,7 +2307,7 @@
+         </shape>
+ 
+         <shape name="large-dialogbox-arrows-backdrop" from="base_arrows_backdrop">
+-            <area>3,488,50,13</area>
++            <area>761,488,50,13</area>
+         </shape>
+ 
+         <textarea name="messagearea" from="basetextarea">
+@@ -2332,10 +2340,10 @@
+                 </state>
+             </statetype>
+             <statetype name="upscrollarrow">
+-                <position>2,198</position>
++                <position>762,198</position>
+             </statetype>
+             <statetype name="downscrollarrow">
+-                <position>22,198</position>
++                <position>782,198</position>
+             </statetype>
+         </buttonlist>
+     </window>
+@@ -2795,10 +2803,10 @@
+                 </state>
+             </statetype>
+             <statetype name="upscrollarrow">
+-                <position>0,272</position>
++                <position>550,272</position>
+             </statetype>
+             <statetype name="downscrollarrow">
+-                <position>20,272</position>
++                <position>570,272</position>
+             </statetype>
+         </buttonlist>
+ 
diff --git a/abs/core/linhes-theme/image-ui.xml b/abs/core/linhes-theme/image-ui.xml
index 3d2057b..2e4f996 100644
--- a/abs/core/linhes-theme/image-ui.xml
+++ b/abs/core/linhes-theme/image-ui.xml
@@ -176,7 +176,7 @@
                         <area>0,0,100%,100%</area>
                         <type>roundbox</type>
                         <fill color="#000000" alpha="0" />
-                        <line color="#ffffff" alpha="45" width="4" />
+                        <line color="#0072bc" alpha="45" width="4" />
                         <cornerradius>8</cornerradius>
                     </shape>
                     <shape name="buttonbackground-top-highlight-line">
@@ -184,9 +184,9 @@
                          <type>box</type>
                         <fill style="gradient">
                             <gradient direction="horizontal" alpha="0">
-                                <stop position="0" color="#ffffff" />
-                                <stop position="50" color="#ffffff" alpha="180" />
-                                <stop position="100" color="#ffffff" />
+                                <stop position="0" color="#0072bc" />
+                                <stop position="50" color="#0072bc" alpha="180" />
+                                <stop position="100" color="#0072bc" />
                             </gradient>
                         </fill>
                     </shape>
@@ -198,9 +198,9 @@
                         <type>box</type>
                         <fill style="gradient">
                             <gradient alpha="0" direction="vertical">
-                                <stop position="0" color="#ffffff" />
-                                <stop position="50" color="#ffffff" alpha="220" />
-                                <stop position="100" color="#ffffff" />
+                                <stop position="0" color="#0072bc" />
+                                <stop position="50" color="#0072bc" alpha="220" />
+                                <stop position="100" color="#0072bc" />
                             </gradient>
                         </fill>
                     </shape>
diff --git a/abs/core/linhes-theme/menu-ui-vert.xml.patch b/abs/core/linhes-theme/menu-ui-vert.xml.patch
index b1dbaaf..3a0c3d9 100644
--- a/abs/core/linhes-theme/menu-ui-vert.xml.patch
+++ b/abs/core/linhes-theme/menu-ui-vert.xml.patch
@@ -1,5 +1,5 @@
---- menu-ui-vert.xml.orig	2016-01-13 18:48:20.631382184 +0000
-+++ menu-ui-vert.xml	2016-04-13 19:40:10.952214840 +0000
+--- menu-ui-vert.xml.orig	2017-01-12 02:27:03.269571903 +0000
++++ menu-ui-vert.xml	2017-01-12 02:19:35.517176026 +0000
 @@ -6,18 +6,53 @@
          <area>0,0,1280,720</area>
  
@@ -126,7 +126,7 @@
                          <font>basemediumlightgrey</font>
                          <multiline>yes</multiline>
                          <align>allcenter</align>
-@@ -147,40 +227,40 @@
+@@ -147,40 +227,48 @@
                      </textarea>
                  </state>
                  <state name="selectedactive"> 
@@ -134,6 +134,7 @@
 +                    <area>-20,0,370,80</area>
 +                    <shape name="select_bar_backdrop_line" from="base_backdrop_line">
 +                        <area>0,0,100%,100%-2</area>
++                        <line color="#0072bc" alpha="45" width="2" />
 +                        <type>box</type>
 +                    </shape>
                      <group name="select_bar" from="base_select_bar_selectedactive_group">
@@ -142,9 +143,16 @@
                      </group>
 +                    <shape name="select_bar_left_line" from="base_highlight_vertical_line">
 +                        <area>0,0,2,100%</area>
++                        <fill style="gradient">
++                            <gradient alpha="0" direction="vertical">
++                                <stop position="0" color="#0072bc" />
++                                <stop position="50" color="#0072bc" alpha="180" />
++                                <stop position="100" color="#0072bc" />
++                            </gradient>
++                        </fill>
 +                    </shape>
-+                    <shape name="select_bar_right_line" from="base_highlight_vertical_line">
-+                        <area>100%-4,0,2,100%</area>
++                    <shape name="select_bar_right_line" from="select_bar_left_line">
++                        <area>100%-2,0,2,100%</area>
 +                    </shape>
                      <textarea name="buttontext">
 -                        <area>5,0,320,64</area>
@@ -192,7 +200,7 @@
                  <showempty>yes</showempty>
                  <state type="full">
                      <imagetype name="upon">
-@@ -190,7 +270,7 @@
+@@ -190,7 +278,7 @@
                  </state>
              </statetype>
              <statetype name="downscrollarrow">
diff --git a/abs/core/linhes-theme/music-ui.xml.patch b/abs/core/linhes-theme/music-ui.xml.patch
index 078b1c8..6d01256 100644
--- a/abs/core/linhes-theme/music-ui.xml.patch
+++ b/abs/core/linhes-theme/music-ui.xml.patch
@@ -1,5 +1,5 @@
 --- music-ui.xml.orig	2016-12-13 20:47:17.067929339 +0000
-+++ music-ui.xml	2016-12-23 02:34:31.320553469 +0000
++++ music-ui.xml	2017-01-12 02:19:35.520508931 +0000
 @@ -6,7 +6,7 @@
          <area>0,0,1280,720</area>
  
@@ -156,21 +156,23 @@
          </textarea>
  
           <!-- optional - shows current position in grid eg '1 of 123' -->
-@@ -435,7 +442,7 @@
+@@ -435,7 +442,8 @@
                          </group>
                          <imagetype name="buttonimage">
                              <area>8,8,120,120</area>
 -                            <filename>mythmusic/mm_nothumb.png</filename>
 +                            <filename>mythmusic/mm_category.png</filename>
++                            <alpha>100</alpha>
                          </imagetype>
                          <statetype name="nodetype">
                              <position>8,8</position>
-@@ -443,73 +450,73 @@
+@@ -443,73 +451,85 @@
                              <state name="alltracks">
                                  <imagetype name="alltracks">
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="genres">
@@ -178,6 +180,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="albums">
@@ -185,6 +188,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="artists">
@@ -192,6 +196,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="compartists">
@@ -199,6 +204,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="ratings">
@@ -206,6 +212,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="years">
@@ -213,6 +220,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="compilations">
@@ -220,6 +228,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="cd">
@@ -227,6 +236,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="directory">
@@ -234,6 +244,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="playlists">
@@ -241,6 +252,7 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                              <state name="smartplaylists">
@@ -248,10 +260,46 @@
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
++                                    <alpha>100</alpha>
                                  </imagetype>
                              </state>
                          </statetype>
-@@ -580,7 +587,7 @@
+@@ -547,7 +567,7 @@
+                             <area>0,0,100%,100%</area>
+                             <type>roundbox</type>
+                             <fill color="#101017" alpha="255" />
+-                            <line color="#ffffff" alpha="45" width="4" />
++                            <line color="#0072bc" alpha="45" width="4" />
+                             <cornerradius>8</cornerradius>
+                         </shape>
+                         <shape name="select_bar_top_highlight_line">
+@@ -555,9 +575,9 @@
+                             <type>box</type>
+                             <fill style="gradient">
+                                 <gradient direction="horizontal" alpha="0">
+-                                    <stop position="0" color="#ffffff" />
+-                                    <stop position="50" color="#ffffff" alpha="180" />
+-                                    <stop position="100" color="#ffffff" />
++                                    <stop position="0" color="#0072bc" />
++                                    <stop position="50" color="#0072bc" alpha="180" />
++                                    <stop position="100" color="#0072bc" />
+                                 </gradient>
+                             </fill>
+                         </shape>
+@@ -569,9 +589,9 @@
+                             <type>box</type>
+                             <fill style="gradient">
+                                 <gradient alpha="0" direction="vertical">
+-                                    <stop position="0" color="#ffffff" />
+-                                    <stop position="50" color="#ffffff" alpha="220" />
+-                                    <stop position="100" color="#ffffff" />
++                                    <stop position="0" color="#0072bc" />
++                                    <stop position="50" color="#0072bc" alpha="220" />
++                                    <stop position="100" color="#0072bc" />
+                                 </gradient>
+                             </fill>
+                         </shape>
+@@ -580,7 +600,7 @@
                          </shape>
                          <imagetype name="buttonimage">
                              <area>8,8,120,120</area>
@@ -260,7 +308,7 @@
                          </imagetype>
                          <statetype name="nodetype">
                              <position>8,8</position>
-@@ -588,73 +595,73 @@
+@@ -588,73 +608,73 @@
                              <state name="alltracks">
                                  <imagetype name="alltracks">
                                      <area>0,0,120,120</area>
@@ -346,7 +394,7 @@
                                  </imagetype>
                              </state>
                          </statetype>
-@@ -681,7 +688,7 @@
+@@ -681,22 +701,50 @@
                                  <area>5,1,-5,-3</area>
                                  <align>bottom,hcenter</align>
                                  <minsize shrink="short" vanish="true">5,5</minsize>
@@ -355,8 +403,51 @@
                                  <multiline>yes</multiline>
                              </textarea>
                          </group>
-@@ -696,7 +703,7 @@
-                         </group>
+                     </state>
+-                    <state name="selectedinactive">
+-                        <group name="select_bar" from="base_button_select_bar_disabled_group">
+-                            <area>0,0,136,136</area>
+-                            <shape name="select_bar">
+-                                <fill color="#333333" alpha="255" />
+-                                <cornerradius>8</cornerradius>
+-                            </shape>
+-                        </group>
++                    <state name="selectedinactive" from="selectedactive">
++                        <shape name="select_bar">
++                            <area>0,0,100%,100%</area>
++                            <type>roundbox</type>
++                            <fill color="#101017" alpha="255" />
++                            <line color="#ffffff" alpha="45" width="4" />
++                            <cornerradius>8</cornerradius>
++                        </shape>
++                        <shape name="select_bar_top_highlight_line">
++                            <area>8,2,120,4</area>
++                            <type>box</type>
++                            <fill style="gradient">
++                                <gradient direction="horizontal" alpha="0">
++                                    <stop position="0" color="#ffffff" />
++                                    <stop position="50" color="#ffffff" alpha="180" />
++                                    <stop position="100" color="#ffffff" />
++                                </gradient>
++                            </fill>
++                        </shape>
++                        <shape name="select_bar_bottom_highlight_line" from="select_bar_top_highlight_line">
++                            <area>8,130,120,4</area>
++                        </shape>
++                        <shape name="select_bar_left_highlight_line">
++                            <area>2,8,4,120</area>
++                            <type>box</type>
++                            <fill style="gradient">
++                                <gradient alpha="0" direction="vertical">
++                                    <stop position="0" color="#ffffff" />
++                                    <stop position="50" color="#ffffff" alpha="220" />
++                                    <stop position="100" color="#ffffff" />
++                                </gradient>
++                            </fill>
++                        </shape>
++                        <shape name="select_bar_right_highlight_line" from="select_bar_left_highlight_line">
++                            <area>130,8,4,120</area>
++                        </shape>
                          <imagetype name="buttonimage">
                              <area>8,8,120,120</area>
 -                            <filename>mythmusic/mm_nothumb.png</filename>
@@ -364,7 +455,7 @@
                              <alpha>100</alpha>
                          </imagetype>
                          <statetype name="nodetype">
-@@ -705,84 +712,84 @@
+@@ -705,94 +753,84 @@
                              <state name="alltracks">
                                  <imagetype name="alltracks">
                                      <area>0,0,120,120</area>
@@ -457,11 +548,29 @@
                                  <imagetype name="smartplaylists">
                                      <area>0,0,120,120</area>
 -                                    <filename>mythmusic/mm_category.png</filename>
+-                                    <alpha>100</alpha>
+-                                </imagetype>
+-                            </state>
+-                        </statetype>
+-                        <statetype name="buttoncheck">
+-                            <position>8,8</position>
+-                            <showempty>yes</showempty>
+-                            <state type="full">
+-                                <imagetype name="marked">
+-                                    <filename>mythmusic/playlist_yes.png</filename>
 +                                    <filename>mythmusic/mm_nothumb.png</filename>
                                      <alpha>100</alpha>
                                  </imagetype>
                              </state>
-@@ -1909,6 +1916,122 @@
+@@ -813,7 +851,6 @@
+                                 <minsize shrink="short" vanish="true">5,5</minsize>
+                                 <font>baseextrasmall</font>
+                                 <multiline>yes</multiline>
+-                                <alpha>100</alpha>
+                             </textarea>
+                         </group>
+                     </state>
+@@ -1909,6 +1946,122 @@
  
      </window>
  
@@ -584,7 +693,7 @@
      <window name="editmetadata">
          <area>0,0,1280,720</area>
  
-@@ -3492,7 +3615,7 @@
+@@ -3492,7 +3645,7 @@
              </section>
          </animation>
  
diff --git a/abs/core/linhes-theme/osd.xml.patch b/abs/core/linhes-theme/osd.xml.patch
index 3eabbfc..ba9983f 100644
--- a/abs/core/linhes-theme/osd.xml.patch
+++ b/abs/core/linhes-theme/osd.xml.patch
@@ -1,5 +1,5 @@
 --- osd.xml.orig	2016-11-16 18:00:59.736588734 +0000
-+++ osd.xml	2016-11-17 19:29:17.370920531 +0000
++++ osd.xml	2017-01-12 03:57:35.384792671 +0000
 @@ -7,13 +7,13 @@
      <window name="osd_debug">
          <area>0,0,1280,720</area>
@@ -274,17 +274,17 @@
 -            <area>90,658,1100,24</area>
 +        <textarea name="value">
 +            <area>90,657,1100,24</area>
-             <font>small</font>
-             <align>allcenter</align>
--            <template>%DESCRIPTION%
--            %(|REMAININGTIME|)%%(|BEHINDTIME|)%%VALUE%%UNITS%</template>
++            <font>small</font>
++            <align>allcenter</align>
 +            <template>%VALUE%%UNITS%</template>
 +        </textarea>
 +
 +        <textarea name="playedtime" depends="!value">
 +            <area>90,657,1100,24</area>
-+            <font>small</font>
-+            <align>allcenter</align>
+             <font>small</font>
+             <align>allcenter</align>
+-            <template>%DESCRIPTION%
+-            %(|REMAININGTIME|)%%(|BEHINDTIME|)%%VALUE%%UNITS%</template>
 +            <template>%PLAYEDTIME% of %TOTALTIME%
 +            %(|REMAININGTIME| remains)%%(|BEHINDTIME| behind)%</template>
          </textarea>
@@ -457,21 +457,21 @@
              <align>vcenter</align>
 -            <template>%TIMEDATE% : %LENMINS%</template>
 +            <template>%TIMEDATE% %LONGREPEAT%</template>
-         </textarea>
- 
--        <textarea name="longrepeat">
++        </textarea>
++
 +        <!--use channum to detect if in videos-->
 +        <textarea name="lenminsFilesize" depends="channum">
-             <font>mediumsmall</font>
--            <area>771,453,435,22</area>
++            <font>mediumsmall</font>
 +            <area>871,453,335,22</area>
 +            <align>right,vcenter</align>
 +            <template>%LENMINS% (%FILESIZE_STR%)</template>
-+        </textarea>
-+
+         </textarea>
+ 
+-        <textarea name="longrepeat">
 +        <!--use channum to detect if in videos-->
 +        <textarea name="lenmins" depends="!channum">
-+            <font>mediumsmall</font>
+             <font>mediumsmall</font>
+-            <area>771,453,435,22</area>
 +            <area>871,453,335,22</area>
              <align>right,vcenter</align>
 -            <template>%LONGREPEAT%     Size: %FILESIZE_STR%</template>
@@ -751,3 +751,49 @@
          </fontdef>
  
          <shape name="mythpopupbox-backdrop">
+@@ -1822,15 +1848,15 @@
+         </shape>
+ 
+         <shape name="mythpopup-box-arrows-backdrop">
+-            <area>342,603,50,14</area>
++            <area>888,603,50,14</area>
+             <type>roundbox</type>
+-            <fill color="#000000" alpha="200" />
++            <fill color="#000000" alpha="140" />
+             <cornerradius>90</cornerradius>
+         </shape>
+ 
+         <textarea name="messagearea">
+             <area>355,126,570,196</area>
+-            <font>smallyellow</font>
++            <font>small</font>
+             <multiline>yes</multiline>
+             <align>allcenter</align>
+         </textarea>
+@@ -1922,7 +1948,7 @@
+                         </fill>
+                     </shape>
+                     <textarea name="buttontext">
+-                        <font>small</font>
++                        <font>smallyellow</font>
+                     </textarea>
+                     <imagetype name="buttonarrow">
+                         <alpha>255</alpha>
+@@ -1964,7 +1990,7 @@
+                 </state>
+             </statetype>
+             <statetype name="upscrollarrow">
+-                <position>2,274</position>
++                <position>548,274</position>
+                 <state type="off">
+                     <imagetype name="upon">
+                         <filename>images/osd/lists_up_arrow.png</filename>
+@@ -1978,7 +2004,7 @@
+                 </state>
+             </statetype>
+             <statetype name="downscrollarrow">
+-                <position>22,274</position>
++                <position>568,274</position>
+                 <state type="off">
+                     <imagetype name="dnon">
+                         <filename>images/osd/lists_down_arrow.png</filename>
diff --git a/abs/core/linhes-theme/schedule-ui.xml.patch b/abs/core/linhes-theme/schedule-ui.xml.patch
index 930c26f..0ed5ba4 100644
--- a/abs/core/linhes-theme/schedule-ui.xml.patch
+++ b/abs/core/linhes-theme/schedule-ui.xml.patch
@@ -1,5 +1,5 @@
---- schedule-ui.xml.orig	2014-10-26 18:47:27.740659484 +0000
-+++ schedule-ui.xml	2014-10-26 18:45:31.642195458 +0000
+--- schedule-ui.xml.orig	2017-01-12 02:24:06.812272686 +0000
++++ schedule-ui.xml	2017-01-12 02:24:53.802894035 +0000
 @@ -126,7 +126,7 @@
              <conflictingcolor>#ff6600</conflictingcolor>
              <cutdown>no</cutdown>
@@ -9,3 +9,42 @@
              <recordstatus type="SingleRecord" image="images/gg-rs-single.png"></recordstatus>
              <recordstatus type="TimeslotRecord" image="images/gg-rs-timeslot.png"></recordstatus>
              <recordstatus type="ChannelRecord" image="images/gg-rs-channel.png"></recordstatus>
+@@ -1437,10 +1437,10 @@
+                 </state>
+             </statetype>
+             <statetype name="upscrollarrow">
+-                <position>0,350</position>
++                <position>550,350</position>
+             </statetype>
+             <statetype name="downscrollarrow">
+-                <position>20,350</position>
++                <position>570,350</position>
+             </statetype>
+         </buttonlist>
+ 
+@@ -1544,10 +1544,10 @@
+             </state>
+             </statetype>
+             <statetype name="upscrollarrow">
+-                <position>0,350</position>
++                <position>550,350</position>
+             </statetype>
+             <statetype name="downscrollarrow">
+-                <position>20,350</position>
++                <position>570,350</position>
+             </statetype>
+         </buttonlist>
+ 
+@@ -3098,10 +3098,10 @@
+                 </state>
+             </statetype>
+             <statetype name="upscrollarrow">
+-                <position>0,350</position>
++                <position>550,350</position>
+             </statetype>
+             <statetype name="downscrollarrow">
+-                <position>20,350</position>
++                <position>570,350</position>
+             </statetype>
+         </buttonlist>
+ 
diff --git a/abs/core/linhes-theme/status-ui.xml.patch b/abs/core/linhes-theme/status-ui.xml.patch
new file mode 100644
index 0000000..9c26d77
--- /dev/null
+++ b/abs/core/linhes-theme/status-ui.xml.patch
@@ -0,0 +1,53 @@
+--- status-ui.xml.orig	2017-01-12 02:25:29.328323754 +0000
++++ status-ui.xml	2017-01-12 02:19:35.527174739 +0000
+@@ -212,9 +212,9 @@
+ 
+         <textarea name="title">
+             <area>4,4,552,64</area>
+-            <font>basemedium</font>
++            <font>basemediumyellow</font>
+             <align>allcenter</align>
+-            <value>MythTV is in standby mode!</value>
++            <value>MythTV is in Standby Mode</value>
+         </textarea>
+ 
+         <statetype name="backendstatus">
+@@ -230,7 +230,7 @@
+                 <textarea name="status">
+                     <area>4,248,552,64</area>
+                     <font>basemediumgreen</font>
+-                    <value>Backend is idle!</value>
++                    <value>Backend is Idle</value>
+                     <align>allcenter</align>
+                     <multiline>true</multiline>
+                 </textarea>
+@@ -241,16 +241,16 @@
+                 </shape>
+                 <textarea name="status">
+                     <font>basemediumred</font>
+-                    <value>Backend is recording!</value>
++                    <value>Backend is Recording</value>
+                 </textarea>
+             </state>
+             <state name="shuttingdown" from="idle">
+                 <shape name="icon">
+-                    <fill color="#d9d900" />
++                    <fill color="#d97616" />
+                 </shape>
+                 <textarea name="status">
+-                    <font>basemediumyellow</font>
+-                    <value>Shutting Down!</value>
++                    <font>basemediumorange</font>
++                    <value>MythTV is Shutting Down</value>
+                 </textarea>
+             </state>
+             <state name="offline" from="idle">
+@@ -259,7 +259,7 @@
+                 </shape>
+                 <textarea name="status">
+                     <font>basemediumred</font>
+-                    <value>Backend is offline!</value>
++                    <value>Backend is Offline</value>
+                 </textarea>
+             </state>
+         </statetype>
-- 
cgit v0.12

