sync: tmdb with addons repo
authortheuni <theuni-nospam-@xbmc.org>
Sun, 11 Dec 2011 04:49:01 +0000 (23:49 -0500)
committertheuni <theuni-nospam-@xbmc.org>
Sun, 11 Dec 2011 04:49:01 +0000 (23:49 -0500)
15 files changed:
addons/metadata.common.themoviedb.org/addon.xml
addons/metadata.common.themoviedb.org/tmdb.xml
addons/metadata.themoviedb.org/addon.xml
addons/metadata.themoviedb.org/changelog.txt
addons/metadata.themoviedb.org/resources/language/English/strings.xml
addons/metadata.themoviedb.org/resources/language/Finnish/strings.xml [deleted file]
addons/metadata.themoviedb.org/resources/language/German/strings.xml
addons/metadata.themoviedb.org/resources/language/Hungarian/strings.xml
addons/metadata.themoviedb.org/resources/language/Portuguese/strings.xml
addons/metadata.themoviedb.org/resources/language/Romanian/strings.xml
addons/metadata.themoviedb.org/resources/language/Slovenian/strings.xml [deleted file]
addons/metadata.themoviedb.org/resources/language/Spanish/strings.xml
addons/metadata.themoviedb.org/resources/language/Swedish/strings.xml
addons/metadata.themoviedb.org/resources/settings.xml
addons/metadata.themoviedb.org/tmdb.xml

index 0759c89..2ffc075 100644 (file)
@@ -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.0.7"
+       version="2.0.0"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
index cbf50d0..1e9ac72 100644 (file)
 <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.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" />
+               </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">&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>
index 209fc0c..ecd87d1 100644 (file)
@@ -1,39 +1,38 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.themoviedb.org"
        name="The MovieDB"
-       version="1.2.0"
+       version="2.0.1"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
-    <import addon="metadata.common.themoviedb.org" version="1.0.7"/>
-    <import addon="metadata.common.hdtrailers.net" version="1.0.4"/>
-    <import addon="metadata.common.imdb.com" version="2.0.5"/>
+    <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"/>
   </requires>
   <extension point="xbmc.metadata.scraper.movies"
              language="en"
              library="tmdb.xml"/>
   <extension point="xbmc.addon.metadata">
-    <summary lang="en">TMDb Movie Scraper</summary>
+    <summary lang="en">TMDB Movie Scraper</summary>
     <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 Film Scraper</summary>
-    <summary lang="pl">Scraper filmów TMDB</summary>
+    <summary lang="nl">TMDb-filmscraper</summary>
+    <summary lang="pl">Scraper filmowy TMDB</summary>
     <summary lang="pt">Scraper de filmes TMDb</summary>
-    <summary lang="ro">Catalog de filme TMDb</summary>
+    <summary lang="ro">Scraper de filme TMDb</summary>
     <summary lang="ru">Обработчик Фильмов для TMDB</summary>
-    <summary lang="se">Filmskrapa för TMDB</summary>
     <summary lang="zh">TMDB电影刮削器</summary>
     <description lang="en">themoviedb.org is a free and open movie database. It's completely user driven by people like you. TMDb is currently used by millions of people every month and with their powerful API, it is also used by many popular media centers like XBMC to retrieve Movie Metadata, Posters and Fanart to enrich the user's experience.</description>
     <description lang="de">TheMovieDB.org ist eine freie und offene Film-Datenbank. Sie wird nur User wie dir betrieben. TheMovieDB wird zur Zeit monatlich von Millionen genutzt. Mit der mächtigen API wird sie auch von vielen Media-Center, wie z.B. XBMC, genutzt um Filme-Meta-Daten, Poster und Fanrts zu beziehen, damit der User sein Media-Center verschönern kann</description>
     <description lang="es">themovieDB.org es una base de datos de películas gratuita y abierta. Es una página web que se basa en contenido subido por los usuarios. TMDb es usada diariamente por mucha gente gracias a su API, que es usada por más programas aparte de XBMC para descargar información de películas así como Posters o Fanart (Fondos de escritorio basados en películas usados en distintos skins) para enriquecer la experiencia de usar XBMC.</description>
     <description lang="hu">A themoviedb.org egy ingyenes és nyílt filmadatbázis. Teljes egészében olyan felhasználók töltik fel, mint például Te. A TMDb-t havonta emberek milliói használják és a hatékony API-n keresztül számos népszerű média center is, mint például az XBMC a filmadatok, poszterek, fanartképek letöltésére.</description>
