diff options
-rw-r--r-- | addons/metadata.themoviedb.org/addon.xml | 2 | ||||
-rw-r--r-- | addons/metadata.themoviedb.org/changelog.txt | 3 | ||||
-rw-r--r-- | addons/metadata.themoviedb.org/tmdb.xml | 13 |
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="<details>\1</details>" dest="5"> - <RegExp input="$$1" output="<title>\1</title>" dest="2"> + <RegExp input="$$10" output="<details><title>\1</title></details>" dest="5"> + <RegExp input="$$1" output="\1" dest="11"> + <expression clear="yes" fixchars="1">"original_title":"([^"]*)</expression> + </RegExp> + <RegExp input="$$11" output="\1" dest="10"> + <expression>(.+)</expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="11"> <expression fixchars="1">"title":"([^"]*)</expression> </RegExp> + <RegExp input="$$11" output="\1" dest="10"> + <expression>(.+)</expression> + </RegExp> <expression noclean="1" /> </RegExp> </ParseFallbackTMDBTitle> |