Mario Lange wrote:
> Hi
>
> I have some problems with a bunch of Vpodcasts. Some are working, some are
> not working. Ive tested some of them, and my result are as follow:
>
> -> ('Die Sendung mit der Maus', 'http://podcast.wdr.de/maus.xml'), WORKING!!
> GOOD EXTENSION!!
>
> -> ('RTL Exclusiv', 'http://rtl-rtl-exclusiv.feedplace.de/rss'), NOT WOKING
> BAD/NO EXTENSION
>
> Log shows the following Info:
>
> [code]
> 2008-12-28 21:59:21,611 INFO No Type found by Extension. Trying all
> 2008-12-28 21:59:21,814 INFO Invalid header
> 2008-12-28 21:59:21,885 INFO trying mpeg-pes scan
> [/code]
>
> It seems, that every Feed without an extension like *.xml *.asp or
> *.xml?60_128345 produces the error on the logfiles. I can navigate to the
> Podcast, but no movie starts. The moviefile is only a html file linked to the
> original podcast url... :-(
You can try this patch:
Index: src/video/plugins/vpodcast.py
===================================================================
--- src/video/plugins/vpodcast.py (revision 11224)
+++ src/video/plugins/vpodcast.py (working copy)
@@ -351,6 +351,11 @@
def rss_item_link(self, item):
""" get the item's link """
self.link = item.link.encode(self.encoding)
+ if 'links' in item:
+ for link in item.links:
+ if link.type.startswith('video'):
+ self.link = link.href.encode(self.encoding)
+ break
return self.link
You may want to remove the line:
self.link = item.link.encode(self.encoding)
The problem was that the RTL feed uses the link for something else.
<link>http://rtl-rtl-exclusiv.feedplace.de/post/rtl-exclusiv-29122008-1/</link>
<enclosure
url="http://rtl-rtl-exclusiv.feedplace.de/files/RTL_exclusiv_20081229.mp4"
length="57175392" type="video/mp4"/>
Where as most feeds use the link to the video file.
Duncan
------------------------------------------------------------------------------
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users