The branch, eden-pre has been updated
       via  0f69ffe0ff861b8c14a53de28396347c713a503b (commit)
      from  d06dafb0912f4350484381dd21a70d559b5fb2e4 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=0f69ffe0ff861b8c14a53de28396347c713a503b

commit 0f69ffe0ff861b8c14a53de28396347c713a503b
Author: olympia <[email protected]>
Date:   Mon Dec 5 21:06:13 2011 +0100

    [metadata.themoviedb.org] updated to version 2.0.0

diff --git a/metadata.common.themoviedb.org/addon.xml 
b/metadata.common.themoviedb.org/addon.xml
index 196449f..2ffc075 100644
--- a/metadata.common.themoviedb.org/addon.xml
+++ b/metadata.common.themoviedb.org/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.common.themoviedb.org"
        name="The MovieDB common scraper functions"
-       version="1.1.0"
+       version="2.0.0"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
diff --git a/metadata.common.themoviedb.org/tmdb.xml 
b/metadata.common.themoviedb.org/tmdb.xml
index c9b775b..1e9ac72 100644
--- a/metadata.common.themoviedb.org/tmdb.xml
+++ b/metadata.common.themoviedb.org/tmdb.xml
@@ -1,88 +1,164 @@
 <scraperfunctions>
+       <GetTMDBPlotByIdChain dest="4">
+               <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="4">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBPlot&quot; 
cache=&quot;tmdb-$INFO[language]-tt\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
+                               <expression>tt([0-9]+)</expression>
+                       </RegExp>
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBPlot&quot; 
cache=&quot;tmdb-$INFO[language]-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
+                               <expression>^([0-9]+)$</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </GetTMDBPlotByIdChain>
+       <ParseTMDBPlot dest="5">
+               <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
+                       <RegExp input="$$1" 
output="&lt;plot&gt;\1&lt;/plot&gt;" dest="2">
+                               <expression 
fixchars="1">&quot;overview&quot;:&quot;(.*?)&quot;,</expression>
+                       </RegExp>
+                       <RegExp input="$$1" 
output="&lt;outline&gt;\1&lt;/outline&gt;" dest="2+">
+                               <expression 
fixchars="1">&quot;overview&quot;:&quot;(.{180,}?)[.?!]</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </ParseTMDBPlot>
+       <GetTMDBCastByIdChain dest="4">
+               <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="4">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBCast&quot; 
cache=&quot;tmdb-$INFO[language]-tt\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
+                               <expression>tt([0-9]+)</expression>
+                       </RegExp>
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBCast&quot; 
cache=&quot;tmdb-$INFO[language]-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
+                               <expression>^([0-9]+)$</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </GetTMDBCastByIdChain>
+       <ParseTMDBCast dest="5">
+               <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
+                       <RegExp input="$$1" 
output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\2&lt;/role&gt;&lt;/actor&gt;"
 dest="2">
+                               <expression repeat="yes" 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)&quot;,&quot;job&quot;:&quot;Actor&quot;,&quot;department&quot;:&quot;Actors&quot;,&quot;character&quot;:&quot;([^&quot;]*)</expression>
+                       </RegExp>
+                       <RegExp input="$$1" 
output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\2&lt;/role&gt;&lt;thumb&gt;http://\3original\4&lt;/thumb&gt;&lt;/actor&gt;";
 dest="2+">
