The branch, frodo has been updated
       via  ceb973d6d5ebc23f0483d65807fd8b2175e6ddc6 (commit)
      from  9623156fdcc44884d68026c283f15cf5bb068353 (commit)

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

commit ceb973d6d5ebc23f0483d65807fd8b2175e6ddc6
Author: olympia <[email protected]>
Date:   Sat Dec 1 23:36:45 2012 +0100

    [metadata.universal] updated to version 1.9.0

diff --git a/metadata.universal/addon.xml b/metadata.universal/addon.xml
index 1171203..80da982 100644
--- a/metadata.universal/addon.xml
+++ b/metadata.universal/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.universal"
        name="Universal Scraper"
-       version="1.8.1"
+       version="1.9.0"
        provider-name="Olympia, Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
@@ -21,7 +21,7 @@
              library="universal.xml"/>
   <extension point="xbmc.addon.metadata">
     <summary lang="en">Universal Movie Scraper</summary>
-    <description lang="en">This scraper collecting information from the 
following supported sites: IMDb, TMDb, Rotten Tomatoes, Trakt.tv, OFDb.de. It 
always does the initial search on IMDb, but following that it can be set field 
by field that from which site you want that specific information.</description>
+    <description lang="en">This scraper collecting information from the 
following supported sites: IMDb, TMDb, Rotten Tomatoes, Trakt.tv, OFDb.de. It 
always does the initial search on TMDb, but following that it can be set field 
by field that from which site you want that specific information.</description>
     <platform>all</platform>
   </extension>
 </addon>
diff --git a/metadata.universal/changelog.txt b/metadata.universal/changelog.txt
index 0d711d2..d37b8c9 100644
--- a/metadata.universal/changelog.txt
+++ b/metadata.universal/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.9.0[/B]
+- updated: Settings Clean-up / added TOP250 and outline from IMDb
+
 [B]1.8.1[/B]
 - fixed: studio and country won't scrape
 
diff --git a/metadata.universal/resources/language/English/strings.xml 
b/metadata.universal/resources/language/English/strings.xml
index d58e2c7..998ca78 100644
--- a/metadata.universal/resources/language/English/strings.xml
+++ b/metadata.universal/resources/language/English/strings.xml
@@ -36,12 +36,18 @@
     <string id="30040">     Genre Language</string>
     <string id="30041">     Preferred Trailer Language</string>
     <string id="30041">     Preferred Trailer Language</string>
-    <string id="30042">Tagline Sources</string>
+    <string id="30042">Get Tagline From</string>
     <string id="30043">     Preferred Tagline Language</string>
+    <string id="30044">Get IMDb TOP250 Ranking</string>
+    <string id="30045">Get Outline From IMDb</string>
 
     <string id="30100">Rating</string>
     <string id="30021">Get Ratings from</string>
     <string id="30110">     Rating Generated Using</string>
     <string id="30115">     Use the Score Aggregated from</string>
     <string id="30120">     Use Critics' Consensus as Movie Outline</string>
+
+    <string id="30200">Credits</string>
+    <string id="30201">Get Studio from</string>
+    <string id="30202">Get Country from</string>
 </strings>
diff --git a/metadata.universal/resources/settings.xml 
b/metadata.universal/resources/settings.xml
index ffcac50..510ee10 100644
--- a/metadata.universal/resources/settings.xml
+++ b/metadata.universal/resources/settings.xml
@@ -12,7 +12,7 @@
       <setting label="30042" type="labelenum" values="IMDb|themoviedb.org" 
id="taglinesource" default="IMDb"/>
       <setting label="30043" type="labelenum" 
values="cs|da|de|el|en|es|fi|fr|he|hr|hu|it|ja|ko|nl|no|pl|pt|ru|sl|sv|tr|zh" 
id="tmdbtaglinelanguage" default="en" visible="eq(-1,1)"/>
     <setting type="sep"/>
-      <setting label="30015" type="labelenum" 
values="IMDb|IMDbFull|themoviedb.org" id="creditssource" default="IMDb"/>
+      <setting label="30045" type="bool" id="imdboutline" default="true"/>
     <setting type="sep"/>
       <setting label="30022" type="labelenum" 
