The branch, dharma has been updated
       via  17aa7a27ee9cf87f6ac68066c6d1a6fcc9e42af7 (commit)
      from  598177b5aa739d0fa0e3fef438d860c7cdff9e60 (commit)

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

commit 17aa7a27ee9cf87f6ac68066c6d1a6fcc9e42af7
Author: olympia <[email protected]>
Date:   Sun Nov 20 18:15:24 2011 +0100

    [metadata.themoviedb.org] updated to version 1.4.4

diff --git a/metadata.themoviedb.org/addon.xml 
b/metadata.themoviedb.org/addon.xml
index 082bf9c..7162426 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="1.4.3" 
+       version="1.4.4" 
        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 b01edf2..9c082ca 100644
--- a/metadata.themoviedb.org/changelog.txt
+++ b/metadata.themoviedb.org/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.4.4[/B]
+- fixed: actor thumb scraping was broken due to API changes
+
 [B]1.4.3[/B]
 - fixed: use imdb ID from nfo
 - changed: scrape only one studio
diff --git a/metadata.themoviedb.org/tmdb.xml b/metadata.themoviedb.org/tmdb.xml
index a22fae5..828d3c6 100644
--- a/metadata.themoviedb.org/tmdb.xml
+++ b/metadata.themoviedb.org/tmdb.xml
@@ -9,7 +9,7 @@
                </RegExp>
        </CreateSearchUrl>
        <NfoUrl dest="3">
-               <RegExp input="$$1" 
output="&lt;url&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;id&gt;\2&lt;/id&gt;";
 dest="3">
+               <RegExp input="$$1" 
output="&lt;details&gt;&lt;url&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\2&lt;/url&gt;&lt;id&gt;\2&lt;/id&gt;&lt;/details&gt;";
 dest="3">
                        <expression clear="yes" 
noclean="1">(themoviedb.org/movie/)([0-9]*)</expression>
                </RegExp>
                <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;GetTMDBId&quot;&gt;http://api.themoviedb.org/2.1/Movie.imdbLookup/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/tt\2&lt;/url&gt;&lt;/details&gt;";
 dest="3+">
@@ -20,7 +20,7 @@
                </RegExp>
        </NfoUrl>
        <GetTMDBId dest="3">
-               <RegExp input="$$1" output="&lt;url 
cache=&quot;tmdb-$INFO[language]-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;";
 dest="3+">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
cache=&quot;tmdb-$INFO[language]-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getInfo/$INFO[language]/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/details&gt;";
 dest="3+">
                        <expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
                </RegExp>
        </GetTMDBId>
@@ -97,8 +97,8 @@
                        <RegExp input="$$1" 
output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\2&lt;/role&gt;&lt;/actor&gt;"
 dest="5+">
                                <expression noclean="1" 
repeat="yes">&lt;person.*?name=&quot;([^&quot;]*)&quot; 
character=&quot;([^&quot;]*)&quot; job=&quot;Actor&quot;</expression>
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\2&lt;/role&gt;&lt;thumb&gt;http://\4-original\5&lt;/thumb&gt;&lt;/actor&gt;";
 dest="5+">
-                               <expression noclean="1" 
repeat="yes">&lt;person.*?name=&quot;([^&quot;]*)&quot; 
character=&quot;([^&quot;]*)&quot; job=&quot;Actor&quot; 
id=&quot;([0-9]+)&quot; 
thumb=&quot;http://(.*?)-thumb([^&quot;]*)&quot;</expression>
+                       <RegExp input="$$1" 
output="&lt;actor&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\2&lt;/role&gt;&lt;thumb&gt;http://\4original\5&lt;/thumb&gt;&lt;/actor&gt;";
 dest="5+">
+                               <expression noclean="1" 
repeat="yes">&lt;person.*?name=&quot;([^&quot;]*)&quot; 
character=&quot;([^&quot;]*)&quot; job=&quot;Actor&quot; 
id=&quot;([0-9]+)&quot; 
thumb=&quot;http://(.*?)w45([^&quot;]*)&quot;</expression>
                        </RegExp>
                        <RegExp input="$$2" output="&lt;chain 
function=&quot;GetTMDBThumbsByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
                                <expression/>

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

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


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to