aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorvdrfan <vdrfan@svn>2010-06-08 16:12:20 +0000
committervdrfan <vdrfan@svn>2010-06-08 16:12:20 +0000
commitdcc7ed37af2ee6a3b332f6aca748873b6cecee18 (patch)
tree714d2b04ebf13be26caf25de44a8ffb56dfab1ad /addons
parente8b6f14bac1ceb83eeead82e85445be431ff90b2 (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.xml2
-rw-r--r--addons/metadata.themoviedb.org/changelog.txt12
-rw-r--r--addons/metadata.themoviedb.org/tmdb.xml9
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="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;id&gt;\2&lt;/id&gt;&lt;year&gt;\3&lt;/year&gt;&lt;url cache=&quot;tmdb-\2.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;/entity&gt;" dest="3">
<expression repeat="yes">&lt;movie&gt;.*?&lt;name&gt;([^&lt;]*)&lt;/name&gt;.*?&lt;id&gt;([^&lt;]*)&lt;/id&gt;.*?&lt;released&gt;([0-9]+)-.*?&lt;/movie&gt;</expression>
</RegExp>
+ <RegExp input="$$1" output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;id&gt;\2&lt;/id&gt;&lt;url cache=&quot;tmdb-\2.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;/entity&gt;" dest="3+">
+ <expression repeat="yes">&lt;movie&gt;.*?&lt;name&gt;([^&lt;]*)&lt;/name&gt;.*?&lt;id&gt;([^&lt;]*)&lt;/id&gt;.*?&lt;released&gt;&lt;/released&gt;.*?&lt;/movie&gt;</expression>
+ </RegExp>
<expression noclean="1"/>
</RegExp>
</GetSearchResults>
@@ -53,13 +56,13 @@
<expression>&lt;certification&gt;([^&lt;]*)&lt;/certification&gt;</expression>
</RegExp>
<RegExp input="$$1" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="5+">
- <expression noclean="1" repeat="yes">&lt;category type=&quot;genre&quot;.*?name=&quot;([^&quot;]*)&quot;</expression>
+ <expression noclean="1" repeat="yes">&lt;category type=&quot;genre&quot; name=&quot;([^&quot;]*)&quot;</expression>
</RegExp>
<RegExp input="$$1" output="&lt;studio&gt;\1&lt;/studio&gt;" dest="5+">
- <expression noclean="1" repeat="yes">&lt;studio.*?name=&quot;([^&quot;]*)&quot;</expression>
+ <expression noclean="1" repeat="yes">&lt;studio name=&quot;([^&quot;]*)&quot;</expression>
</RegExp>
<RegExp input="$$1" output="&lt;country&gt;\1&lt;/country&gt;" dest="5+">
- <expression noclean="1" repeat="yes">&lt;country.*?name=&quot;([^&quot;]*)&quot;</expression>
+ <expression noclean="1" repeat="yes">&lt;country name=&quot;([^&quot;]*)&quot;</expression>
</RegExp>
<RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
<expression noclean="1">&lt;overview&gt;([^&lt;]*)&lt;/overview&gt;</expression>