The branch, frodo has been updated
via c24f425ddcd6c39aa987f9afc09d106e25d03327 (commit)
from 61f202fa70eadc2251f3f1e495ad49d4458e1088 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=c24f425ddcd6c39aa987f9afc09d106e25d03327
commit c24f425ddcd6c39aa987f9afc09d106e25d03327
Author: beenje <[email protected]>
Date: Sun Jun 9 22:06:31 2013 +0200
[plugin.video.g4tv] updated to version 3.0.2
diff --git a/plugin.video.g4tv/addon.xml b/plugin.video.g4tv/addon.xml
index 88afb57..11ce620 100644
--- a/plugin.video.g4tv/addon.xml
+++ b/plugin.video.g4tv/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.g4tv"
name="G4TV"
- version="3.0.1"
+ version="3.0.2"
provider-name="stacked">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
@@ -17,5 +17,9 @@
<description lang="en">G4TV is the one destination on television that
feeds your addiction for the latest must-have tech gadgets, web culture and
video games.</description>
<platform>all</platform>
<language>en</language>
+ <website>https://code.google.com/p/plugin</website>
+ <source>https://github.com/stacked/plugin.video.g4tv</source>
+ <forum>http://forum.xbmc.org/showthread.php?tid=43556</forum>
+ <email>[email protected]</email>
</extension>
</addon>
diff --git a/plugin.video.g4tv/changelog.txt b/plugin.video.g4tv/changelog.txt
index dafb144..3a856d2 100644
--- a/plugin.video.g4tv/changelog.txt
+++ b/plugin.video.g4tv/changelog.txt
@@ -1,3 +1,7 @@
+[B]Version 3.0.2[/B]
+
+- Fixed 'AttributeError' when using the search function
+
[B]Version 3.0.1[/B]
- Fixed 'Script failed!' Error
diff --git a/plugin.video.g4tv/default.py b/plugin.video.g4tv/default.py
index f05d20c..cf68956 100644
--- a/plugin.video.g4tv/default.py
+++ b/plugin.video.g4tv/default.py
@@ -4,8 +4,8 @@ import xbmc, xbmcgui, xbmcplugin, xbmcaddon, urllib, re,
string, sys, os, buggal
plugin = 'G4TV'
__author__ = 'stacked <[email protected]>'
__url__ = 'http://code.google.com/p/plugin/'
-__date__ = '01-21-2013'
-__version__ = '3.0.1'
+__date__ = '06-09-2013'
+__version__ = '3.0.2'
settings = xbmcaddon.Addon(id='plugin.video.g4tv')
buggalo.SUBMIT_URL = 'http://www.xbmc.byethost17.com/submit.php'
dbg = False
@@ -61,8 +61,11 @@ def build_sub_directory(name, type):
def build_video_directory(name, url):
if name == settings.getLocalizedString( 30012 ):
- searchr = common.getUserInput(settings.getLocalizedString(
30001 ), "").replace(' ','%20')
- url = 'http://g4tv.com/videos/?sort=mostrecent&q='+ searchr
+'&ajax=true'
+ searchr = common.getUserInput(settings.getLocalizedString(
30001 ), "")
+ if searchr == None:
+ build_main_directory()
+ return
+ url = 'http://g4tv.com/videos/?sort=mostrecent&q='+
searchr.replace(' ','%20') +'&ajax=true'
nexturl = url
html = getUrl(url + '&page=' + str(page))
wrap1 = common.parseDOM(html, "div", attrs = { "class": "li-wrap-1" })
@@ -76,6 +79,7 @@ def build_video_directory(name, url):
if len(img) == 0:
dialog = xbmcgui.Dialog()
ok = dialog.ok( plugin , settings.getLocalizedString( 30002 ) +
'\n' + settings.getLocalizedString( 30003 ) )
+ build_main_directory()
return
for item_count in range(len(img)):
if common.stripTags(info[item_count]).find('Views') == -1:
-----------------------------------------------------------------------
Summary of changes:
plugin.video.g4tv/addon.xml | 6 +++++-
plugin.video.g4tv/changelog.txt | 4 ++++
plugin.video.g4tv/default.py | 12 ++++++++----
3 files changed, 17 insertions(+), 5 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons