FAQ  •  Register  •  Login

[DONE] http://www.rtve.es

<<

nachotheix

Streaming enthusiast

Posts: 31

Joined: Sun Feb 20, 2011 9:22 pm

Post Fri Nov 11, 2011 3:56 pm

[DONE] http://www.rtve.es

I'm trying to add this feed
http://www.rtve.es/api/programas/1705/contents.mrss
but my Samsung 37C6000 is not able to show anything.

A new plugin is needed?

Thanks.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Nov 11, 2011 4:11 pm

Re: http://www.rtve.es

yes
<<

nachotheix

Streaming enthusiast

Posts: 31

Joined: Sun Feb 20, 2011 9:22 pm

Post Sun Nov 13, 2011 12:45 am

Re: http://www.rtve.es

I can't understand how to program a new plugin.

Why this RSS is not supported? RSS is not standard?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 13, 2011 12:48 am

Re: http://www.rtve.es

<<

nachotheix

Streaming enthusiast

Posts: 31

Joined: Sun Feb 20, 2011 9:22 pm

Post Sun Nov 13, 2011 4:04 pm

Re: http://www.rtve.es

I've just read plugin development guide but i don't know what i have to do. I suppose I have to transform RSS into another RSS compatible with serviio system, but i think this RSS is ok.
<item>
<title>Redes - El alma está en la red del cerebro - avance</title>
<link>http://www.rtve.es/alacarta/videos/redes/redes-alma-esta-red-del-cerebro-avance/1246966/</link>
<description>&lt;div&gt;&lt;img src="http://img.irtve.es/imagenes/redes-alma-esta-red-del-cerebro-avance/1321021422726.jpg" /&gt;&lt;/div&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Antes se pensaba que las ideas, los recuerdos o los conocimientos estaban alojados en distintos módulos cerebrales. El neurocientífico español radicado en los Estados Unidos, Joaquim Fuster, fue uno de los primeros en desafiar este concepto y proponer que la memoria surge de la interconexión de la gran red que es el cerebro. En este capítulo de Redes, Punset y Fuster charlan sobre la creación de los recuerdos y sobre los distinto tipos de memoria. También desarrollamos los 12 consejos del neurocientífico Paco Mora para mantener un cerebro saludable.&lt;/P&gt;&lt;div&gt;&lt;a href="http://www.rtve.es/alacarta/videos/redes/redes-alma-esta-red-del-cerebro-avance/1246966/"&gt;Ver vídeo&lt;/a&gt;&lt;/div&gt;&lt;img src="http://secure-uk.imrworldwide.com/cgi-bin/m?ci=es-rssrtve&amp;cg=F-N-B-TETVE-TEPROGRA-TECIETEC-TESREDES&amp;si=http://www.rtve.es/alacarta/videos/redes/redes-alma-esta-red-del-cerebro-avance/1246966/" alt=""/&gt;</description>
<enclosure url="http://img.irtve.es/imagenes/redes-alma-esta-red-del-cerebro-avance/1321021422726.jpg" length="15" type="image/jpeg" />
<category>Televisión/Programas de TVE/Ciencia y Tecnología/Redes</category>
<category>Tags Libres/Eduard Punset</category>
<pubDate>Fri, 11 Nov 2011 14:23:00 GMT</pubDate>
<guid>http://rtve.es/v/1246966</guid>
</item>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 13, 2011 5:31 pm

Re: http://www.rtve.es

Serviio will parse the RSS but it has no idea where the actual video file is, there is no such an information. The only thing there is is the URL of the web site where you can watch the video in a web player:

  Code:
http://www.rtve.es/alacarta/videos/redes/redes-alma-esta-red-del-cerebro-avance/1246966/


Serviio will pass this link to the plugin and then you have to write the plugin so that it transforms this URL into the actual video file (.mp4, .flv, ...). Basically you have to sniff the traffic between the web player and the video server to get the content URL.
<<

nachotheix

Streaming enthusiast

Posts: 31

Joined: Sun Feb 20, 2011 9:22 pm

Post Sun Nov 13, 2011 8:16 pm

Re: http://www.rtve.es

I've just discovered how convert this link, but i don't know how program it.

link: http://www.rtve.es/alacarta/videos/rede ... ro-avance/1246966