+                               <expression repeat="yes" 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)&quot;,&quot;job&quot;:&quot;Actor&quot;,&quot;department&quot;:&quot;Actors&quot;,&quot;character&quot;:&quot;([^&quot;]*)&quot;,&quot;id&quot;:[0-9]+,&quot;order&quot;:[0-9]*,&quot;cast_id&quot;:[0-9]*,&quot;url&quot;:&quot;[^&quot;]*&quot;,&quot;profile&quot;:&quot;http://(.*?)w[0-9]+([^&quot;]*)&quot;</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </ParseTMDBCast>
+       <GetTMDBGenresByIdChain dest="4">
+               <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="4">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBGenres&quot; 
cache=&quot;tmdb-$INFO[language]-tt\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
+                               <expression>tt([0-9]+)</expression>
+                       </RegExp>
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBGenres&quot; 
cache=&quot;tmdb-$INFO[language]-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
+                               <expression>^([0-9]+)$</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </GetTMDBGenresByIdChain>
+       <ParseTMDBGenres dest="5">
+               <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
+                       <RegExp input="$$1" output="\1" dest="7">
+                               <expression 
noclean="1">&quot;genres&quot;:\[([^\]]*)</expression>
+                       </RegExp>
+                       <RegExp input="$$7" 
output="&lt;genre&gt;\1&lt;/genre&gt;" dest="2">
+                               <expression repeat="yes" 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </ParseTMDBGenres>
+       <GetTMDBRatingByIdChain dest="4">
+               <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="4">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBRating&quot; 
cache=&quot;tmdb-$INFO[language]-tt\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
+                               <expression>tt([0-9]+)</expression>
+                       </RegExp>
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBRating&quot; 
cache=&quot;tmdb-$INFO[language]-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
+                               <expression>^([0-9]+)$</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </GetTMDBRatingByIdChain>
+       <ParseTMDBRating dest="5">
+               <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
+                       <RegExp input="$$1" 
output="&lt;rating&gt;\1&lt;/rating&gt;" dest="2">
+                               <expression 
noclean="1">&quot;rating&quot;:([^,]*),&quot;</expression>
+                       </RegExp>
+                       <RegExp input="$$1" 
output="&lt;votes&gt;\1&lt;/votes&gt;" dest="2+">
+                               <expression 
noclean="1">&quot;votes&quot;:([0-9]+)</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </ParseTMDBRating>
        <GetTMDBTrailerByIdChain dest="4">
                <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="4">
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBTrailer&quot; 
cache=&quot;tmdb-$INFO[language]-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBTrailer&quot; 
cache=&quot;tmdb-$INFO[language]-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
                                <expression>^([0-9]+)$</expression>
                        </RegExp>
-                       <expression noclean="1"/>
+                       <expression noclean="1" />
                </RegExp>
        </GetTMDBTrailerByIdChain>
        <ParseTMDBTrailer dest="5">
                <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
-                       <RegExp input="$$1" 
output="&lt;trailer&gt;plugin://plugin.video.youtube/?action=play_video&amp;videoid=\1&lt;/trailer&gt;"
 dest="2">
-                               <expression 
noclean="1">&lt;trailer&gt;.*?youtube.com/watch\?v=([^&lt;]*)&lt;/trailer&gt;</expression>
+                       <RegExp input="$$1" 
output="&lt;trailer&gt;plugin://plugin.video.youtube/?action=play_video&amp;videoid=\1&lt;/trailer&gt;"
 dest="2+">
+                               <expression 
noclean="1">&quot;trailer&quot;:&quot;.*?youtube.com/watch\?v=([^&quot;]*)</expression>
                        </RegExp>
                        <expression noclean="1">(.+)</expression>
                </RegExp>
        </ParseTMDBTrailer>
        <GetTMDBFanartByIdChain dest="4">
                <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="4">
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBFanart&quot; 
cache=&quot;tmdb-images-tt\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBFanart&quot; 
cache=&quot;tmdb-images-tt\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
                                <expression>tt([0-9]+)</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBFanart&quot; 
cache=&quot;tmdb-images-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBFanart&quot; 
cache=&quot;tmdb-images-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
                                <expression>^([0-9]+)$</expression>
                        </RegExp>
-                       <expression noclean="1"/>
+                       <expression noclean="1" />
                </RegExp>
        </GetTMDBFanartByIdChain>
        <GetTMDBFanartById dest="4">
                <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="4">
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBFanart&quot; 
cache=&quot;tmdb-images-tt\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBFanart&quot; 
cache=&quot;tmdb-images-tt\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
                                <expression>/tt([0-9]+)</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBFanart&quot; 
cache=&quot;tmdb-images-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBFanart&quot; 
cache=&quot;tmdb-images-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
                                
<expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
                        </RegExp>
-                       <expression noclean="1"/>
+                       <expression noclean="1" />
                </RegExp>
        </GetTMDBFanartById>
        <ParseTMDBFanart dest="5">
                <RegExp input="$$2" 
