aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.themoviedb.org
diff options
context:
space:
mode:
authorvdrfan <vdrfan-nospam-@xbmc.org>2012-01-21 10:36:30 +0100
committervdrfan <vdrfan-nospam-@xbmc.org>2012-01-21 10:36:30 +0100
commit463b78400706e34b991620f67e036e3f7c6855dd (patch)
tree8202d767af5ebe346f2d1b4030e653005f3ef69a /addons/metadata.themoviedb.org
parenta64e037d1c9500b72546b0de57d4bda317b06b50 (diff)
sync: tmdb (3.0.1) with addons repo
Diffstat (limited to 'addons/metadata.themoviedb.org')
-rw-r--r--addons/metadata.themoviedb.org/addon.xml2
-rw-r--r--addons/metadata.themoviedb.org/changelog.txt3
-rw-r--r--addons/metadata.themoviedb.org/tmdb.xml13
3 files changed, 15 insertions, 3 deletions
diff --git a/addons/metadata.themoviedb.org/addon.xml b/addons/metadata.themoviedb.org/addon.xml
index 575cce8334..332b164cba 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="3.0.0"
+ version="3.0.1"
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
index e7e0109492..6cd0d587e6 100644
--- a/addons/metadata.themoviedb.org/changelog.txt
+++ b/addons/metadata.themoviedb.org/changelog.txt
@@ -1,3 +1,6 @@
+[B]3.0.1[/B]
+- changed: also fallback to original_title to make sure a valid title gets scraped
+
[B]3.0.0[/B]
- major rewrite: utilize TMDb API v3, scraping set information, prioritize posters on the selected language
diff --git a/addons/metadata.themoviedb.org/tmdb.xml b/addons/metadata.themoviedb.org/tmdb.xml
index 8efd0894a5..c81711b6db 100644
--- a/addons/metadata.themoviedb.org/tmdb.xml
+++ b/addons/metadata.themoviedb.org/tmdb.xml
@@ -155,10 +155,19 @@
</RegExp>
</GetDetails>
<ParseFallbackTMDBTitle dest="5">
- <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
- <RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="2">
+ <RegExp input="$$10" output="&lt;details&gt;&lt;title&gt;\1&lt;/title&gt;&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="\1" dest="11">
+ <expression clear="yes" fixchars="1">&quot;original_title&quot;:&quot;([^&quot;]*)</expression>
+ </RegExp>
+ <RegExp input="$$11" output="\1" dest="10">
+ <expression>(.+)</expression>
+ </RegExp>
+ <RegExp input="$$1" output="\1" dest="11">
<expression fixchars="1">&quot;title&quot;:&quot;([^&quot;]*)</expression>
</RegExp>
+ <RegExp input="$$11" output="\1" dest="10">
+ <expression>(.+)</expression>
+ </RegExp>
<expression noclean="1" />
</RegExp>
</ParseFallbackTMDBTitle>