values="IMDb|themoviedb.org|trakt.tv" id="genressource" default="IMDb"/>
       <setting label="30040" type="labelenum" 
values="cs|da|de|el|en|es|fi|fr|he|hr|hu|it|ja|ko|nl|no|pl|pt|ru|sl|sv|tr|zh" 
id="tmdbgenreslanguage" default="en" visible="eq(-1,1)"/>
@@ -20,6 +20,15 @@
       <setting label="30013" type="bool" id="tmdbset" default="true"/>
   </category>
 
+  <category label="30200">
+    <setting type="sep"/>
+      <setting label="30015" type="labelenum" 
values="IMDb|IMDbFull|themoviedb.org" id="creditssource" default="IMDb"/>
+    <setting type="sep"/>
+      <setting label="30201" type="labelenum" values="IMDb|themoviedb.org" 
id="studiosource" default="IMDb"/>
+    <setting type="sep"/>
+      <setting label="30202" type="labelenum" values="IMDb|themoviedb.org" 
id="countrysource" default="IMDb"/>
+  </category>
+
   <category label="30011">
     <setting type="lsep" label="Poster Sources"/>
     <setting label="30037" type="bool" id="trakttvposter" default="false"/>
@@ -48,6 +57,7 @@
       <setting label="30120" type="bool" id="rtoutline" default="false" 
visible="eq(-1,1)"/>
       <setting label="30110" type="labelenum" values="TomatoMeter|Average 
Rating" id="tomato" default="TomatoMeter" visible="eq(-2,1)"/>
       <setting label="30115" type="labelenum" values="All Critics|Top Critics" 
id="allcritics" default="All Critics" visible="eq(-3,1)"/>
+    <setting label="30044" type="bool" id="imdbtop250" default="true"/>
     <setting type="lsep" label="30031"/>
     <setting label="30032" type="labelenum" values="IMDb|themoviedb.org" 
id="certificationssource" default="IMDb"/>
       <setting label="30033" type="labelenum" 
values="Argentina|Australia|Austria|Belgium|Brazil|Bulgaria|Canada|China|Colombia|Chile|Croatia|Czech
 Republic|Denmark|Finland|France|Germany|Greece|Hong 
Kong|Hungary|Iceland|India|Israel|Italy|Japan|Mexico|Netherlands|Norway|Pakistan|Poland|Portugal|Romania|Russia|Serbia|Singapore|Slovenia|Spain|Sweden|Switzerland|Thailand|Turkey|UK|Uruguay|USA|Venezuela"
 id="imdbcertcountry" default="USA" visible="eq(-1,0)"/>
diff --git a/metadata.universal/universal.xml b/metadata.universal/universal.xml
index b549846..f62fa5c 100644
--- a/metadata.universal/universal.xml
+++ b/metadata.universal/universal.xml
@@ -35,20 +35,20 @@
                        <RegExp input="$$1" output="\1" dest="2">
                                <expression clear="yes" 
noclean="1">&quot;id&quot;:[0-9]*,&quot;imdb_id&quot;:&quot;([^&quot;]*)</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;id&gt;\1&lt;/id&gt;" 
dest="5">
-                               <expression clear="yes" 
noclean="1">&quot;id&quot;:[0-9]*,&quot;imdb_id&quot;:&quot;([^&quot;]*)</expression>
-                       </RegExp>
                        <RegExp input="$$1" output="\1" dest="19">
                                <expression 
fixchars="1">&quot;original_title&quot;:&quot;([^&quot;]*)</expression>
                        </RegExp>
                        <RegExp input="$$1" output="\1" dest="20">
                                <expression 
noclean="1">&quot;release_date&quot;:&quot;([0-9]+)-</expression>
                        </RegExp>
+                       <RegExp input="$$2" output="&lt;id&gt;\1&lt;/id&gt;" 
dest="5">
+                               <expression/>
+                       </RegExp>
                        <RegExp input="$$19" 