output="&lt;details&gt;&lt;fanart&gt;\1&lt;/fanart&gt;&lt;/details&gt;" 
dest="5">
-                       <RegExp input="$$1" 
output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="3">
-                               <expression noclean="1" 
repeat="yes">&lt;backdrop[^&gt;]*&gt;(.*?)&lt;/backdrop&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$3" output="&lt;thumb 
preview=&quot;\2&quot;&gt;\1\3&lt;/thumb&gt;" dest="4">
-                               <expression noclean="1,3" 
repeat="yes">&lt;thumb&gt;(.*?)url=&quot;([^&quot;]*)&quot; 
size=&quot;poster&quot;(.*?)&lt;/thumb&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$4" 
output="&lt;thumb\1&gt;\2&lt;/thumb&gt;" dest="2">
-                               <expression repeat="yes" 
noclean="1">&lt;thumb([^&gt;]*)&gt;.*?url=&quot;([^&quot;]*)&quot; 
size=&quot;original&quot;.*?&lt;/thumb&gt;</expression>
+                       <RegExp input="$$1" output="&lt;thumb 
preview=&quot;\1w780\2&quot;&gt;\1original\2&lt;/thumb&gt;" dest="2">
+                               <expression repeat="yes" 
noclean="1">&quot;type&quot;:&quot;backdrop&quot;,&quot;size&quot;:&quot;original&quot;.*?&quot;url&quot;:&quot;(.*?)original([^&quot;]*)</expression>
                        </RegExp>
                        <expression noclean="1">(.+)</expression>
                </RegExp>
        </ParseTMDBFanart>
        <GetTMDBThumbsByIdChain dest="4">
                <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="4">
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBThumbs&quot; 
cache=&quot;tmdb-images-tt\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBThumbs&quot; 
cache=&quot;tmdb-images-tt\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
                                <expression>tt([0-9]+)</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBThumbs&quot; 
cache=&quot;tmdb-images-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBThumbs&quot; 
cache=&quot;tmdb-images-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
                                <expression>^([0-9]+)$</expression>
                        </RegExp>
-                       <expression noclean="1"/>
+                       <expression noclean="1" />
                </RegExp>
        </GetTMDBThumbsByIdChain>
        <GetTMDBThumbsById dest="4">
                <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="4">
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBThumbs&quot; 
cache=&quot;tmdb-images-tt\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBThumbs&quot; 
cache=&quot;tmdb-images-tt\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;";
 dest="5">
                                <expression>/tt([0-9]+)</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBThumbs&quot; 
cache=&quot;tmdb-images-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
+                       <RegExp input="$$1" output="&lt;url 
function=&quot;ParseTMDBThumbs&quot; 
cache=&quot;tmdb-images-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;";
 dest="5">
                                
<expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
                        </RegExp>
-                       <expression noclean="1"/>
+                       <expression noclean="1" />
                </RegExp>
        </GetTMDBThumbsById>
        <ParseTMDBThumbs dest="5">
                <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
-                       <RegExp input="$$1" 
output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="3">
-                               <expression noclean="1" 
repeat="yes">&lt;poster[^&gt;]*&gt;(.*?)&lt;/poster&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$3" output="&lt;thumb 
preview=&quot;\2&quot;&gt;\1\3&lt;/thumb&gt;" dest="4">
-                               <expression noclean="1,3" 
repeat="yes">&lt;thumb&gt;(.*?)url=&quot;([^&quot;]*)&quot; 
size=&quot;mid&quot;(.*?)&lt;/thumb&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$4" 
output="&lt;thumb\1&gt;\2&lt;/thumb&gt;" dest="2">
-                               <expression repeat="yes" 
noclean="1">&lt;thumb([^&gt;]*)&gt;.*?url=&quot;([^&quot;]*)&quot; 
size=&quot;original&quot;.*?&lt;/thumb&gt;</expression>
+                       <RegExp input="$$1" output="&lt;thumb 
preview=&quot;\1w500\2&quot;&gt;\1original\2&lt;/thumb&gt;" dest="2">
+                               <expression repeat="yes" 
noclean="1">&quot;type&quot;:&quot;poster&quot;,&quot;size&quot;:&quot;original&quot;.*?&quot;url&quot;:&quot;(.*?)original([^&quot;]*)</expression>
                        </RegExp>
                        <expression noclean="1">(.+)</expression>
                </RegExp>
diff --git a/metadata.themoviedb.org/addon.xml 
b/metadata.themoviedb.org/addon.xml
index dc9538c..8a31396 100644
--- a/metadata.themoviedb.org/addon.xml
+++ b/metadata.themoviedb.org/addon.xml
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.themoviedb.org"
        name="The MovieDB"
-       version="1.4.5" 
+       version="2.0.0" 
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
-    <import addon="metadata.common.themoviedb.org" version="1.1.0"/>
+    <import addon="metadata.common.themoviedb.org" version="2.0.0"/>
     <import addon="metadata.common.hdtrailers.net" version="1.0.6"/>
     <import addon="metadata.common.imdb.com" version="2.1.3"/>
     <import addon="plugin.video.youtube" version="2.1.0"/>
