diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-04-28 00:05:22 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-04-28 00:05:22 +0000 |
commit | 81d4a149d54d3b79f0449dad77264c642469f10d (patch) | |
tree | 39fabba02bee35f87b2cec1c149872f0719f5f79 /addons/metadata.common.themoviedb.org/tmdb.xml | |
parent | d9e6ddf42d0d2787a93eaec8706e26a90d931f41 (diff) |
changed: paint the (system) addons bikeshed (moves - id's to come)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29568 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/metadata.common.themoviedb.org/tmdb.xml')
-rw-r--r-- | addons/metadata.common.themoviedb.org/tmdb.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/addons/metadata.common.themoviedb.org/tmdb.xml b/addons/metadata.common.themoviedb.org/tmdb.xml new file mode 100644 index 0000000000..7e5fd15f6c --- /dev/null +++ b/addons/metadata.common.themoviedb.org/tmdb.xml @@ -0,0 +1,52 @@ +<scraperfunctions> + <GetTMDBFanartById dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="<url function="GetTMDBFanart" cache="tmdb-images-tt\1.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1</url>" dest="5"> + <expression>/tt([0-9]+)</expression> + </RegExp> + <RegExp input="$$1" output="<url function="GetTMDBFanart" cache="tmdb-images-\1.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1</url>" dest="5"> + <expression><id>([0-9]*)</id></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetTMDBFanartById> + <GetTMDBFanart dest="5"> + <RegExp input="$$2" output="<details><fanart>\1</fanart></details>" dest="5"> + <RegExp input="$$1" output="<thumb>\1</thumb>" dest="3"> + <expression noclean="1" repeat="yes"><backdrop[^>]*>(.*?)</backdrop></expression> + </RegExp> + <RegExp input="$$3" output="<thumb preview="\2">\1\3</thumb>" dest="4"> + <expression noclean="1,3" repeat="yes"><thumb>(.*?)url="([^"]*)" size="poster"(.*?)</thumb></expression> + </RegExp> + <RegExp input="$$4" output="<thumb\1>\2</thumb>" dest="2"> + <expression repeat="yes" noclean="1"><thumb([^>]*)>.*?url="([^"]*)" size="original".*?</thumb></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetTMDBFanart> + <GetTMDBThumbsById dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="<url function="GetTMDBThumbs" cache="tmdb-images-tt\1.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1</url>" dest="5"> + <expression>/tt([0-9]+)</expression> + </RegExp> + <RegExp input="$$1" output="<url function="GetTMDBThumbs" cache="tmdb-images-\1.xml">http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1</url>" dest="5"> + <expression><id>([0-9]*)</id></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetTMDBThumbsById> + <GetTMDBThumbs dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<thumb>\1</thumb>" dest="3"> + <expression noclean="1" repeat="yes"><poster[^>]*>(.*?)</poster></expression> + </RegExp> + <RegExp input="$$3" output="<thumb preview="\2">\1\3</thumb>" dest="4"> + <expression noclean="1,3" repeat="yes"><thumb>(.*?)url="([^"]*)" size="mid"(.*?)</thumb></expression> + </RegExp> + <RegExp input="$$4" output="<thumb\1>\2</thumb>" dest="2"> + <expression repeat="yes" noclean="1"><thumb([^>]*)>.*?url="([^"]*)" size="original".*?</thumb></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetTMDBThumbs> +</scraperfunctions> |