diff options
author | vdrfan <vdrfan@svn> | 2010-06-08 16:12:20 +0000 |
---|---|---|
committer | vdrfan <vdrfan@svn> | 2010-06-08 16:12:20 +0000 |
commit | dcc7ed37af2ee6a3b332f6aca748873b6cecee18 (patch) | |
tree | 714d2b04ebf13be26caf25de44a8ffb56dfab1ad /addons | |
parent | e8b6f14bac1ceb83eeead82e85445be431ff90b2 (diff) |
fixed: themoviedb.org scraper might fetch wrong studio, genre and country values
fixed: no search results using the themoviedb.org scraper in case the release date is missing
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30970 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons')
-rw-r--r-- | addons/metadata.themoviedb.org/addon.xml | 2 | ||||
-rw-r--r-- | addons/metadata.themoviedb.org/changelog.txt | 12 | ||||
-rw-r--r-- | addons/metadata.themoviedb.org/tmdb.xml | 9 |
3 files changed, 19 insertions, 4 deletions
diff --git a/addons/metadata.themoviedb.org/addon.xml b/addons/metadata.themoviedb.org/addon.xml index 99044b4381..db1c8c98c3 100644 --- a/addons/metadata.themoviedb.org/addon.xml +++ b/addons/metadata.themoviedb.org/addon.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="metadata.themoviedb.org" name="The MovieDB" - version="1.0.1" + version="1.0.2" provider-name="Team XBMC"> <requires> <import addon="xbmc.metadata" version="1.0"/> diff --git a/addons/metadata.themoviedb.org/changelog.txt b/addons/metadata.themoviedb.org/changelog.txt new file mode 100644 index 0000000000..dfbf7f8fe5 --- /dev/null +++ b/addons/metadata.themoviedb.org/changelog.txt @@ -0,0 +1,12 @@ +[B]1.0.2[/B] + +- scraper might fetch wrong studio, genre and country values +- no search results in case the release date is missing + +[B]1.0.1[/B] + +- various fixes after api change + +[B]1.0.0[/B] + +- Initial import into addons repository diff --git a/addons/metadata.themoviedb.org/tmdb.xml b/addons/metadata.themoviedb.org/tmdb.xml index 186ef60461..ea0af230c3 100644 --- a/addons/metadata.themoviedb.org/tmdb.xml +++ b/addons/metadata.themoviedb.org/tmdb.xml @@ -29,6 +29,9 @@ <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"> <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+"> + <expression repeat="yes"><movie>.*?<name>([^<]*)</name>.*?<id>([^<]*)</id>.*?<released></released>.*?</movie></expression> + </RegExp> <expression noclean="1"/> </RegExp> </GetSearchResults> @@ -53,13 +56,13 @@ <expression><certification>([^<]*)</certification></expression> </RegExp> <RegExp input="$$1" output="<genre>\1</genre>" dest="5+"> - <expression noclean="1" repeat="yes"><category type="genre".*?name="([^"]*)"</expression> + <expression noclean="1" repeat="yes"><category type="genre" name="([^"]*)"</expression> </RegExp> <RegExp input="$$1" output="<studio>\1</studio>" dest="5+"> - <expression noclean="1" repeat="yes"><studio.*?name="([^"]*)"</expression> + <expression noclean="1" repeat="yes"><studio name="([^"]*)"</expression> </RegExp> <RegExp input="$$1" output="<country>\1</country>" dest="5+"> - <expression noclean="1" repeat="yes"><country.*?name="([^"]*)"</expression> + <expression noclean="1" repeat="yes"><country name="([^"]*)"</expression> </RegExp> <RegExp input="$$1" output="<plot>\1</plot>" dest="5+"> <expression noclean="1"><overview>([^<]*)</overview></expression> |