output="&lt;originaltitle&gt;\1&lt;/originaltitle&gt;" dest="5+">
                                <expression/>
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">
-                               <expression 
noclean="1">&quot;release_date&quot;:&quot;([0-9]+)-</expression>
+                       <RegExp input="$$20" 
output="&lt;year&gt;\1&lt;/year&gt;" dest="5+">
+                               <expression/>
                        </RegExp>
                        <RegExp input="$INFO[titlesource]" output="&lt;chain 
function=&quot;GetIMDBAKATitlesById&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
                                <expression>IMDb</expression>
@@ -62,9 +62,6 @@
                        <RegExp input="$INFO[certificationssource]" 
output="&lt;chain function=&quot;GetIMDBCountryCert&quot;&gt;$$2&lt;/chain&gt;" 
dest="5+">
                                <expression>IMDb</expression>
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;tagline&gt;\1&lt;/tagline&gt;" dest="5+">
-                               
<expression>&lt;h4[^&gt;]*?&gt;Taglines:&lt;/h4&gt;\n?([^&lt;]*)</expression>
-                       </RegExp>
                        <RegExp input="$$1" 
output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="5+">
                                <expression 
noclean="1">&quot;runtime&quot;:([0-9]+)</expression>
                        </RegExp>
@@ -83,6 +80,9 @@
                        <RegExp input="$INFO[mratingsource]" output="&lt;chain 
function=&quot;GetTRAKTTVRatingByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
                                <expression>trakt.tv</expression>
                        </RegExp>
+                       <RegExp conditional="imdbtop250" input="$$2" 
output="&lt;chain function=&quot;GetIMDBTOP250ById&quot;&gt;$$2&lt;/chain&gt;" 
dest="5+">
+                               <expression />
+                       </RegExp>
                        <RegExp input="$INFO[genressource]" output="&lt;chain 
function=&quot;GetIMDBGenresById&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
                                <expression>IMDb</expression>
                        </RegExp>
@@ -92,20 +92,20 @@
                        <RegExp input="$INFO[genressource]" output="&lt;chain 
function=&quot;GetTRAKTTVGenresByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
                                <expression>trakt.tv</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="\1" dest="7">
-                               <expression clear="yes" 
noclean="1">&quot;production_countries&quot;:\[([^\]]*)</expression>
+                       <RegExp input="$INFO[studiosource]" output="&lt;chain 
function=&quot;GetIMDBStudioById&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
+                               <expression>IMDb</expression>
                        </RegExp>
-                       <RegExp input="$$7" 
output="&lt;country&gt;\1&lt;/country&gt;" dest="5+">
-                               <expression trim="1" 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>
+                       <RegExp input="$INFO[studiosource]" output="&lt;chain 
function=&quot;GetTMDBStudioByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
+                               <expression>themoviedb.org</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="\1" dest="7">
-                               <expression clear="yes" 
noclean="1">&quot;production_companies&quot;:\[([^\]]*)</expression>
+                       <RegExp input="$INFO[countrysource]" output="&lt;chain 
function=&quot;GetIMDBCountryById&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
+                               <expression>IMDb</expression>
                        </RegExp>
-                       <RegExp input="$$7" 
output="&lt;studio&gt;\1&lt;/studio&gt;" dest="5+">
-                               <expression trim="1" 
fixchars="1">&quot;name&quot;:&quot;([^&quot;]*)</expression>
+                       <RegExp input="$INFO[countrysource]" output="&lt;chain 
function=&quot;GetTMDBCountryByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
+                               <expression>themoviedb.org</expression>
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;outline&gt;\1&lt;/outline&gt;&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
-                               <expression fixchars="1" 
trim="1">&lt;p&gt;\n?&lt;p 
itemprop=&quot;description&quot;&gt;([^&lt;]+)&lt;/p&gt;</expression>
+                       <RegExp conditional="imdboutline" input="$$2" 
output="&lt;chain function=&quot;GetIMDBOutlineById&quot;&gt;$$2&lt;/chain&gt;" 
dest="5+">
+                               <expression/>
                        </RegExp>
                        <RegExp conditional="rtoutline" input="$$2" 
