The branch, dharma has been updated
       via  36f75321ce5e7f9af111b3c7c40b1e7c9770f41b (commit)
      from  b1fd9f28e1ae88ed64db981888f95f113213b363 (commit)

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

commit 36f75321ce5e7f9af111b3c7c40b1e7c9770f41b
Author: olympia <[email protected]>
Date:   Sun Mar 20 11:59:25 2011 +0100

    [metadata.themoviedb.org] fixed mpaa rating is there was no rating returned 
from tmdb

diff --git a/metadata.themoviedb.org/addon.xml 
b/metadata.themoviedb.org/addon.xml
index 5e83aef..7414a4a 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.2.4"
+       version="1.2.5"
        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 a01874d..a62c5b8 100644
--- a/metadata.themoviedb.org/changelog.txt
+++ b/metadata.themoviedb.org/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.2.5[/B]
+- fixed: mpaa is returning string 'Rated' if there is no rating on tmdb
+
 [B]1.2.4[/B]
 - fixed: not scraping artwork for movies without IMDb id
 
diff --git a/metadata.themoviedb.org/tmdb.xml b/metadata.themoviedb.org/tmdb.xml
index 6648258..3e1a81f 100644
--- a/metadata.themoviedb.org/tmdb.xml
+++ b/metadata.themoviedb.org/tmdb.xml
@@ -67,9 +67,12 @@
                        <RegExp input="$$1" 
output="&lt;tagline&gt;\1&lt;/tagline&gt;" dest="5+">
                                <expression 
noclean="1">&lt;tagline&gt;([^&lt;]*)&lt;/tagline&gt;</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;mpaa&gt;Rated 
\1&lt;/mpaa&gt;" dest="5+">
+                       <RegExp input="$$1" output="\1" dest="6">
                                
<expression>&lt;certification&gt;([^&lt;]*)&lt;/certification&gt;</expression>
                        </RegExp>
+                       <RegExp input="$$6" output="&lt;mpaa&gt;Rated 
\1&lt;/mpaa&gt;" dest="5+">
+                               <expression>(.+)</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>
                        </RegExp>

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

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


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to