a) http://www.rtve.es/swf/data/es/videos/video/6/6/9/6/1246966.xml (last 4 digits are important)

b) This XML end with assetDataId::783904

c) http://www.rtve.es/scd/CONTENTS/ASSET_DATA_VIDEO/4/0/9/3/ASSET_DATA_VIDEO-783904.xml (last 4 digit for url in inverse order like before)

d) This XML start with defaultLocation="/deliverty/demo/resources/mp4/6/8/1321021430186.mp4"

e) URL of media is http://www.rtve.es/resources/TE_NGVA/mp4/6/8/1321021430186.mp4
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Nov 13, 2011 9:16 pm

Re: http://www.rtve.es

None of these are valid rss feeds so Serviio will not process them and call a groovy.

This explanation of feeds and groovys might help. http://wiki.serviio.org/doku.php?id=serviio_groovy_plugins_explained
<<

nachotheix

Streaming enthusiast

Posts: 31

Joined: Sun Feb 20, 2011 9:22 pm

Post Mon Nov 14, 2011 10:30 pm

Re: http://www.rtve.es

I've converted original XML with a PHP script in my Web Server, but this XML reponse doesn't works neither. Why?

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Redes</title>
<link>http://www.rtve.es/alacarta/videos/redes/</link>
<description>El economista Eduard Punset presenta este espacio de divulgación científica. El contenido del programa
abarca la medicina, la química, las Tecnologías de la Información y la Comunicación y todas aquellas disciplinas que pue
dan englobarse bajo el paradigma de la ciencia.</description>
<language>es</language>
<pubDate>Mon, 14 Nov 2011 22:21:05 GMT</pubDate>
<image>
<title>1705</title>
<url>http://img.irtve.es/imagenes/redes/1290782376815.png</url>
<link>http://www.rtve.es/alacarta/videos/redes/</link>
</image>
<item>
<title>Redes - El alma está en la red del cerebro</title>
<pubDate>Sun, 13 Nov 2011 20:31:00 GMT</pubDate>
<enclosure url="http://www.rtve.es/resources/TE_NGVA/mp4/8/9/1321222427098.mp4" type="video/mp4"/></item>
<item>
<title>Redes - El alma está en la red del cerebro - avance</title>
<pubDate>Fri, 11 Nov 2011 14:23:00 GMT</pubDate>
<enclosure url="http://www.rtve.es/resources/TE_NGVA/mp4/6/8/1321021430186.mp4" type="video/mp4"/></item>
<item>
<title>Redes - Lo que importa son los demás</title>
<pubDate>Sun, 06 Nov 2011 20:32:00 GMT</pubDate>
<enclosure url="http://www.rtve.es/resources/TE_NGVA/mp4/2/3/1320615570332.mp4" type="video/mp4"/></item>
<item>
<title>Redes - Lo que importa son los demás (V.O.)</title>
<pubDate>Sun, 06 Nov 2011 20:32:00 GMT</pubDate>
<enclosure url="http://www.rtve.es/resources/TE_NGVA/mp4/3/8/1320615570983.mp4" type="video/mp4"/></item>
<item>
<title>Redes - Lo que importa son los demás - avance</title>
<pubDate>Fri, 04 Nov 2011 11:18:00 GMT</pubDate>
<enclosure url="http://www.rtve.es/resources/TE_NGVA/mp4/8/8/1320405527088.mp4" type="video/mp4"/></item>
......
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Nov 15, 2011 12:31 am

Re: http://www.rtve.es

What is the error?
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Nov 15, 2011 2:51 am

Re: http://www.rtve.es

How are you invoking this rss feed xml?
<<

nachotheix

Streaming enthusiast

Posts: 31

Joined: Sun Feb 20, 2011 9:22 pm

Post Tue Nov 15, 2011 10:55 am

Re: http://www.rtve.es

URL -> http://mywebserver.x.x/TV/rtve.php

In my TV Samsung I can't see i new feed named Redes [mywebserver.x.x]

Thanks
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Nov 15, 2011 11:02 am

Re: http://www.rtve.es

is there something in the (detailed) logs?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Nov 16, 2011 6:43 pm

Re: http://www.rtve.es

I've done the plugin, didn't try it myself but it's following your guide.

viewtopic.php?f=20&t=4092#p26928

Return to Plugin requests

Who is online

Users browsing this forum: No registered users and 21 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.