The branch, frodo has been updated
       via  a45e7397704e26bad15f5c8c5c4ff3d048322d27 (commit)
      from  5ff85e176e0773d28c2b13ef41ab092e4bae29d0 (commit)

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

commit a45e7397704e26bad15f5c8c5c4ff3d048322d27
Author: kibje <k...@xbmc.org>
Date:   Tue Jul 2 08:57:21 2013 +0200

    [script.screensaver.bigpictures] updated to version 0.1.1

diff --git a/script.screensaver.bigpictures/addon.xml 
b/script.screensaver.bigpictures/addon.xml
index 969d165..3837ff4 100644
--- a/script.screensaver.bigpictures/addon.xml
+++ b/script.screensaver.bigpictures/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.screensaver.bigpictures" name="The Big Pictures Screensaver" 
version="0.1.0" provider-name="Tristan Fischer (sph...@dersphere.de)">
+<addon id="script.screensaver.bigpictures" name="The Big Pictures Screensaver" 
version="0.1.1" provider-name="Tristan Fischer (sph...@dersphere.de)">
     <requires>
         <import addon="xbmc.python" version="2.1.0"/>
         <import addon="script.module.bigpictures" version="1.1.1"/>
@@ -12,7 +12,29 @@
         
<source>https://github.com/dersphere/script.screensaver.bigpictures</source>
         <forum>http://forum.xbmc.org/showthread.php?tid=160347</forum>
         <email>sph...@dersphere.de</email>
+        <summary lang="de">Fotojournalismus-Bildschirmschoner</summary>
+        <summary lang="el">Προφύλαξη Οθόνης 
Φωτορεπορτάζ</summary>
         <summary lang="en">Photojournalism Screensaver</summary>
+        <summary lang="es">Salvapantallas de fotoperiodismo</summary>
+        <summary lang="gl">Protector de pantalla de Fotoperiodismo</summary>
+        <summary lang="it">Salvaschermo Fotogiornalismo</summary>
+        <summary lang="nl">Fotojournalisme screensaver</summary>
+        <summary lang="pl">Wygaszacz z Fotoreportaży</summary>
+        <summary lang="pt">Uma protecção de ecrã de fotojornalismo</summary>
+        <summary lang="pt_BR">Proteção de tela de fotojornalismo</summary>
+        <summary lang="sv">Fotojournalism-skärmsläckare</summary>
+        <summary lang="zh">新闻摄影屏幕保护</summary>
+        <description lang="de">Das Bildscript "The Big Pictures" als 
Bildschirmschoner.</description>
+        <description lang="el">Χρήση του script "The Big Pictures" 
σαν Προφύλαξη Οθόνης</description>
         <description lang="en">The Image Script "The Big Pictures" as 
Screensaver.</description>
+        <description lang="es">Salvapantallas del Script de imágenes "The Big 
Pictures"</description>
+        <description lang="gl">O Script de Imaxe "The Big Pictures" como 
Protector de pantalla.</description>
+        <description lang="it">Lo Script "The Big Pictures" come 
Salvaschermo</description>
+        <description lang="nl">Het afbeelding script "The Big Pictures" als 
screensaver.</description>
+        <description lang="pl">Skrypt zdjęciowy "The Big Pictures" jako 
wygaszacz.</description>
+        <description lang="pt">Usar o addon de imagem "The Big Pictures" como 
protecção de ecrã</description>
+        <description lang="pt_BR">O script de imagens "The Big Pictures" como 
proteção de tela</description>
+        <description lang="sv">The Image Script "The Big Pictures" som 
skärmsläckare.</description>
+        <description lang="zh">用“The Big 
Pictures”做屏幕保护的图片脚本。</description>
     </extension>
 </addon>
diff --git a/script.screensaver.bigpictures/changelog.txt 
b/script.screensaver.bigpictures/changelog.txt
index 2f76f56..646ea6d 100644
--- a/script.screensaver.bigpictures/changelog.txt
+++ b/script.screensaver.bigpictures/changelog.txt
@@ -1,3 +1,8 @@
+0.1.1 (23.06.2013)
+ - added preloading of the next image. This improves the sync between image 
and text
+ - fixed screensaver exit on abort requested
+ - added translations
+
 0.1.0 (05.05.2013)
  - added possibility to choose enabled scrapers
 
