The branch, eden has been updated
       via  f7678f95a85887a9d723ff8946961146ed5008d7 (commit)
      from  7a94541fdb6491d0dc1fd4e1c68409dbd2480a97 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=f7678f95a85887a9d723ff8946961146ed5008d7

commit f7678f95a85887a9d723ff8946961146ed5008d7
Author: Martijn Kaijser <[email protected]>
Date:   Sun Sep 15 15:29:23 2013 +0200

    [script.xbmc.lcdproc] 1.3.1

diff --git a/script.xbmc.lcdproc/addon.xml b/script.xbmc.lcdproc/addon.xml
index ca50668..fe11808 100644
--- a/script.xbmc.lcdproc/addon.xml
+++ b/script.xbmc.lcdproc/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.xbmc.lcdproc" name="XBMC LCDproc" version="1.3.0" 
provider-name="Team XBMC: Memphiz, Daniel 'herrnst' Scheller">
+<addon id="script.xbmc.lcdproc" name="XBMC LCDproc" version="1.3.1" 
provider-name="Team XBMC: Memphiz, Daniel 'herrnst' Scheller">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
     <import addon="xbmc.gui" version="3.0"/>
diff --git a/script.xbmc.lcdproc/changelog.txt 
b/script.xbmc.lcdproc/changelog.txt
index 172a1e2..f30cb6d 100644
--- a/script.xbmc.lcdproc/changelog.txt
+++ b/script.xbmc.lcdproc/changelog.txt
@@ -1,3 +1,6 @@
+1.3.1 / 2.3.1
+- Recognize E-AC3 (Dolby Digital plus) as AC3 in extra stuff support (affect 
imonlcd support)
+- Fix BigDigits overdrawing text on addon start when things change too fast
 1.3.0 / 2.3.0
 - Alternate charmap selection, support for HD44780/iMON ROM (A00 and A02 
variants) charsets
 - New "tvshow" mode, active when playing media from the TV-shows database
diff --git a/script.xbmc.lcdproc/resources/LCD.xml.defaults 
b/script.xbmc.lcdproc/resources/LCD.xml.defaults
index b565702..361407d 100644
--- a/script.xbmc.lcdproc/resources/LCD.xml.defaults
+++ b/script.xbmc.lcdproc/resources/LCD.xml.defaults
@@ -1,6 +1,24 @@
 <lcd>
-   <!-- set this to video,music to disable the LCD on playback of music and 
video-->
-   <disableonplay>video</disableonplay>
+   <!-- advanced configurables, XML-uncomment and set options as desired -->
+
+   <!-- scrollseparator: string to use as separator if text gets scrolled -->
+   <!--scrollseparator> </scrollseparator-->
+
+   <!-- progressbarsurroundings: put progress bars in square brackets (on/off) 
-->
+   <!--progressbarsurroundings>off</progressbarsurroundings-->
+
+   <!-- icontextoffset: offset for text displayed after any play/pause icons 
-->
+   <!--icontextoffset>2</icontextoffset-->
+
+   <!-- allowemptylines: show text lines without contents or filter them 
(on/off) -->
+   <!--allowemptylines>off</allowemptylines-->
+
+   <!-- centerbigdigits: (try to) align big numbers centered on the display 
(on/off) -->
+   <!--centerbigdigits>off</centerbigdigits-->
+
+   <!-- disableplayindicatoronpause: turn off any playing indicator (extra 
stuff) when pausing playback (on/off) --> 
+   <!--disableplayindicatoronpause>off</disableplayindicatoronpause-->
+
    <navigation>
       <line>$INFO[System.CurrentWindow]</line>
       <line>$INFO[System.CurrentControl]</line>
diff --git a/script.xbmc.lcdproc/resources/lib/lcdbase.py 
b/script.xbmc.lcdproc/resources/lib/lcdbase.py
index db60af9..d6c0a53 100644
--- a/script.xbmc.lcdproc/resources/lib/lcdbase.py
+++ b/script.xbmc.lcdproc/resources/lib/lcdbase.py
@@ -653,8 +653,8 @@ class LcdBase():
         if strAudioCodec in ["mpga", "mp2"]:
           
self.m_cExtraIcons.SetIconState(LCD_EXTRAICONS.LCD_EXTRAICON_ACODEC_MPEG, True)
 
-        # any ac3/dolby digital
-        elif strAudioCodec in ["ac3", "truehd"]:
+        # any ac3/dolby digital/dd+/truehd
+        elif strAudioCodec in ["ac3", "eac3", "truehd"]:
           
self.m_cExtraIcons.SetIconState(LCD_EXTRAICONS.LCD_EXTRAICON_ACODEC_AC3, True)
 
         # any dts including hires variants
diff --git a/script.xbmc.lcdproc/resources/lib/lcdproc.py 
b/script.xbmc.lcdproc/resources/lib/lcdproc.py
index e18d364..50db90b 100644
--- a/script.xbmc.lcdproc/resources/lib/lcdproc.py
+++ b/script.xbmc.lcdproc/resources/lib/lcdproc.py
@@ -466,7 +466,8 @@ class LCDProc(LcdBase):
       iOffset = 1;
 
     if self.m_iOffset != iOffset:
-      self.ClearBigDigits()
+      # on offset change, reset numbers (only) to force redraw
+      self.ClearBigDigits(False)
       self.m_iOffset = iOffset
 
     for i in range(int(iStringOffset), int(iStringLength)):
@@ -518,17 +519,19 @@ class LCDProc(LcdBase):
   def GetRows(self):
     return int(self.m_iRows)
 
-  def ClearBigDigits(self):
+  def ClearBigDigits(self, fullredraw = True):
     for i in range(1,int(self.m_iBigDigits + 1)):
       # Clear Digit
-      self.m_strSetLineCmds += "widget_set xbmc lineBigDigit" + str(i) + " 0 
0\n"
+      if fullredraw:
+        self.m_strSetLineCmds += "widget_set xbmc lineBigDigit" + str(i) + " 0 
0\n"
       self.m_strDigits[i] = ""
 
-    # make sure all widget get redrawn by resetting their type
-    for i in range(0, int(self.GetRows())):
-      self.m_strLineType[i] = ""
-      self.m_strLineText[i] = ""
-      self.m_strLineIcon[i] = ""
+    # on full redraw, make sure all widget get redrawn by resetting their type
+    if fullredraw:
+      for i in range(0, int(self.GetRows())):
+        self.m_strLineType[i] = ""
+        self.m_strLineText[i] = ""
+        self.m_strLineIcon[i] = ""
 
   def ClearLine(self, iLine):
     self.m_strSetLineCmds += "widget_set xbmc lineIcon%i 0 0 BLOCK_FILLED\n" % 
(iLine)

-----------------------------------------------------------------------

Summary of changes:
 script.xbmc.lcdproc/addon.xml                  |    2 +-
 script.xbmc.lcdproc/changelog.txt              |    3 +++
 script.xbmc.lcdproc/resources/LCD.xml.defaults |   22 ++++++++++++++++++++--
 script.xbmc.lcdproc/resources/lib/lcdbase.py   |    4 ++--
 script.xbmc.lcdproc/resources/lib/lcdproc.py   |   19 +++++++++++--------
 5 files changed, 37 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to