@@ -18,7 +18,7 @@
     <summary lang="de">Film-Scraper für TheMovieDB</summary>
     <summary lang="es">Scraper de películas de TheMovieDB</summary>
     <summary lang="hu">TMDB filmadat leolvasó</summary>
-    <summary lang="nl">TMDb-filmscraper</summary>       <!--Themoviedb.org 
gebruikt zelf als afkorting TMDb en niet TMDB.--> 
+    <summary lang="nl">TMDb-filmscraper</summary>
     <summary lang="pl">Scraper filmowy TMDB</summary>
     <summary lang="pt">Scraper de filmes TMDb</summary>
     <summary lang="ro">Scraper de filme TMDb</summary>
diff --git a/metadata.themoviedb.org/changelog.txt 
b/metadata.themoviedb.org/changelog.txt
index 5c562d4..8352044 100644
--- a/metadata.themoviedb.org/changelog.txt
+++ b/metadata.themoviedb.org/changelog.txt
@@ -1,3 +1,6 @@
+[B]2.0.0[/B]
+- complete rewrite to use the json api
+
 [B]1.4.5[/B]
 - added: support for IMDb.xx support for NFO scraping
 
diff --git a/metadata.themoviedb.org/resources/language/English/strings.xml 
b/metadata.themoviedb.org/resources/language/English/strings.xml
index 026e1dc..664a610 100644
--- a/metadata.themoviedb.org/resources/language/English/strings.xml
+++ b/metadata.themoviedb.org/resources/language/English/strings.xml
@@ -5,4 +5,5 @@
     <string id="30001">Prefer Trailer from HD-Trailers.net</string>
     <string id="30002">Preferred language</string>
     <string id="30003">Get rating from IMDb</string>
+    <string id="30005">Keep Original Title</string>
 </strings>
diff --git a/metadata.themoviedb.org/resources/language/Hungarian/strings.xml 
b/metadata.themoviedb.org/resources/language/Hungarian/strings.xml
index ff8a1cd..8d2eb32 100644
--- a/metadata.themoviedb.org/resources/language/Hungarian/strings.xml
+++ b/metadata.themoviedb.org/resources/language/Hungarian/strings.xml
@@ -5,4 +5,5 @@
     <string id="30001">Filmelőzetesek inkább a HD-Trailers.net-ről</string>
     <string id="30002">Preferált nyelv</string>
     <string id="30003">Értékelés az IMDb-ről</string>
+    <string id="30005">Eredeti filmcím megtartása</string>
 </strings>
diff --git a/metadata.themoviedb.org/resources/settings.xml 
b/metadata.themoviedb.org/resources/settings.xml
index 871115c..31ba842 100644
--- a/metadata.themoviedb.org/resources/settings.xml
+++ b/metadata.themoviedb.org/resources/settings.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <settings>
+    <setting label="30005" type="bool" id="keeporiginaltitle" default="false"/>
     <setting label="30000" type="bool" id="fanart" default="true"/>
     <setting label="30004" type="bool" id="trailer" default="true"/>
     <setting label="30001" type="labelenum" values="No|480p|720p|1080p" 
id="TrailerQ" default="No"/>
diff --git a/metadata.themoviedb.org/tmdb.xml b/metadata.themoviedb.org/tmdb.xml
index a93cb05..692fed4 100644
--- a/metadata.themoviedb.org/tmdb.xml
+++ b/metadata.themoviedb.org/tmdb.xml
@@ -1,136 +1,136 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<scraper framework="1.1" date="2011-04-25">
-       <CreateSearchUrl dest="3">
-               <RegExp input="$$1" 
output="&lt;url&gt;http://api.themoviedb.org/2.1/Movie.search/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\1$$4&lt;/url&gt;";
 dest="3">
-                       <RegExp input="$$2" output="+\1" dest="4">
-                               <expression clear="yes">(.+)</expression>
-                       </RegExp>
-                       <expression noclean="1"/>
-               </RegExp>
-       </CreateSearchUrl>
-       <NfoUrl dest="3">
-               <RegExp input="$$1" 
output="&lt;details&gt;&lt;url&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;id&gt;\2&lt;/id&gt;&lt;/details&gt;";
 dest="3">
-                       <expression clear="yes" 
noclean="1">(themoviedb.org/movie/)([0-9]*)</expression>
-               </RegExp>
-               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;GetTMDBId&quot;&gt;http://api.themoviedb.org/2.1/Movie.imdbLookup/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;&lt;/details&gt;";
 dest="3+">
