2010-12-16, 07:37
OK, trying a more minimal example, I trimmed my OPML file to the following:
but still get errors:
Code:
?xml version="1.0" encoding="UTF-8"?>
<opml version="1.1">
<head>
<title>NPR Podcast Directory</title>
<dateCreated>Sat, 15 Oct 2005 00:00:00 -0400 </dateCreated>
<dateModified>Tue, 14 Dec 2010 05:28:49 -0500</dateModified>
<ownerName>NPR</ownerName>
<ownerEmail>[email protected]</ownerEmail>
</head>
<body>
<outline text="BySource">
<outline
text="On The Media NPR/WNYC"
title="On The Media NPR/WNYC"
type="rss"
version="RSS"
imageHref=""
description="In an era of information overload, On the Media helps you make sense of it all. A weekly program from National Public Radio and WNYC, New York Public Radio."
typicalDurationMins=""
orgId="553"
topicId="1008"
orgName="WNYC-AM"
topicName="Arts &amp; Life"
xmlUrl="http://feeds.wnyc.org/onthemedia"
htmlUrl=""
/>
</outline>
</body>
</opml>
but still get errors:
Code:
00:31:44 T:140445909681936 M:1912217600 ERROR: Error Type: exceptions.IndexError
00:31:44 T:140445909681936 M:1912217600 ERROR: Error Contents: list index out of range
00:31:44 T:140445909681936 M:1912344576 ERROR: Traceback (most recent call last):
File "/home/myth/.xbmc/addons/plugin.audio.podcatcher/default.py", line 105, in ?
opmlFile.displayMenu(path);
File "/home/myth/.xbmc/addons/plugin.audio.podcatcher/feedreader/opml.py", line 108, in displayMenu
self.opmlFolder.displayMenu(path);
File "/home/myth/.xbmc/addons/plugin.audio.podcatcher/feedreader/opml.py", line 46, in displayMenu
self.gui.buildMenuEntry(element);
File "/home/myth/.xbmc/addons/plugin.audio.podcatcher/simplexbmc.py", line 80, in buildMenuEntry
if(menuElement.hasUnreadItems()):
File "/home/myth/.xbmc/addons/plugin.audio.podcatcher/feedreader/opml.py", line 80, in hasUnreadItems
if(element.hasUnreadItems()):
File "/home/myth/.xbmc/addons/plugin.audio.podcatcher/feedreader/__init__.py", line 89, in hasUnreadItems
self.loadFeed();
File "/home/myth/.xbmc/addons/plugin.audio.podcatcher/feedreader/__init__.py", line 97, in loadFeed
self.updateFeed();
File "/home/myth/.xbmc/addons/plugin.audio.podcatcher/feedreader/rss.py", line 60, in updateFeed
enclosureNode = itemNode.getElementsByTagName("enclosure")[0];
IndexError: list index out of range