-    <description lang="nl">themoviedb.org is een vrije en open film databank. Het wordt compleet aangedreven door gebruikers zoals jezelf. TMDb wordt momenteel maandelijks gebruikt door miljoenen mensen. Hun krachtige API maakt het voor mediaspelers zoals XBMC mogelijk om voor een film bijkomende informatie, posters en fanarts op te halen.</description>
+    <description lang="nl">Themoviedb.org is een vrije en open filmdatabank. Gebruikers zoals jij vormen de motor van deze site. Op dit moment gebruiken elke maand miljoenen mensen TMDb. De krachtige API van de site laat mediacenters zoals XBMC toe om metadata, posters en fanart op te halen en zo de gebruikerservaring te verrijken.</description>
     <description lang="pl">themoviedb.org jest wolną i otwartą filmową bazą danych. Jest zarządzana całkowicie przez osoby takie jak Ty. Obecnie odwiedzają ją miliony osób miesięcznie, a dzięki dostępności API jest używana w wielu media center, takich jak XBMC, do pobierania informacji o filmach, plakatów i fanartów.</description>
     <description lang="pt">O themoviedb.org é uma base de dados de filmes livre e aberta. É completamente actualizado por pessoas como você e usado por milhões todos os meses. Com o poderoso motor de busca disponível, também se tornou no favorito de muitos softwares média center, como o popular XBMC, para obter informação, posters e fanart que enriquecem a experiência do utilizador.</description>
-    <description lang="ro">themoviedb.org este o bază de date de filme deschisă și gratuită. Este actualizată de oameni ca dumneavoastră. TMDb este curent folosită de milioane de oameni în fiecare lună și datorită API-ului puternic, este de asemenea folosită de multe centre media populare ca XBMC pentru a obține informații despre filme, afișe și imagini realizate de fani (Fanart) care îmbogățesc experiența utilizatorului.</description>
+    <description lang="ro">themoviedb.org este o bază de date de filme gratuită și deschisă. Este actualizată de oameni ca și tine. TMDb este curent folosită de milioane de oameni în fiecare lună și datorită API-ului puternic, este de asemena folosită de multe centre media populare ca XBMC pentru a obține informații despre filme, afișe și imagini produse de fani (Fanart) care îmbogățesc experiența utilizatorului.</description>
     <description lang="ru">themoviedb.org это бесплатная и открытая база данных фильмов. Она полностью поддерживается такими же людьми как и ты. В данный момент TMDb используется миллионами людей каждый месяц, и, с его мощным API, используется различными популярными медиа-центрами, такими как XBMC, для получения к Фильмам мета-данных, постеров и фанарта в целях улучшения пользовательского опыта.</description>
-    <description lang="se">themoviedb.org är en fri och öppen filmdatabas. Den drivs helt av personer som dig. TMDb används av miljoner människor varje månad och med hjälp av deras kraftfulla API, är det också använt av många populära mediacenter som XBMC för att hämta film-metadata, omslag och fanart för att berika användarens upplevelse.</description>
     <description lang="zh">themoviedb.org是一个开放和自由的电影数据库。它完全由象你一样的用户来掌控。TMDb每月为上百万用户提供服务,并通过强大的API界面为许多流行的媒体中心系统如XBMC提供电影资料、封面海报和同人画以丰富用户的体验。</description>
     <platform>all</platform>
   </extension>