output="&lt;chain function=&quot;GetRTOutlineById&quot;&gt;$$2&lt;/chain&gt;" 
dest="5+">
                                <expression/>
@@ -183,12 +183,6 @@
                                <expression/>
                        </RegExp>
                        <RegExp conditional="ytrailer" input="$$1" 
output="&lt;chain 
function=&quot;GetYoutubeTrailer&quot;&gt;$$19=$$20&lt;/chain&gt;" dest="5+">
-                               <RegExp input="$$1" output="\2" dest="6">
-                                       <expression>&lt;meta 
name=&quot;title&quot; content=&quot;(IMDb - 
)?(?:&amp;#x22;)?([^&quot;]*?)(?:&amp;#x22;)? \([^\(]*?([0-9]{4})\)</expression>
-                               </RegExp>
-                               <RegExp input="$$1" output="\2" dest="9">
-                                       <expression>&lt;meta 
name=&quot;title&quot; content=&quot;([^&quot;]*?) 
\([^\(]*?([0-9]{4})\)</expression>
-                               </RegExp>
                                <expression/>
                        </RegExp>
                        <RegExp conditional="tmdbtrailer" input="$$2" 
output="&lt;chain 
function=&quot;GetTMDBLangTrailerByIdChain&quot;&gt;$$2&lt;/chain&gt;" 
dest="5+">
@@ -197,22 +191,13 @@
                        <RegExp conditional="trakttvtrailer" input="$$2" 
output="&lt;chain 
function=&quot;GetTRAKTTVTrailerByIdChain&quot;&gt;$$2&lt;/chain&gt;" dest="5+">
                                <expression/>
                        </RegExp>
-                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet480p&quot;&gt;$$6&lt;/chain&gt;" dest="5+">
-                               <RegExp input="$$1" output="\1" dest="6">
-                                       <expression>&lt;meta 
name=&quot;title&quot; 
content=&quot;(?:&amp;#x22;)?([^&quot;]*?)(?:&amp;#x22;)? 
\([^\(]*?([0-9]{4})\)</expression>
-                               </RegExp>
+                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet480p&quot;&gt;$$19&lt;/chain&gt;" dest="5+">
                                <expression>480p</expression>
                        </RegExp>
-                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet720p&quot;&gt;$$6&lt;/chain&gt;" dest="5+">
-                               <RegExp input="$$1" output="\1" dest="6">
-                                       <expression>&lt;meta 
name=&quot;title&quot; 
content=&quot;(?:&amp;#x22;)?([^&quot;]*?)(?:&amp;#x22;)? 
\([^\(]*?([0-9]{4})\)</expression>
-                               </RegExp>
+                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet720p&quot;&gt;$$19&lt;/chain&gt;" dest="5+">
                                <expression>720p</expression>
                        </RegExp>
-                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet1080p&quot;&gt;$$6&lt;/chain&gt;" dest="5+">
-                               <RegExp input="$$1" output="\1" dest="6">
-                                       <expression>&lt;meta 
name=&quot;title&quot; 
content=&quot;(?:&amp;#x22;)?([^&quot;]*?)(?:&amp;#x22;)? 
\([^\(]*?([0-9]{4})\)</expression>
-                               </RegExp>
+                       <RegExp input="$INFO[TrailerQ]" output="&lt;chain 
function=&quot;GetHDTrailersnet1080p&quot;&gt;$$19&lt;/chain&gt;" dest="5+">
                                <expression>1080p</expression>
                        </RegExp>
                        <RegExp conditional="imdbthumbs" input="$$2" 
output="&lt;chain function=&quot;GetIMDBThumbsById&quot;&gt;$$2&lt;/chain&gt;" 
dest="5+">

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

Summary of changes:
 metadata.universal/addon.xml                       |    4 +-
 metadata.universal/changelog.txt                   |    3 +
 .../resources/language/English/strings.xml         |    8 +++-
 metadata.universal/resources/settings.xml          |   12 ++++-
 metadata.universal/universal.xml                   |   57 +++++++------------
 5 files changed, 44 insertions(+), 40 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to