The branch, eden-pre has been updated
       via  2a6450ea0b97b2ad26b93a11e0b74b4f4279f080 (commit)
      from  6d9326cec080e43c922a8d45f72829438a9420a9 (commit)

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

commit 2a6450ea0b97b2ad26b93a11e0b74b4f4279f080
Author: spiff <[email protected]>
Date:   Mon Feb 13 21:14:23 2012 +0100

    [plugin.audio.podcatcher] updated to version 0.1.5

diff --git a/plugin.audio.podcatcher/addon.xml 
b/plugin.audio.podcatcher/addon.xml
index 9204e36..0b8f574 100644
--- a/plugin.audio.podcatcher/addon.xml
+++ b/plugin.audio.podcatcher/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <addon
   id="plugin.audio.podcatcher"
-  version="0.1.4"
+  version="0.1.5"
   name="AudioPodcatcher"
   provider-name="Raptor 2101 [[email protected]]">
   <requires>
diff --git a/plugin.audio.podcatcher/changelog.txt 
b/plugin.audio.podcatcher/changelog.txt
index 442d489..80627cd 100644
--- a/plugin.audio.podcatcher/changelog.txt
+++ b/plugin.audio.podcatcher/changelog.txt
@@ -1,3 +1,4 @@
+version 0.1.5 - FIX: Minor Bugfixes 
 version 0.1.4 - FIX: Bugfixing/Thumbnails from divestoclimb                    
                                                                                
                                
                 ADD: backgroundDownloader 
 version 0.1.3 - FIX: Change to eden-pre-interface
diff --git a/plugin.audio.podcatcher/feedreader/rss.py 
b/plugin.audio.podcatcher/feedreader/rss.py
index 8cb09f8..fdb3ba2 100644
--- a/plugin.audio.podcatcher/feedreader/rss.py
+++ b/plugin.audio.podcatcher/feedreader/rss.py
@@ -63,17 +63,21 @@ class RssFeed (Feed):
             feedItem.size = 0;
             feedItem.link = 
self.parseIndirectItem(self.readText(itemNode,"link"));
           
-          descriptionNode = itemNode.getElementsByTagName("itunes:summary");
-          if(len(descriptionNode)>0):
-            descriptionNode = descriptionNode[0];
-          else:
-            descriptionNode = itemNode.getElementsByTagName("description")[0];
+          try:
+            descriptionNode = itemNode.getElementsByTagName("itunes:summary");
+            if(len(descriptionNode)>0):
+              descriptionNode = descriptionNode[0];
+            else:
+              descriptionNode = 
itemNode.getElementsByTagName("description")[0];
+            
           
-          if descriptionNode.firstChild is not None:
-            feedItem.description = descriptionNode.firstChild.data;
-          else:
+            if descriptionNode.firstChild is not None:
+              feedItem.description = descriptionNode.firstChild.data;
+            else:
+              feedItem.description = "";
+          except:
             feedItem.description = "";
-          
+  
           link = findPicLink.search(feedItem.description)
           if(link is not None):
             link = link.group().replace("src=","").replace("\"","");
@@ -85,6 +89,10 @@ class RssFeed (Feed):
           feedItems.append(feedItem);
         except:
           self.gui.log("Error while parsing item: %s"%itemNode.toxml());
+          self.gui.log("Exception: ");
+          traceback.print_exc();
+          self.gui.log("Stacktrace: ");
+          traceback.print_stack();
       
       sortedList = sorted(feedItems, key = lambda item:item.date, 
reverse=True);  
       
diff --git a/plugin.audio.podcatcher/simplexbmc.py 
b/plugin.audio.podcatcher/simplexbmc.py
index 055d504..322a4cb 100644
--- a/plugin.audio.podcatcher/simplexbmc.py
+++ b/plugin.audio.podcatcher/simplexbmc.py
@@ -29,9 +29,9 @@ class SimpleXbmcGui(object):
     
   def log(self, msg):
     if type(msg) not in (str, unicode):
-      xbmc.output("[%s]: %s" % (__plugin__, type(msg)))
+      xbmc.log("[%s]: %s" % (__plugin__, type(msg)))
     else:
-      xbmc.output("[%s]: %s" % (__plugin__, msg.encode('utf8')))
+      xbmc.log("[%s]: %s" % (__plugin__, msg.encode('utf8')))
   
   def buildMediaItem(self, element, markUnread):
     if(element.subTitle == ""):
@@ -149,4 +149,4 @@ class SimpleXbmcGui(object):
     if(e == None):
       xbmcgui.Dialog().ok( title, msg, e )  
     else:
-      xbmcgui.Dialog().ok( title, msg)  
\ No newline at end of file
+      xbmcgui.Dialog().ok( title, msg)  

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

Summary of changes:
 plugin.audio.podcatcher/addon.xml         |    2 +-
 plugin.audio.podcatcher/changelog.txt     |    1 +
 plugin.audio.podcatcher/feedreader/rss.py |   26 +++++++++++++++++---------
 plugin.audio.podcatcher/simplexbmc.py     |    6 +++---
 4 files changed, 22 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to