The branch, eden-pre has been updated
       via  05518bd533107d28ec409a397d05c62e52d9229a (commit)
      from  bece3c0c9f4cf24055ca14d7861762c407f9f8c3 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=05518bd533107d28ec409a397d05c62e52d9229a

commit 05518bd533107d28ec409a397d05c62e52d9229a
Author: olympia <[email protected]>
Date:   Sat Jan 21 08:16:49 2012 +0100

    [metadata.themoviedb.org] updated to version 3.0.1

diff --git a/metadata.themoviedb.org/addon.xml 
b/metadata.themoviedb.org/addon.xml
index 575cce8..332b164 100644
--- a/metadata.themoviedb.org/addon.xml
+++ b/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/metadata.themoviedb.org/changelog.txt 
b/metadata.themoviedb.org/changelog.txt
index e7e0109..6cd0d58 100644
--- a/metadata.themoviedb.org/changelog.txt
+++ b/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/metadata.themoviedb.org/tmdb.xml b/metadata.themoviedb.org/tmdb.xml
index 8efd089..c81711b 100644
--- a/metadata.themoviedb.org/tmdb.xml
+++ b/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>

-----------------------------------------------------------------------

Summary of changes:
 metadata.themoviedb.org/addon.xml     |    2 +-
 metadata.themoviedb.org/changelog.txt |    3 +++
 metadata.themoviedb.org/tmdb.xml      |   13 +++++++++++--
 3 files changed, 15 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to