-                       <expression>imdb....?/title/tt([0-9]*)</expression>
-               </RegExp>
-               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;GetTMDBId&quot;&gt;http://api.themoviedb.org/2.1/Movie.imdbLookup/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;&lt;/details&gt;";
 dest="3+">
-                       <expression>imdb....?/Title\?([0-9]*)</expression>
-               </RegExp>
-       </NfoUrl>
-       <GetTMDBId dest="3">
-               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
cache=&quot;tmdb-$INFO[language]-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/details&gt;";
 dest="3+">
-                       <expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
-               </RegExp>
-       </GetTMDBId>
-       <GetSearchResults dest="8">
-               <RegExp input="$$3" output="&lt;results&gt;\1&lt;/results&gt;" 
dest="8">
-                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;id&gt;\2&lt;/id&gt;&lt;year&gt;\3&lt;/year&gt;&lt;url
 
cache=&quot;tmdb-$INFO[language]-\2.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;/entity&gt;";
 dest="3">
-                               <expression 
repeat="yes">&lt;movie&gt;.*?&lt;name&gt;([^&lt;]*)&lt;/name&gt;.*?&lt;id&gt;([^&lt;]*)&lt;/id&gt;.*?&lt;released&gt;([0-9]*).*?&lt;/movie&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;id&gt;\2&lt;/id&gt;&lt;year&gt;\3&lt;/year&gt;&lt;url
 
cache=&quot;tmdb-$INFO[language]-\2.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;/entity&gt;";
 dest="3+">
-                               <expression 
repeat="yes">&lt;movie&gt;.*?&lt;original_name&gt;([^&lt;]*)&lt;/original_name&gt;.*?&lt;id&gt;([^&lt;]*)&lt;/id&gt;.*?&lt;released&gt;([0-9]*).*?&lt;/movie&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;id&gt;\2&lt;/id&gt;&lt;year&gt;\3&lt;/year&gt;&lt;url
 
cache=&quot;tmdb-$INFO[language]-\2.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;/entity&gt;";
 dest="3+">
-                               <expression 
repeat="yes">&lt;movie&gt;.*?&lt;alternative_name&gt;([^&lt;]*)&lt;/alternative_name&gt;.*?&lt;id&gt;([^&lt;]*)&lt;/id&gt;.*?&lt;released&gt;([0-9]*).*?&lt;/movie&gt;</expression>
-                       </RegExp>
-                       <expression noclean="1"/>
-               </RegExp>
-       </GetSearchResults>
-       <GetDetails dest="3">
-               <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="3">
-                       <RegExp input="$$1" output="&lt;id&gt;\1&lt;/id&gt;" 
dest="5">
-                               <expression 
noclean="1">&lt;id&gt;([^&lt;]*)&lt;/id&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" output="&lt;id&gt;\1&lt;/id&gt;" 
dest="5+">
-                               <expression clear="yes" 
noclean="1">&lt;imdb_id&gt;([^&lt;]*)&lt;/imdb_id&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;title&gt;\1&lt;/title&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;name&gt;([^&lt;]*)&lt;/name&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;originaltitle&gt;\1&lt;/originaltitle&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;original_name&gt;([^&lt;]*)&lt;/original_name&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;released&gt;([0-9]+)-</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;runtime&gt;([^&lt;]*)&lt;/runtime&gt;</expression>
-                       </RegExp>
-                       <RegExp conditional="!imdbrating" input="$$1" 
output="&lt;rating&gt;\1&lt;/rating&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;rating&gt;([^&lt;]*)&lt;/rating&gt;</expression>
-                       </RegExp>
-                       <RegExp conditional="!imdbrating" input="$$1" 
output="&lt;votes&gt;\1&lt;/votes&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;votes&gt;([^&lt;]*)&lt;/votes&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;tagline&gt;\1&lt;/tagline&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;tagline&gt;([^&lt;]*)&lt;/tagline&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" output="\1" dest="6">
-                               
<expression>&lt;certification&gt;([^&lt;]*)&lt;/certification&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$6" output="&lt;mpaa&gt;Rated 
\1&lt;/mpaa&gt;" dest="5+">
-                               <expression>(.+)</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
-                               <expression noclean="1" 
repeat="yes">&lt;category type=&quot;genre&quot; 
name=&quot;([^&quot;]*)&quot;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;studio&gt;\1&lt;/studio&gt;" dest="5+">
-                               <expression noclean="1">&lt;studio 
name=&quot;([^&quot;]*)&quot;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;country&gt;\1&lt;/country&gt;" dest="5+">
-                               <expression noclean="1" 
repeat="yes">&lt;country name=&quot;([^&quot;]*)&quot;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;overview&gt;([^&lt;]*)&lt;/overview&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;overview&gt;\1&lt;/overview&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;overview&gt;([^&lt;]*)&lt;/overview&gt;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;director&gt;\1&lt;/director&gt;" dest="5+">
-                               <expression noclean="1" 
repeat="yes">&lt;person.*?name=&quot;([^&quot;]*)&quot; character=&quot;&quot; 
job=&quot;Director&quot;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;credits&gt;\1&lt;/credits&gt;" dest="5+">
-                               <expression noclean="1" 
repeat="yes">&lt;person.*?name=&quot;([^&quot;]*)&quot; character=&quot;&quot; 
job=&quot;Screenplay&quot;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\2&lt;/role&gt;&lt;/actor&gt;"
 dest="5+">
