diff options
author | AlTheKiller <AlTheKiller@svn> | 2009-09-23 01:49:50 +0000 |
---|---|---|
committer | AlTheKiller <AlTheKiller@svn> | 2009-09-23 01:49:50 +0000 |
commit | 45285e8a9300cd754a760560640b75b09f98035e (patch) | |
tree | ad9f093885ad5c98e9dd4156674e7691c22ed0a2 /system/scrapers/video/common/tmdb.xml |
step 3/4: Move linuxport to trunk. How'd I get roped into this?
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23097 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'system/scrapers/video/common/tmdb.xml')
-rw-r--r-- | system/scrapers/video/common/tmdb.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/system/scrapers/video/common/tmdb.xml b/system/scrapers/video/common/tmdb.xml new file mode 100644 index 0000000000..147807d25f --- /dev/null +++ b/system/scrapers/video/common/tmdb.xml @@ -0,0 +1,40 @@ +<scraperfunctions> + <GetTMDBFanartByIMDBId dest="4"> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="<url function="GetTMDBFanart" cache="tmdb-\1.xml">http://api.themoviedb.org/2.0/Movie.getInfo?id=\1&amp;api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5"> + <expression><id>([0-9]*)</id></expression> + </RegExp> + <RegExp input="$$1" output="<url function="GetTMDBFanartByIMDBId" cache="tmdb-trans-\1.xml" >http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=\1&amp;api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5"> + <expression>/title/([t0-9]*)</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetTMDBFanartByIMDBId> + <GetTMDBFanart dest="5"> + <RegExp input="$$2" output="<details><fanart url="http://themoviedb.org/image/backdrops">\1</fanart></details>" dest="5"> + <RegExp input="$$1" output="<thumb preview="/\1/\2_poster.\3">/\1/\2.\3</thumb>" dest="2"> + <expression repeat="yes"><backdrop size="original">.*?/([0-9]+)/([^\.]+)\.([^<]*)</backdrop></expression> + </RegExp> + <expression noclean="1">(.+)</expression> + </RegExp> + </GetTMDBFanart> + <GetTMDBThumbsByIMDBId dest="4">> + <RegExp input="$$5" output="<details>\1</details>" dest="4"> + <RegExp input="$$1" output="<url function="GetTMDBThumbs" cache="tmdb-\1.xml">http://api.themoviedb.org/2.0/Movie.getInfo?id=\1&amp;api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5"> + <expression><id>([0-9]*)</id></expression> + </RegExp> + <RegExp input="$$1" output="<url function="GetTMDBThumbsByIMDBId" cache="tmdb-trans-\1.xml">http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=\1&amp;api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5"> + <expression>/title/([t0-9]*)</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetTMDBThumbsByIMDBId> + <GetTMDBThumbs dest="5"> + <RegExp input="$$4" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<thumb preview="\1_mid.\2">\1.\2</thumb>" dest="4"> + <expression repeat="yes"><poster size="original">([^\.]*)\.([^<]*)</poster></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetTMDBThumbs> +</scraperfunctions> |