summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2011-03-26 12:04:14 +0200
committerAntti Ajanki <antti.ajanki@iki.fi>2011-03-26 12:04:14 +0200
commita4b66836deb419577a9b8aa8b10b15879bca1962 (patch)
treef4aefd655d1962653b0e05bd22d34ebafee7a702 /templates
parentd0407db8ed0de92f2726ccea3f9dba443500ab76 (diff)
downloadvdr-plugin-webvideo-a4b66836deb419577a9b8aa8b10b15879bca1962.tar.gz
vdr-plugin-webvideo-a4b66836deb419577a9b8aa8b10b15879bca1962.tar.bz2
Fix metacafe
Diffstat (limited to 'templates')
-rw-r--r--templates/vimeo.com/description.xsl5
-rw-r--r--templates/vimeo.com/navigation.xsl2
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/vimeo.com/description.xsl b/templates/vimeo.com/description.xsl
index 907d6ad..01dc1bb 100644
--- a/templates/vimeo.com/description.xsl
+++ b/templates/vimeo.com/description.xsl
@@ -2,7 +2,8 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:str="http://exslt.org/strings">
+ xmlns:str="http://exslt.org/strings"
+ exclude-result-prefixes="str">
<!-- Convert $seconds to hours:min:sec format -->
<xsl:template name="pretty-print-seconds">
@@ -50,7 +51,7 @@
<link>
<label>Download this video</label>
- <stream>wvt:///vimeo.com/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip:<xsl:value-of select="/videos/video/id"/></stream>
+ <stream>wvt:///vimeo.com/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip:<xsl:value-of select="/videos/video/id"/>&amp;HTTP-header=user-agent,Wget/1.2%20%28linux-gnu%29</stream>
</link>
</wvmenu>
diff --git a/templates/vimeo.com/navigation.xsl b/templates/vimeo.com/navigation.xsl
index ecc40b8..9639686 100644
--- a/templates/vimeo.com/navigation.xsl
+++ b/templates/vimeo.com/navigation.xsl
@@ -6,7 +6,7 @@
<xsl:template match="video">
<link>
<label><xsl:value-of select="title"/></label>
- <stream>wvt:///vimeo.com/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip:<xsl:value-of select="id"/></stream>
+ <stream>wvt:///vimeo.com/video.xsl?srcurl=http://www.vimeo.com/moogaloop/load/clip:<xsl:value-of select="id"/>&amp;HTTP-header=user-agent,Wget/1.2%20%28linux-gnu%29</stream>
<ref>wvt:///vimeo.com/description.xsl?srcurl=http://vimeo.com/api/v2/video/<xsl:value-of select="id"/>.xml</ref>
</link>
</xsl:template>