2009-11-18, 12:08
The file tmdb.xml in the common path are incorrect in the function GetTMDBThumbsById.
When extract the IMDB id the result would be "XXXXXX" or "/ttXXXXXX".
GetTMDBFanartById
In red mark the diference, we need delete the "/" and change the expressions
for
[Castellano]
El archivo tmdb.xml tiene una funcion con un fallo. La funcion GetTMDBThumbsById.
Cuando se extrae el ID de IMDB.com, el resultado puede ser "XXXXXXX" o "/ttXXXXXXX", segun la expresion.
La API de themoviedb requiere el id con el formato "ttXXXXXXX".
Hay una barra "/" de mas (marcada en rojo) en el formato de salida de la funcion GetTMDBThumbsById, por lo que deberia fallar la extraccion de los poster.
[/Castellano]
When extract the IMDB id the result would be "XXXXXX" or "/ttXXXXXX".
Quote:<expression>(<id>([0-9]*)</id>|/tt([0-9]*))</expression>
GetTMDBFanartById
Quote:<RegExp input="$$1" output="<url function="GetTMDBFanart" cache="tmdb-images-\1.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9\1</url>" dest="5">GetTMDBThumbsById
Quote:<RegExp input="$$1" output="<url function="GetTMDBThumbs" cache="tmdb-images-\1.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1</url>" dest="5">
In red mark the diference, we need delete the "/" and change the expressions
Quote:(<id>([0-9]*)</id>|/tt([0-9]*))
for
Quote:(/tt([0-9]*))
[Castellano]
El archivo tmdb.xml tiene una funcion con un fallo. La funcion GetTMDBThumbsById.
Cuando se extrae el ID de IMDB.com, el resultado puede ser "XXXXXXX" o "/ttXXXXXXX", segun la expresion.
La API de themoviedb requiere el id con el formato "ttXXXXXXX".
Hay una barra "/" de mas (marcada en rojo) en el formato de salida de la funcion GetTMDBThumbsById, por lo que deberia fallar la extraccion de los poster.
[/Castellano]