The branch, gotham has been updated
       via  92f3998a1d7c29adb3b38f8790f2e4911d96554b (commit)
      from  2ab6ca451fb77538f87e7267bc0586d33d94871c (commit)

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

commit 92f3998a1d7c29adb3b38f8790f2e4911d96554b
Author: Martijn Kaijser <mcm.kaij...@gmail.com>
Date:   Sat May 17 14:17:11 2014 +0200

    [service.library.data.provider] 0.0.2

diff --git a/service.library.data.provider/addon.xml 
b/service.library.data.provider/addon.xml
index 4822836..53eb224 100644
--- a/service.library.data.provider/addon.xml
+++ b/service.library.data.provider/addon.xml
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
-<addon id="service.library.data.provider" name="Library Data Provider" 
provider-name="BigNoid, Unfledged, Martijn" version="0.0.1">
+<addon id="service.library.data.provider" name="Library Data Provider" 
provider-name="BigNoid, Unfledged, Martijn" version="0.0.2">
     <requires>
         <import addon="xbmc.addon" version="12.0.0"/>
         <import addon="xbmc.json" version="6.0.0"/>
diff --git a/service.library.data.provider/default.py 
b/service.library.data.provider/default.py
index de486b9..43b54e7 100644
--- a/service.library.data.provider/default.py
+++ b/service.library.data.provider/default.py
@@ -120,8 +120,8 @@ class Main:
                     liz.setInfo( type="Video", infoLabels={ "OriginalTitle": 
item['originaltitle'] })
                     liz.setInfo( type="Video", infoLabels={ "Year": 
item['year'] })
                     liz.setInfo( type="Video", infoLabels={ "Genre": " / 
".join(item['genre']) })
-                    liz.setInfo( type="Video", infoLabels={ "Studio": 
item['studio'][0] })
-                    liz.setInfo( type="Video", infoLabels={ "Country": 
item['country'][0] })
+                    liz.setInfo( type="Video", infoLabels={ "Studio": 
item.get('studio' })
+                    liz.setInfo( type="Video", infoLabels={ "Country": 
item.get('country') })
                     liz.setInfo( type="Video", infoLabels={ "Plot": plot })
                     liz.setInfo( type="Video", infoLabels={ "PlotOutline": 
item['plotoutline'] })
                     liz.setInfo( type="Video", infoLabels={ "Tagline": 
item['tagline'] })
@@ -180,7 +180,7 @@ class Main:
                         liz.setInfo( type="Video", infoLabels={ "Title": 
item2['title'] })
                         liz.setInfo( type="Video", infoLabels={ "Episode": 
item2['episode'] })
                         liz.setInfo( type="Video", infoLabels={ "Season": 
item2['season'] })
-                        liz.setInfo( type="Video", infoLabels={ "Studio": 
item['studio'][0] })
+                        liz.setInfo( type="Video", infoLabels={ "Studio": 
item.get('studio') })
                         liz.setInfo( type="Video", infoLabels={ "Premiered": 
item2['firstaired'] })
                         liz.setInfo( type="Video", infoLabels={ "Plot": plot })
                         liz.setInfo( type="Video", infoLabels={ "TVshowTitle": 
item2['showtitle'] })

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

Summary of changes:
 service.library.data.provider/addon.xml  |    2 +-
 service.library.data.provider/default.py |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to