diff --git 
a/script.screensaver.bigpictures/resources/skins/default/720p/script-The Big 
Pictures Screensaver-main.xml 
b/script.screensaver.bigpictures/resources/skins/default/720p/script-The Big 
Pictures Screensaver-main.xml
index d4f33a3..112d949 100644
--- a/script.screensaver.bigpictures/resources/skins/default/720p/script-The 
Big Pictures Screensaver-main.xml  
+++ b/script.screensaver.bigpictures/resources/skins/default/720p/script-The 
Big Pictures Screensaver-main.xml  
@@ -82,5 +82,13 @@
             <wrapmultiline>true</wrapmultiline>
             <textcolor>FFDDDDDD</textcolor>
         </control>
+        <control type="largeimage" id="30006">
+            <description>The xext big picture (for preloading)</description>
+            <posx>1280</posx>
+            <posy>0</posy>
+            <width>16</width>
+            <height>9</height>
+            <aspectratio>keep</aspectratio>
+        </control>
     </controls>
 </window>
diff --git a/script.screensaver.bigpictures/screensaver.py 
b/script.screensaver.bigpictures/screensaver.py
index b75e94f..825376a 100644
--- a/script.screensaver.bigpictures/screensaver.py
+++ b/script.screensaver.bigpictures/screensaver.py
@@ -50,6 +50,7 @@ class Screensaver(xbmcgui.WindowXMLDialog):
         self.source_control = self.getControl(30003)
         self.title_control = self.getControl(30004)
         self.description_control = self.getControl(30005)
+        self.next_picture_control = self.getControl(30006)
 
         self.picture_duration = (
             int(addon.getSetting('picture_duration')) * 1000
@@ -74,16 +75,20 @@ class Screensaver(xbmcgui.WindowXMLDialog):
             for album in albums:
                 photos = self.scraper_manager.get_photos(album['album_url'])
                 random.shuffle(photos)
-                for photo in photos:
+                for i, photo in enumerate(photos):
                     photo['source'] = (
                         self.scraper_manager.current_scraper.title
                     )
                     self.set_photo(photo)
+                    if i + 1 < len(photos):
+                        next_photo = photos[i + 1]
+                        self.preload_next_photo(next_photo)
                     for i in xrange(self.picture_duration / 500):
                         #self.log('check abort %d' % (i + 1))
                         if self.abort_requested:
                             self.log('slideshow abort_requested')
                             self.exit()
+                            return
                         xbmc.sleep(500)
 
     def set_photo(self, photo):
@@ -97,6 +102,10 @@ class Screensaver(xbmcgui.WindowXMLDialog):
         self.title_control.setLabel(photo['title'])
         self.description_control.setText(photo['description'])
 
+    def preload_next_photo(self, photo):
+        picture_url = photo['pic']
+        self.next_picture_control.setImage(picture_url)
+
     def exit(self):
         self.abort_requested = True
         self.exit_monitor = None

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

Summary of changes:
 script.screensaver.bigpictures/addon.xml           |   24 ++++++++-
 script.screensaver.bigpictures/changelog.txt       |    5 ++
 .../resources/language/Chinese (Simple)/strings.po |   49 ++++++++++++++++++
 .../resources/language/Dutch/strings.po            |   49 ++++++++++++++++++
 .../resources/language/English/strings.po          |   54 ++++++++++++++++++++
 .../resources/language/English/strings.xml         |   13 -----
 .../resources/language/French/strings.po           |   21 ++++++++
 .../resources/language/Galician/strings.po         |   49 ++++++++++++++++++
 .../resources/language/German/strings.po           |   49 ++++++++++++++++++
 .../resources/language/Greek/strings.po            |   49 ++++++++++++++++++
 .../resources/language/Italian/strings.po          |   49 ++++++++++++++++++
 .../resources/language/Polish/strings.po           |   49 ++++++++++++++++++
 .../language/Portuguese (Brazil)/strings.po        |   49 ++++++++++++++++++
 .../resources/language/Portuguese/strings.po       |   49 ++++++++++++++++++
 .../resources/language/Spanish/strings.po          |   49 ++++++++++++++++++
 .../resources/language/Swedish/strings.po          |   49 ++++++++++++++++++
 .../script-The Big Pictures Screensaver-main.xml   |    8 +++
 script.screensaver.bigpictures/screensaver.py      |   11 ++++-
 18 files changed, 660 insertions(+), 15 deletions(-)
 create mode 100644 script.screensaver.bigpictures/resources/language/Chinese 
(Simple)/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/Dutch/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/English/strings.po
 delete mode 100644 
script.screensaver.bigpictures/resources/language/English/strings.xml
 create mode 100644 
script.screensaver.bigpictures/resources/language/French/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/Galician/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/German/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/Greek/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/Italian/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/Polish/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/Portuguese (Brazil)/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/Portuguese/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/Spanish/strings.po
 create mode 100644 
script.screensaver.bigpictures/resources/language/Swedish/strings.po


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to