aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.themoviedb.org
diff options
context:
space:
mode:
authortheuni <theuni-nospam-@xbmc.org>2011-12-10 23:49:01 -0500
committertheuni <theuni-nospam-@xbmc.org>2011-12-10 23:49:01 -0500
commit555e08116675e2266f925b42207f7ea166678d17 (patch)
treece4e5d6a117f06eed98b9ead458e9a4f1bcc22f3 /addons/metadata.themoviedb.org
parent77ca58984fb5fad46e087e7d8a08a79003d15530 (diff)
sync: tmdb with addons repo
Diffstat (limited to 'addons/metadata.themoviedb.org')
-rw-r--r--addons/metadata.themoviedb.org/addon.xml23
-rw-r--r--addons/metadata.themoviedb.org/changelog.txt46
-rw-r--r--addons/metadata.themoviedb.org/resources/language/English/strings.xml4
-rw-r--r--addons/metadata.themoviedb.org/resources/language/Finnish/strings.xml7
-rw-r--r--addons/metadata.themoviedb.org/resources/language/German/strings.xml1
-rw-r--r--addons/metadata.themoviedb.org/resources/language/Hungarian/strings.xml4
-rw-r--r--addons/metadata.themoviedb.org/resources/language/Portuguese/strings.xml1
-rw-r--r--addons/metadata.themoviedb.org/resources/language/Romanian/strings.xml3
-rw-r--r--addons/metadata.themoviedb.org/resources/language/Slovenian/strings.xml7
-rw-r--r--addons/metadata.themoviedb.org/resources/language/Spanish/strings.xml6
-rw-r--r--addons/metadata.themoviedb.org/resources/language/Swedish/strings.xml3
-rw-r--r--addons/metadata.themoviedb.org/resources/settings.xml4
-rw-r--r--addons/metadata.themoviedb.org/tmdb.xml129
13 files changed, 135 insertions, 103 deletions
diff --git a/addons/metadata.themoviedb.org/addon.xml b/addons/metadata.themoviedb.org/addon.xml
index 209fc0c209..ecd87d1839 100644
--- a/addons/metadata.themoviedb.org/addon.xml
+++ b/addons/metadata.themoviedb.org/addon.xml
@@ -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>
diff --git a/addons/metadata.themoviedb.org/changelog.txt b/addons/metadata.themoviedb.org/changelog.txt
index 9c889b1cdc..dfe20b4c99 100644
--- a/addons/metadata.themoviedb.org/changelog.txt
+++ b/addons/metadata.themoviedb.org/changelog.txt
@@ -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
diff --git a/addons/metadata.themoviedb.org/resources/language/English/strings.xml b/addons/metadata.themoviedb.org/resources/language/English/strings.xml
index 0030780683..664a610fc2 100644
--- a/addons/metadata.themoviedb.org/resources/language/English/strings.xml
+++ b/addons/metadata.themoviedb.org/resources/language/English/strings.xml
@@ -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
index 3c6a46534b..0000000000
--- a/addons/metadata.themoviedb.org/resources/language/Finnish/strings.xml
+++ /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>
diff --git a/addons/metadata.themoviedb.org/resources/language/German/strings.xml b/addons/metadata.themoviedb.org/resources/language/German/strings.xml
index 02e440e481..eac664069b 100644
--- a/addons/metadata.themoviedb.org/resources/language/German/strings.xml
+++ b/addons/metadata.themoviedb.org/resources/language/German/strings.xml
@@ -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>
diff --git a/addons/metadata.themoviedb.org/resources/language/Hungarian/strings.xml b/addons/metadata.themoviedb.org/resources/language/Hungarian/strings.xml
index f1e947f20f..8d2eb32aae 100644
--- a/addons/metadata.themoviedb.org/resources/language/Hungarian/strings.xml
+++ b/addons/metadata.themoviedb.org/resources/language/Hungarian/strings.xml
@@ -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>
diff --git a/addons/metadata.themoviedb.org/resources/language/Portuguese/strings.xml b/addons/metadata.themoviedb.org/resources/language/Portuguese/strings.xml
index 5e76d6801a..61ac93be1c 100644
--- a/addons/metadata.themoviedb.org/resources/language/Portuguese/strings.xml
+++ b/addons/metadata.themoviedb.org/resources/language/Portuguese/strings.xml
@@ -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>
diff --git a/addons/metadata.themoviedb.org/resources/language/Romanian/strings.xml b/addons/metadata.themoviedb.org/resources/language/Romanian/strings.xml
index a0934eb326..b035f30efb 100644
--- a/addons/metadata.themoviedb.org/resources/language/Romanian/strings.xml
+++ b/addons/metadata.themoviedb.org/resources/language/Romanian/strings.xml
@@ -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
index 60f311e115..0000000000
--- a/addons/metadata.themoviedb.org/resources/language/Slovenian/strings.xml
+++ /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>
diff --git a/addons/metadata.themoviedb.org/resources/language/Spanish/strings.xml b/addons/metadata.themoviedb.org/resources/language/Spanish/strings.xml
index 470993c00d..e9f411e635 100644
--- a/addons/metadata.themoviedb.org/resources/language/Spanish/strings.xml
+++ b/addons/metadata.themoviedb.org/resources/language/Spanish/strings.xml
@@ -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>
diff --git a/addons/metadata.themoviedb.org/resources/language/Swedish/strings.xml b/addons/metadata.themoviedb.org/resources/language/Swedish/strings.xml
index d97c2e2d03..a7811583ee 100644
--- a/addons/metadata.themoviedb.org/resources/language/Swedish/strings.xml
+++ b/addons/metadata.themoviedb.org/resources/language/Swedish/strings.xml
@@ -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
diff --git a/addons/metadata.themoviedb.org/resources/settings.xml b/addons/metadata.themoviedb.org/resources/settings.xml
index eb35274594..31ba8421ef 100644
--- a/addons/metadata.themoviedb.org/resources/settings.xml
+++ b/addons/metadata.themoviedb.org/resources/settings.xml
@@ -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>
diff --git a/addons/metadata.themoviedb.org/tmdb.xml b/addons/metadata.themoviedb.org/tmdb.xml
index 63411b93b5..baba466877 100644
--- a/addons/metadata.themoviedb.org/tmdb.xml
+++ b/addons/metadata.themoviedb.org/tmdb.xml
@@ -1,139 +1,136 @@
-<?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>