aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.common.themoviedb.org
diff options
context:
space:
mode:
authorMartijn Kaijser <mcm.kaijser@gmail.com>2012-12-02 00:55:35 +0100
committerMartijn Kaijser <mcm.kaijser@gmail.com>2012-12-02 00:55:35 +0100
commitd073e255fee4b393e3157e3d5c3d8eeeb461394f (patch)
treea0534e79597edd4d7330f567d8a7c8f9cf1568f4 /addons/metadata.common.themoviedb.org
parent928b58cf5019a87c5890019c2153a8acf811611a (diff)
[addons] sync scrapers with repo
Diffstat (limited to 'addons/metadata.common.themoviedb.org')
-rw-r--r--addons/metadata.common.themoviedb.org/addon.xml2
-rw-r--r--addons/metadata.common.themoviedb.org/tmdb.xml40
2 files changed, 41 insertions, 1 deletions
diff --git a/addons/metadata.common.themoviedb.org/addon.xml b/addons/metadata.common.themoviedb.org/addon.xml
index 017d06bbe3..4b1bd9f1f5 100644
--- a/addons/metadata.common.themoviedb.org/addon.xml
+++ b/addons/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="2.7.1"
+ version="2.8.0"
provider-name="Team XBMC">
<requires>
<import addon="xbmc.metadata" version="1.0"/>
diff --git a/addons/metadata.common.themoviedb.org/tmdb.xml b/addons/metadata.common.themoviedb.org/tmdb.xml
index bc2c0ee8da..0d030e3e8c 100644
--- a/addons/metadata.common.themoviedb.org/tmdb.xml
+++ b/addons/metadata.common.themoviedb.org/tmdb.xml
@@ -268,6 +268,46 @@
</RegExp>
</ParseTMDBRating>
+ <GetTMDBStudioByIdChain dest="4">
+ <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
+ <RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBStudio&quot; cache=&quot;tmdb-en-\1.json&quot;&gt;http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&amp;amp;language=en&lt;/url&gt;" dest="5">
+ <expression />
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </GetTMDBStudioByIdChain>
+ <ParseTMDBStudio dest="5">
+ <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="\1" dest="7">
+ <expression clear="yes" noclean="1">&quot;production_companies&quot;:\[([^\]]*)</expression>
+ </RegExp>
+ <RegExp input="$$7" output="&lt;studio&gt;\1&lt;/studio&gt;" dest="2">
+ <expression trim="1" fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </ParseTMDBStudio>
+
+ <GetTMDBCountryByIdChain dest="4">
+ <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
+ <RegExp input="$$1" output="&lt;url function=&quot;ParseTMDBCountry&quot; cache=&quot;tmdb-en-\1.json&quot;&gt;http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&amp;amp;language=en&lt;/url&gt;" dest="5">
+ <expression />
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </GetTMDBCountryByIdChain>
+ <ParseTMDBCountry dest="5">
+ <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="\1" dest="7">
+ <expression clear="yes" noclean="1">&quot;production_countries&quot;:\[([^\]]*)</expression>
+ </RegExp>
+ <RegExp input="$$7" output="&lt;country&gt;\1&lt;/country&gt;" dest="2">
+ <expression trim="1" fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </ParseTMDBCountry>
+
<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-trailer-$INFO[language]-\1.json&quot;&gt;http://api.themoviedb.org/3/movie/\1/trailers?api_key=57983e31fb435df4df77afb854740ea9&amp;amp;language=$INFO[language]&lt;/url&gt;" dest="5">