diff options
author | Martijn Kaijser <mcm.kaijser@gmail.com> | 2012-12-02 00:55:35 +0100 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2012-12-02 00:55:35 +0100 |
commit | d073e255fee4b393e3157e3d5c3d8eeeb461394f (patch) | |
tree | a0534e79597edd4d7330f567d8a7c8f9cf1568f4 /addons/metadata.common.themoviedb.org | |
parent | 928b58cf5019a87c5890019c2153a8acf811611a (diff) |
[addons] sync scrapers with repo
Diffstat (limited to 'addons/metadata.common.themoviedb.org')
-rw-r--r-- | addons/metadata.common.themoviedb.org/addon.xml | 2 | ||||
-rw-r--r-- | addons/metadata.common.themoviedb.org/tmdb.xml | 40 |
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="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="<url function="ParseTMDBStudio" cache="tmdb-en-\1.json">http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&amp;language=en</url>" dest="5"> + <expression /> + </RegExp> + <expression noclean="1" /> + </RegExp> + </GetTMDBStudioByIdChain> + <ParseTMDBStudio dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="\1" dest="7"> + <expression clear="yes" noclean="1">"production_companies":\[([^\]]*)</expression> + </RegExp> + <RegExp input="$$7" output="<studio>\1</studio>" dest="2"> + <expression trim="1" fixchars="1">"name":"([^"]*)</expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseTMDBStudio> + + <GetTMDBCountryByIdChain dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="<url function="ParseTMDBCountry" cache="tmdb-en-\1.json">http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&amp;language=en</url>" dest="5"> + <expression /> + </RegExp> + <expression noclean="1" /> + </RegExp> + </GetTMDBCountryByIdChain> + <ParseTMDBCountry dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="\1" dest="7"> + <expression clear="yes" noclean="1">"production_countries":\[([^\]]*)</expression> + </RegExp> + <RegExp input="$$7" output="<country>\1</country>" dest="2"> + <expression trim="1" fixchars="1">"name":"([^"]*)</expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseTMDBCountry> + <GetTMDBTrailerByIdChain dest="4"> <RegExp input="$$5" output="<details>\1</details>" dest="4"> <RegExp input="$$1" output="<url function="ParseTMDBTrailer" cache="tmdb-trailer-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1/trailers?api_key=57983e31fb435df4df77afb854740ea9&amp;language=$INFO[language]</url>" dest="5"> |