The branch, eden-pre has been updated
       via  7f0c10c0dfa9c56448176963c67ff6a0fdfa1bef (commit)
      from  7db5d01ac3b3c9bb1a16ccd7586ecbe08d5bdf53 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=7f0c10c0dfa9c56448176963c67ff6a0fdfa1bef

commit 7f0c10c0dfa9c56448176963c67ff6a0fdfa1bef
Author: spiff <[email protected]>
Date:   Tue Nov 29 10:47:34 2011 +0100

    [plugin.video.giantbomb] updated to version 3.5

diff --git a/plugin.video.giantbomb/addon.xml b/plugin.video.giantbomb/addon.xml
index 8767918..766ebfc 100644
--- a/plugin.video.giantbomb/addon.xml
+++ b/plugin.video.giantbomb/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.video.giantbomb"
        name="Giant Bomb"
-       version="3.3"
+       version="3.5"
        provider-name="Whiskey Media">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
diff --git a/plugin.video.giantbomb/changelog.txt 
b/plugin.video.giantbomb/changelog.txt
index 0a65fc2..c4edfda 100644
--- a/plugin.video.giantbomb/changelog.txt
+++ b/plugin.video.giantbomb/changelog.txt
@@ -1,3 +1,9 @@
+[B]3.5[/B]
+- Added Chrono Trigger endurance run submenu
+
+[B]3.4[/B]
+- Fixed bug with search for non-subscribers
+
 [B]3.3[/B]
 - Version bump and minor compatibility changes for Eden branch
 
diff --git a/plugin.video.giantbomb/default.py 
b/plugin.video.giantbomb/default.py
index 0839694..f205f2c 100644
--- a/plugin.video.giantbomb/default.py
+++ b/plugin.video.giantbomb/default.py
@@ -65,6 +65,7 @@ def GET_API_KEY(link_code):
 
 def INDEX(url):
     if my_addon.getSetting('api_key'):
+        global API_KEY
         API_KEY = my_addon.getSetting('api_key')
 
     if url == 'search':
@@ -89,12 +90,14 @@ def INDEX(url):
                 ok = dialog.ok("We're really sorry, but...", "We could not 
link your account.", "Make sure the code you entered is correct", "and try 
again.")
             CATEGORIES()
     else:
+        addDir('Chrono Trigger', url + '&CT', 2, '')
         addDir('Deadly Premonition', url + '&DP', 2, '')
         addDir('Persona 4', url + '&P4', 2, '')
         addDir('The Matrix Online: Not Like This', url + '&MO', 2, '')
 
 def VIDEOLINKS(url, name):
     if my_addon.getSetting('api_key'):
+        global API_KEY
         API_KEY = my_addon.getSetting('api_key')
 
     q_setting = int(my_addon.getSetting('quality'))
@@ -104,8 +107,12 @@ def VIDEOLINKS(url, name):
     elif q_setting == 2:
         quality = 'high_url'
 
-    if url.endswith('&DP'):
-        response = urllib2.urlopen(API_PATH + '/videos/?api_key=' + API_KEY + 
'&video_type=5&offset=161&format=json')
+    if url.endswith('&CT'):
+        response = urllib2.urlopen(API_PATH + '/videos/?api_key=' + API_KEY + 
'&video_type=5&offset=240&format=json')
+        video_data = simplejson.loads(response.read())['results']
+        response.close()
+    elif url.endswith('&DP'):
+        response = urllib2.urlopen(API_PATH + '/videos/?api_key=' + API_KEY + 
'&video_type=5&offset=161&limit=79&format=json')
         video_data = simplejson.loads(response.read())['results']
         response.close()
     elif url.endswith('&P4'):

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

Summary of changes:
 plugin.video.giantbomb/addon.xml     |    2 +-
 plugin.video.giantbomb/changelog.txt |    6 ++++++
 plugin.video.giantbomb/default.py    |   11 +++++++++--
 3 files changed, 16 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to