index 9c889b1..dfe20b4 100644 (file)
@@ -1,3 +1,49 @@
+[B]2.0.1[/B]
+- fixed: imdb url nfo not resolving tmdb id
+
+[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
+
+[B]1.4.4[/B]
+- fixed: actor thumb scraping was broken due to API changes
+
+[B]1.4.3[/B]
+- fixed: use imdb ID from nfo
+- changed: scrape only one studio
+
+[B]1.4.2[/B]
+- fixed: url/mixed nfo scraping
+
+[B]1.4.1[/B]
+- fixed: IMDb rating after site change 
+
+[B]1.4.0[/B]
+- added: trailer scraping from TMDB via youtube plugin
+
+[B]1.3.1[/B]
+- fixed: added year to search string properly
+
+[B]1.3.0[/B]
+- added: year to search string
+
+[B]1.2.5[/B]
+- fixed: mpaa is returning string 'Rated' if there is no rating on tmdb
+
+[B]1.2.4[/B]
+- fixed: not scraping artwork for movies without IMDb id
+
+[B]1.2.3[/B]
+- fixed: can't get full search results list when some have <released> message and some haven't
+
+[B]1.2.2[/B]
+- fixed: real fix for hd-trailers.net
+
+[B]1.2.1[/B]
+- fixed: trailer scraping from hd-trailers.net
+
 [B]1.2.0[/B]
 - Added option to scrape rating from IMDb
 
index 0030780..664a610 100644 (file)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <strings>
     <string id="30000">Enable Fanart</string>
-    <string id="30001">Enable Trailers from HD-Trailers.net</string>
+    <string id="30004">Enable Trailer</string>
+    <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/addons/metadata.themoviedb.org/resources/language/Finnish/strings.xml b/addons/metadata.themoviedb.org/resources/language/Finnish/strings.xml
deleted file mode 100644 (file)
index 3c6a465..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<strings>
-    <string id="30000">Fanitaide käytössä</string>
-    <string id="30001">Käytä trailereita HD-Trailers.net -sivustolta</string>
-    <string id="30002">Kieli</string>
-    <string id="30003">Hae arvosana IMDb:stä</string>
-</strings>
index 02e440e..eac6640 100644 (file)
@@ -3,4 +3,5 @@
     <string id="30000">Aktiviere Fanart</string>
     <string id="30001">Aktiviere Trailer von HD-Trailers.net</string>
     <string id="30002">Bevorzugte Sprache</string>
+    <string id="30003">Bewertung von IMDb nutzen</string>
 </strings>
index f1e947f..8d2eb32 100644 (file)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <strings>
     <string id="30000">Fanartképek engedélyezése</string>
-    <string id="30001">Filmelőzetesek a HD-Trailers.net-ről</string>
+    <string id="30004">Filmelőzetesek engedélyezése</string>
+    <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>
index 5e76d68..61ac93b 100644 (file)
@@ -2,4 +2,5 @@
 <strings>
     <string id="30000">Ligar Fanart</string>
     <string id="30001">Ligar trailers de HD-Trailers.net</string>
+    <string id="30002">Língua preferida</string>
 </strings>
index a0934eb..b035f30 100644 (file)
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <strings>
-    <string id="30000">Activează imagini de fundal realizate de fani (Fanart)</string>
+    <string id="30000">Activează Fanart</string>
     <string id="30001">Activează trailere de la HD-Trailers.net</string>
     <string id="30002">Limbă preferată</string>
-    <string id="30003">Ia nota de pe IMDb</string>
 </strings>
diff --git a/addons/metadata.themoviedb.org/resources/language/Slovenian/strings.xml b/addons/metadata.themoviedb.org/resources/language/Slovenian/strings.xml
deleted file mode 100644 (file)
index 60f311e..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<strings>
-    <string id="30000">Vključi ozadja</string>
-    <string id="30001">Vključi napovednike s HD-Trailers.net</string>
-    <string id="30002">Jezik</string>
-    <string id="30003">Prenesi oceno z IMDb</string>
-</strings>
index 470993c..e9f411e 100644 (file)
@@ -1,7 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <strings>
-    <string id="30000">Activar Fanart</string>
+    <string id="30000">Descargar Fanart</string>
     <string id="30001">Activar Trailers de HD-Trailers.net</string>
-    <string id="30002">Idioma preferido</string>
-    <string id="30003">Obtener la puntuación de IMDb</string>
 </strings>
index d97c2e2..a781158 100644 (file)
@@ -2,11 +2,10 @@
 <!--Language file translated with Team XBMC Translator-->
 <!--Translator: blittan-->
 <!--Email: blittan@xbmc.org-->
-<!--Date of translation: 11/19/2010-->
+<!--Date of translation: 09/11/2010-->
 <!--$Revision$-->
 <strings>
   <string id="30000">Aktivera fanart</string>
   <string id="30001">Aktivera trailers från HD-Trailers.net</string>
   <string id="30002">Föredraget språk</string>
-  <string id="30003">Hämta betyg från IMDb</string>
 </strings>
\ No newline at end of file
index eb35274..31ba842 100644 (file)
@@ -1,7 +1,9 @@
 <?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="30001" type="labelenum" values="No|480p|720p|1080p" id="TrailerQ" default="480p"/>
+    <setting label="30004" type="bool" id="trailer" default="true"/>
+    <setting label="30001" type="labelenum" values="No|480p|720p|1080p" id="TrailerQ" default="No"/>
     <setting label="30002" type="labelenum" values="da|fi|nl|de|it|es|fr|pl|hu|el|tr|ru|he|ja|pt|zh|cs|sl|hr|ko|en|sv|no" id="language" default="en"/>
     <setting label="30003" type="bool" id="imdbrating" default="false"/>
 </settings>
index 63411b9..baba466 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>
+<?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]/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;" 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"/>
+                       <expression noclean="1" />
                </RegExp>
        </CreateSearchUrl>
        <NfoUrl dest="3">
