diff options
author | nadasb <nadasb@svn> | 2010-08-12 20:12:04 +0000 |
---|---|---|
committer | nadasb <nadasb@svn> | 2010-08-12 20:12:04 +0000 |
commit | 07fd79dcef825d91526ae44466821e4105d66498 (patch) | |
tree | cb668dfb41478170e577521e8b710030a38e0422 /addons/metadata.themoviedb.org/tmdb.xml | |
parent | 0483727ed092ffc7e64b0ae42d857908d27edf4f (diff) |
sync with git
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32734 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/metadata.themoviedb.org/tmdb.xml')
-rw-r--r-- | addons/metadata.themoviedb.org/tmdb.xml | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/addons/metadata.themoviedb.org/tmdb.xml b/addons/metadata.themoviedb.org/tmdb.xml index 1b36120725..b2a3bdc89a 100644 --- a/addons/metadata.themoviedb.org/tmdb.xml +++ b/addons/metadata.themoviedb.org/tmdb.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<scraper framework="1.1" date="2010-07-04"> +<scraper framework="1.1" date="2010-08-12"> <CreateSearchUrl dest="3"> - <RegExp input="$$1" output="<url>http://api.themoviedb.org/2.1/Movie.search/en/xml/57983e31fb435df4df77afb854740ea9/\1</url>" dest="3"> + <RegExp input="$$1" output="<url>http://api.themoviedb.org/2.1/Movie.search/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\1</url>" dest="3"> <RegExp input="$$2" output="%20(\1)" dest="4"> <expression clear="yes">(.+)</expression> </RegExp> @@ -9,27 +9,27 @@ </RegExp> </CreateSearchUrl> <NfoUrl dest="3"> - <RegExp input="$$1" output="<url>http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/\2</url><id>\2</id>" dest="3"> + <RegExp input="$$1" output="<url>http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\2</url><id>\2</id>" dest="3"> <expression clear="yes" noclean="1">(themoviedb.org/movie/)([0-9]*)</expression> </RegExp> - <RegExp input="$$1" output="<details><url function="GetTMDBId">http://api.themoviedb.org/2.1/Movie.imdbLookup/en/xml/57983e31fb435df4df77afb854740ea9/tt\2</url></details>" dest="3+"> + <RegExp input="$$1" output="<details><url function="GetTMDBId">http://api.themoviedb.org/2.1/Movie.imdbLookup/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/tt\2</url></details>" dest="3+"> <expression>(imdb.com/title/tt)([0-9]*)</expression> </RegExp> - <RegExp input="$$1" output="<details><url function="GetTMDBId">http://api.themoviedb.org/2.1/Movie.imdbLookup/en/xml/57983e31fb435df4df77afb854740ea9/tt\2</url></details>" dest="3+"> + <RegExp input="$$1" output="<details><url function="GetTMDBId">http://api.themoviedb.org/2.1/Movie.imdbLookup/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/tt\2</url></details>" dest="3+"> <expression>(imdb.com/)Title\?([0-9]+)</expression> </RegExp> </NfoUrl> <GetTMDBId dest="3"> - <RegExp input="$$1" output="<url cache="tmdb-\1.xml">http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/\1</url><id>\1</id>" dest="3+"> + <RegExp input="$$1" output="<url cache="tmdb-$INFO[language]-\1.xml">http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\1</url><id>\1</id>" dest="3+"> <expression><id>([0-9]*)</id></expression> </RegExp> </GetTMDBId> <GetSearchResults dest="8"> <RegExp input="$$3" output="<results>\1</results>" dest="8"> - <RegExp input="$$1" output="<entity><title>\1</title><id>\2</id><year>\3</year><url cache="tmdb-\2.xml">http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/\2</url></entity>" dest="3"> + <RegExp input="$$1" output="<entity><title>\1</title><id>\2</id><year>\3</year><url cache="tmdb-$INFO[language]-\2.xml">http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\2</url></entity>" dest="3"> <expression repeat="yes"><movie>.*?<name>([^<]*)</name>.*?<id>([^<]*)</id>.*?<released>([0-9]+)-.*?</movie></expression> </RegExp> - <RegExp input="$$1" output="<entity><title>\1</title><id>\2</id><url cache="tmdb-\2.xml">http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/\2</url></entity>" dest="3+"> + <RegExp input="$$1" output="<entity><title>\1</title><id>\2</id><url cache="tmdb-$INFO[language]-\2.xml">http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\2</url></entity>" dest="3+"> <expression repeat="yes"><movie>.*?<name>([^<]*)</name>.*?<id>([^<]*)</id>.*?<released></released>.*?</movie></expression> </RegExp> <expression noclean="1"/> @@ -40,6 +40,9 @@ <RegExp input="$$1" output="<title>\1</title>" dest="5"> <expression noclean="1"><name>([^<]*)</name></expression> </RegExp> + <RegExp input="$$1" output="<originaltitle>\1</originaltitle>" dest="5+"> + <expression noclean="1"><original_name>([^<]*)</original_name></expression> + </RegExp> <RegExp input="$$1" output="<year>\1</year>" dest="5+"> <expression noclean="1"><released>([0-9]+)-</expression> </RegExp> @@ -49,6 +52,9 @@ <RegExp input="$$1" output="<rating>\1</rating>" dest="5+"> <expression noclean="1"><rating>([^<]*)</rating></expression> </RegExp> + <RegExp input="$$1" output="<votes>\1</votes>" dest="5+"> + <expression noclean="1"><votes>([^<]*)</votes></expression> + </RegExp> <RegExp input="$$1" output="<tagline>\1</tagline>" dest="5+"> <expression noclean="1"><tagline>([^<]*)</tagline></expression> </RegExp> @@ -90,19 +96,19 @@ </RegExp> <RegExp input="$INFO[TrailerQ]" output="<chain function="GetHDTrailersnet480p">$$6</chain>" dest="5+"> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1"><name>([^<]*)</name></expression> + <expression noclean="1"><original_name>([^<]*)</original_name></expression> </RegExp> <expression>480p</expression> </RegExp> <RegExp input="$INFO[TrailerQ]" output="<chain function="GetHDTrailersnet720p">$$6</chain>" dest="5+"> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1"><name>([^<]*)</name></expression> + <expression noclean="1"><original_name>([^<]*)</original_name></expression> </RegExp> <expression>720p</expression> </RegExp> <RegExp input="$INFO[TrailerQ]" output="<chain function="GetHDTrailersnet1080p">$$6</chain>" dest="5+"> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1"><name>([^<]*)</name></expression> + <expression noclean="1"><original_name>([^<]*)</original_name></expression> </RegExp> <expression>1080p</expression> </RegExp> |