-                               <expression noclean="1" 
repeat="yes">&lt;person.*?name=&quot;([^&quot;]*)&quot; 
character=&quot;([^&quot;]*)&quot; job=&quot;Actor&quot;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\2&lt;/role&gt;&lt;thumb&gt;http://\4original\5&lt;/thumb&gt;&lt;/actor&gt;";
 dest="5+">
-                               <expression noclean="1" 
repeat="yes">&lt;person.*?name=&quot;([^&quot;]*)&quot; 
character=&quot;([^&quot;]*)&quot; job=&quot;Actor&quot; 
id=&quot;([0-9]+)&quot; 
thumb=&quot;http://(.*?)w45([^&quot;]*)&quot;</expression>
-                       </RegExp>
-                       <RegExp input="$$2" output="&lt;chain 
function=&quot;GetTMDBThumbsByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
-                               <expression/>
-                       </RegExp>
-                       <RegExp conditional="fanart" input="$$2" 
output="&lt;chain 
function=&quot;GetTMDBFanartByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
-                               <expression/>
-                       </RegExp>
-                       <RegExp conditional="trailer" input="$$2" 
output="&lt;chain 
function=&quot;GetTMDBTrailerByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
-                               <expression/>
-                       </RegExp>
-                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet480p&quot;&gt;$$6&lt;/chain&gt;" dest="5+">
-                               <RegExp input="$$1" output="\1" dest="6">
-                                       <expression 
noclean="1">&lt;original_name&gt;([^&lt;]*)&lt;/original_name&gt;</expression>
-                               </RegExp>
-                               <expression>480p</expression>
-                       </RegExp>
-                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet720p&quot;&gt;$$6&lt;/chain&gt;" dest="5+">
-                               <RegExp input="$$1" output="\1" dest="6">
-                                       <expression 
noclean="1">&lt;original_name&gt;([^&lt;]*)&lt;/original_name&gt;</expression>
-                               </RegExp>
-                               <expression>720p</expression>
-                       </RegExp>
-                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet1080p&quot;&gt;$$6&lt;/chain&gt;" dest="5+">
-                               <RegExp input="$$1" output="\1" dest="6">
-                                       <expression 
noclean="1">&lt;original_name&gt;([^&lt;]*)&lt;/original_name&gt;</expression>
-                               </RegExp>
-                               <expression>1080p</expression>
-                       </RegExp>
-                       <RegExp conditional="imdbrating" input="$$1" 
output="&lt;chain function=&quot;GetIMDBRatingById&quot;&gt;\1&lt;/chain&gt;" 
dest="5+">
-                               <expression 
noclean="1">&lt;imdb_id&gt;([^&lt;]*)&lt;/imdb_id&gt;</expression>
-                       </RegExp>
-                       <expression noclean="1"/>
-               </RegExp>
-       </GetDetails>
-</scraper>
+<?xml version="1.0" encoding="UTF-8"?>

+<scraper framework="1.1" date="2010-10-11">

+       <CreateSearchUrl dest="3">

+               <RegExp input="$$1" 
output="&lt;url&gt;http://api.themoviedb.org/2.1/Movie.search/$INFO[language]/json/57983e31fb435df4df77afb854740ea9/\1$$4&lt;/url&gt;";
 dest="3">

+                       <RegExp input="$$2" output="+\1" dest="4">

+                               <expression clear="yes">(.+)</expression>

+                       </RegExp>

+                       <expression noclean="1" />

+               </RegExp>

+       </CreateSearchUrl>

+       <NfoUrl dest="3">

+               <RegExp input="$$1" 
output="&lt;details&gt;&lt;url&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/json/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;id&gt;\2&lt;/id&gt;&lt;/details&gt;";
 dest="3">