-               <RegExp input="$$1" output="&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;" 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]/xml/57983e31fb435df4df77afb854740ea9/tt\2&lt;/url&gt;&lt;/details&gt;" dest="3+">
-                       <expression>(imdb.com/title/tt)([0-9]*)</expression>
+               <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]/xml/57983e31fb435df4df77afb854740ea9/tt\2&lt;/url&gt;&lt;/details&gt;" dest="3+">
-                       <expression>(imdb.com/)Title\?([0-9]+)</expression>
+               <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;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;" dest="3+">
-                       <expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
+               <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>&quot;movie&quot;,&quot;id&quot;:([0-9]*),</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 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.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 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.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 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>
-                       <RegExp input="$$1" output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;id&gt;\2&lt;/id&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;&lt;/released&gt;.*?&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;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;&lt;/released&gt;.*?&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;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;&lt;/released&gt;.*?&lt;/movie&gt;</expression>
-                       </RegExp>
-                       <expression noclean="1"/>
+                       <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>
+                               <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">&lt;imdb_id&gt;([^&lt;]*)&lt;/imdb_id&gt;</expression>
+                               <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 noclean="1">&lt;name&gt;([^&lt;]*)&lt;/name&gt;</expression>
+                               <expression fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</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>
+                               <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">&lt;released&gt;([0-9]+)-</expression>
+                               <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">&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 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>
+                               <expression noclean="1">&quot;runtime&quot;:([0-9]+)</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>
+                               <expression fixchars="1">&quot;tagline&quot;:&quot;([^&quot;]*)</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;mpaa&gt;Rated \1&lt;/mpaa&gt;" dest="5+">
-                               <expression>&lt;certification&gt;([^&lt;]*)&lt;/certification&gt;</expression>
+                       <RegExp input="$$1" output="\1" dest="6">
+                               <expression>&quot;certification&quot;:&quot;([^&quot;]*)</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 input="$$6" output="&lt;mpaa&gt;Rated \1&lt;/mpaa&gt;" dest="5+">
+                               <expression>(.+)</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;studio&gt;\1&lt;/studio&gt;" dest="5+">
-                               <expression noclean="1" repeat="yes">&lt;studio name=&quot;([^&quot;]*)&quot;</expression>
+                       <RegExp input="$$1" output="\1" dest="7">
+                               <expression clear="yes" noclean="1">&quot;studios&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 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="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
-                               <expression noclean="1">&lt;overview&gt;([^&lt;]*)&lt;/overview&gt;</expression>
+                       <RegExp input="$$1" output="\1" dest="7">
+                               <expression clear="yes" noclean="1">&quot;countries&quot;:\[([^\]]*)</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 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 noclean="1" repeat="yes">&lt;person.*?name=&quot;([^&quot;]*)&quot; character=&quot;&quot; job=&quot;Director&quot;</expression>
+                               <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 noclean="1" repeat="yes">&lt;person.*?name=&quot;([^&quot;]*)&quot; character=&quot;&quot; job=&quot;Screenplay&quot;</expression>
+                               <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="$$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 input="$$2" output="&lt;chain function=&quot;GetTMDBCastByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
+                               <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://\4-original\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://(.*?)-thumb([^&quot;]*)&quot;</expression>
+                       <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/>
+                               <expression />
                        </RegExp>
                        <RegExp conditional="fanart" input="$$2" output="&lt;chain function=&quot;GetTMDBFanartByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
-                               <expression/>
+                               <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>
+                                       <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">&lt;original_name&gt;([^&lt;]*)&lt;/original_name&gt;</expression>
+                                       <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">&lt;original_name&gt;([^&lt;]*)&lt;/original_name&gt;</expression>
+                                       <expression noclean="1">&quot;original_name&quot;:&quot;([^&quot;]*)</expression>
                                </RegExp>
                                <expression>1080p</expression>
                        </RegExp>
-                       <expression noclean="1"/>
+                       <expression noclean="1" />
                </RegExp>
        </GetDetails>
 </scraper>