diff options
author | Martijn Kaijser <mcm.kaijser@gmail.com> | 2012-12-01 13:00:30 +0100 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2012-12-01 13:00:30 +0100 |
commit | af7102d32c19dc511f51767731686d042a1da691 (patch) | |
tree | 49c58af217ee511cfe188e1358c9e85e9b849df3 /addons/metadata.common.themoviedb.org | |
parent | c81334142cdd64b7d5b1db7e6336588d472452d7 (diff) |
[addons] sync packaged addons/scrapers with Frodo 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 | 53 |
2 files changed, 50 insertions, 5 deletions
diff --git a/addons/metadata.common.themoviedb.org/addon.xml b/addons/metadata.common.themoviedb.org/addon.xml index 1d5f1b3e11..017d06bbe3 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.6.0" + version="2.7.1" 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 aaa3afed4f..bc2c0ee8da 100644 --- a/addons/metadata.common.themoviedb.org/tmdb.xml +++ b/addons/metadata.common.themoviedb.org/tmdb.xml @@ -87,6 +87,51 @@ </RegExp> </ParseFallbackTMDBPlot> + <GetTMDBTaglineByIdChain clearbuffers="no" dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="\1" dest="8"> + <expression clear="yes" noclean="1" /> + </RegExp> + <RegExp input="$$8" output="<url function="ParseTMDBTagline" cache="tmdb-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&amp;language=$INFO[language]</url>" dest="5"> + <expression /> + </RegExp> + <expression noclean="1" /> + </RegExp> + </GetTMDBTaglineByIdChain> + <GetTMDBLangTaglineByIdChain clearbuffers="no" dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="\1" dest="8"> + <expression clear="yes" noclean="1" /> + </RegExp> + <RegExp input="$$8" output="<url function="ParseTMDBTagline" cache="tmdb-$INFO[tmdbtaglinelanguage]-\1.json">http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&amp;language=$INFO[tmdbtaglinelanguage]</url>" dest="5"> + <expression /> + </RegExp> + <expression noclean="1" /> + </RegExp> + </GetTMDBLangTaglineByIdChain> + <ParseTMDBTagline dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="\1" dest="9"> + <expression clear="yes" fixchars="1">"tagline":"([^"]*)</expression> + </RegExp> + <RegExp input="$$9" output="<url function="ParseFallbackTMDBTagline" cache="tmdb-en-$$8.json">http://api.themoviedb.org/3/movie/$$8?api_key=57983e31fb435df4df77afb854740ea9&amp;language=en</url>" dest="2"> + <expression>^$</expression> + </RegExp> + <RegExp input="$$9" output="<tagline>\1</tagline>" dest="2"> + <expression>(.+)</expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseTMDBTagline> + <ParseFallbackTMDBTagline dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<tagline>\1</tagline>" dest="2"> + <expression clear="yes" fixchars="1">"tagline":"([^"]*)</expression> + </RegExp> + <expression noclean="1" /> + </RegExp> + </ParseFallbackTMDBTagline> + <GetTMDBSetByIdChain dest="4"> <RegExp input="$$5" output="<details>\1</details>" dest="4"> <RegExp input="$$1" output="<url function="ParseTMDBSet" cache="tmdb-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&amp;language=$INFO[language]</url>" dest="5"> @@ -351,7 +396,7 @@ <RegExp input="$$1" output="\1" dest="7"> <expression clear="yes" noclean="1">"posters":\[\{([^\]]*)</expression> </RegExp> - <RegExp input="$$7" output="<thumb aspect="poster"preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="9"> + <RegExp input="$$7" output="<thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="9"> <expression repeat="yes" noclean="1">"file_path":"([^"]*)</expression> </RegExp> <RegExp input="$$9" output="$$12" dest="2+"> @@ -377,7 +422,7 @@ <RegExp input="$$1" output="\1" dest="7"> <expression clear="yes" noclean="1">"posters":\[\{([^\]]*)</expression> </RegExp> - <RegExp input="$$7" output="<thumb aspect="poster"preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="9"> + <RegExp input="$$7" output="<thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="9"> <expression repeat="yes" noclean="1">"file_path":"([^"]*)</expression> </RegExp> <RegExp input="$$9" output="$$12" dest="2+"> @@ -403,7 +448,7 @@ <RegExp input="$$1" output="\1" dest="7"> <expression clear="yes" noclean="1">"posters":\[\{([^\]]*)</expression> </RegExp> - <RegExp input="$$7" output="<thumb aspect="poster"preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="9"> + <RegExp input="$$7" output="<thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="9"> <expression repeat="yes" noclean="1">"file_path":"([^"]*)</expression> </RegExp> <RegExp input="$$9" output="<url function="ParseTMDBAllThumbs" cache="tmdb-images-$$8.json">http://api.themoviedb.org/3/movie/$$8/images?api_key=57983e31fb435df4df77afb854740ea9</url>" dest="2"> @@ -420,7 +465,7 @@ <RegExp input="$$1" output="\1" dest="7"> <expression clear="yes" noclean="1">"posters":\[\{([^\]]*)</expression> </RegExp> - <RegExp input="$$7" output="<thumb aspect="poster"preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="2"> + <RegExp input="$$7" output="<thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="2"> <expression repeat="yes" noclean="1">"file_path":"([^"]*)</expression> </RegExp> <expression noclean="1">(.+)</expression> |