+                       <expression clear="yes" 
noclean="1">(themoviedb.org/movie/)([0-9]*)</expression>

+               </RegExp>

+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;GetTMDBId&quot;&gt;http://api.themoviedb.org/2.1/Movie.imdbLookup/$INFO[language]/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;&lt;/details&gt;";
 dest="3+">

+                       <expression>imdb....?/title/tt([0-9]*)</expression>

+               </RegExp>

+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;GetTMDBId&quot;&gt;http://api.themoviedb.org/2.1/Movie.imdbLookup/$INFO[language]/json/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;&lt;/details&gt;";
 dest="3+">

+                       <expression>imdb....?/Title\?([0-9]*)</expression>

+               </RegExp>

+       </NfoUrl>

+       <GetTMDBId dest="3">

+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
cache=&quot;tmdb-$INFO[language]-\1.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/json/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/details&gt;";
 dest="3+">

+                       <expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>

+               </RegExp>

+       </GetTMDBId>

+       <GetSearchResults dest="8">

+               <RegExp input="$$3" output="&lt;results&gt;\1&lt;/results&gt;" 
dest="8">

+                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;id&gt;\2&lt;/id&gt;&lt;year&gt;\3&lt;/year&gt;&lt;url
 
cache=&quot;tmdb-$INFO[language]-\2.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/json/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;/entity&gt;";
 dest="3">

+                               <expression 
repeat="yes">&quot;name&quot;:&quot;([^&quot;]*).*?&quot;id&quot;:([^,]*).*?&quot;released&quot;:&quot;([0-9]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;id&gt;\2&lt;/id&gt;&lt;year&gt;\3&lt;/year&gt;&lt;url
 
cache=&quot;tmdb-$INFO[language]-\2.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/json/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;/entity&gt;";
 dest="3+">

+                               <expression 
repeat="yes">&quot;original_name&quot;:&quot;([^&quot;]*).*?&quot;id&quot;:([^,]*).*?&quot;released&quot;:&quot;([0-9]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;id&gt;\2&lt;/id&gt;&lt;year&gt;\3&lt;/year&gt;&lt;url
 
cache=&quot;tmdb-$INFO[language]-\2.json&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/json/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;/entity&gt;";
 dest="3+">

+                               <expression 
repeat="yes">&quot;alternative_name&quot;:&quot;([^&quot;]*).*?&quot;id&quot;:([^,]*).*?&quot;released&quot;:&quot;([0-9]*)</expression>

+                       </RegExp>

+                       <expression noclean="1" />

+               </RegExp>

+       </GetSearchResults>

+       <GetDetails dest="3">

+               <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="3">

+                       <RegExp input="$$1" output="&lt;id&gt;\1&lt;/id&gt;" 
dest="5">

+                               <expression 
noclean="1">&quot;movie&quot;,&quot;id&quot;:([0-9]*),</expression>

+                       </RegExp>

+                       <RegExp input="$$1" output="&lt;id&gt;\1&lt;/id&gt;" 
dest="5+">

+                               <expression clear="yes" 
noclean="1">&quot;movie&quot;,&quot;id&quot;:[0-9]*,&quot;imdb_id&quot;:&quot;([^&quot;]*)</expression>

+                       </RegExp>

+                       <RegExp conditional="keeporiginaltitle" input="$$1" 
output="&lt;title&gt;\1&lt;/title&gt;" dest="5+">

+                               <expression 
fixchars="1">&quot;original_name&quot;:&quot;([^&quot;]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" 
output="&lt;title&gt;\1&lt;/title&gt;" dest="5+">

+                               <expression 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" 
output="&lt;originaltitle&gt;\1&lt;/originaltitle&gt;" dest="5+">

+                               <expression 
fixchars="1">&quot;original_name&quot;:&quot;([^&quot;]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" 
output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">

+                               <expression 
noclean="1">&quot;released&quot;:&quot;([0-9]+)-</expression>

+                       </RegExp>

+                       <RegExp input="$$1" 
output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="5+">

+                               <expression 
noclean="1">&quot;runtime&quot;:([0-9]+)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" 
output="&lt;tagline&gt;\1&lt;/tagline&gt;" dest="5+">

+                               <expression 
fixchars="1">&quot;tagline&quot;:&quot;([^&quot;]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" output="\1" dest="6">

+                               
<expression>&quot;certification&quot;:&quot;([^&quot;]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$6" output="&lt;mpaa&gt;Rated 
\1&lt;/mpaa&gt;" dest="5+">

+                               <expression>(.+)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" output="\1" dest="7">

+                               <expression clear="yes" 
noclean="1">&quot;studios&quot;:\[([^\]]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$7" 
output="&lt;studio&gt;\1&lt;/studio&gt;" dest="5+">

+                               <expression trim="1" 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" output="\1" dest="7">

+                               <expression clear="yes" 
noclean="1">&quot;countries&quot;:\[([^\]]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$7" 
output="&lt;country&gt;\1&lt;/country&gt;" dest="5+">

+                               <expression trim="1" 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$1" 
output="&lt;director&gt;\1&lt;/director&gt;" dest="5+">

+                               <expression repeat="yes" 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)&quot;,&quot;job&quot;:&quot;Director&quot;</expression>

+                       </RegExp>

+                       <RegExp input="$$1" 
output="&lt;credits&gt;\1&lt;/credits&gt;" dest="5+">

+                               <expression repeat="yes" 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)&quot;,&quot;job&quot;:&quot;[^&quot;]*&quot;,&quot;department&quot;:&quot;Writing&quot;</expression>

+                       </RegExp>

+                       <RegExp conditional="!imdbrating" input="$$2" 
output="&lt;chain 
function=&quot;GetTMDBRatingByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">

+                               <expression />

+                       </RegExp>

+                       <RegExp input="$$2" output="&lt;chain 
function=&quot;GetTMDBPlotByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">

+                               <expression />

+                       </RegExp>

+                       <RegExp input="$$2" output="&lt;chain 
function=&quot;GetTMDBCastByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">

+                               <expression />

+                       </RegExp>

+                       <RegExp input="$$2" output="&lt;chain 
function=&quot;GetTMDBGenresByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">

+                               <expression />

+                       </RegExp>

+                       <RegExp conditional="imdbrating" input="$$1" 
output="&lt;chain function=&quot;GetIMDBRatingById&quot;&gt;\1&lt;/chain&gt;" 
dest="5+">

+                               <expression 
noclean="1">&quot;movie&quot;,&quot;id&quot;:[0-9]*,&quot;imdb_id&quot;:&quot;([^&quot;]*)</expression>

+                       </RegExp>

+                       <RegExp input="$$2" output="&lt;chain 
function=&quot;GetTMDBThumbsByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">

+                               <expression />

+                       </RegExp>

+                       <RegExp conditional="fanart" input="$$2" 
output="&lt;chain 
function=&quot;GetTMDBFanartByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">

+                               <expression />

+                       </RegExp>

+                       <RegExp conditional="trailer" input="$$2" 
output="&lt;chain 
function=&quot;GetTMDBTrailerByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">

+                               <expression />

+                       </RegExp>

+                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet480p&quot;&gt;$$6&lt;/chain&gt;" dest="5+">

+                               <RegExp input="$$1" output="\1" dest="6">

+                                       <expression 
noclean="1">&quot;original_name&quot;:&quot;([^&quot;]*)</expression>

+                               </RegExp>

+                               <expression>480p</expression>

+                       </RegExp>

+                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet720p&quot;&gt;$$6&lt;/chain&gt;" dest="5+">

+                               <RegExp input="$$1" output="\1" dest="6">

+                                       <expression 
noclean="1">&quot;original_name&quot;:&quot;([^&quot;]*)</expression>

+                               </RegExp>

+                               <expression>720p</expression>

+                       </RegExp>

+                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet1080p&quot;&gt;$$6&lt;/chain&gt;" dest="5+">

+                               <RegExp input="$$1" output="\1" dest="6">

+                                       <expression 
noclean="1">&quot;original_name&quot;:&quot;([^&quot;]*)</expression>

+                               </RegExp>

+                               <expression>1080p</expression>

+                       </RegExp>

+                       <expression noclean="1" />

+               </RegExp>

+       </GetDetails>

+</scraper>
\ No newline at end of file

-----------------------------------------------------------------------

Summary of changes:
 metadata.common.themoviedb.org/addon.xml           |    2 +-
 metadata.common.themoviedb.org/tmdb.xml            |  140 ++++++++---
 metadata.themoviedb.org/addon.xml                  |    6 +-
 metadata.themoviedb.org/changelog.txt              |    3 +
 .../resources/language/English/strings.xml         |    1 +
 .../resources/language/Hungarian/strings.xml       |    1 +
 metadata.themoviedb.org/resources/settings.xml     |    1 +
 metadata.themoviedb.org/tmdb.xml                   |  272 ++++++++++----------
 8 files changed, 254 insertions(+), 172 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to