The branch, frodo has been updated
via 4ebf52d14a508605e28354e3d6f846e884f41761 (commit)
from 2621d9e7bf09e577028088c3f1210648fa0c5c4d (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=4ebf52d14a508605e28354e3d6f846e884f41761
commit 4ebf52d14a508605e28354e3d6f846e884f41761
Author: olympia <[email protected]>
Date: Wed Feb 6 21:18:23 2013 +0100
[metadata.common.rt.com] updated to version 1.4.0
diff --git a/metadata.common.rt.com/addon.xml b/metadata.common.rt.com/addon.xml
index 521d859..092a8f4 100644
--- a/metadata.common.rt.com/addon.xml
+++ b/metadata.common.rt.com/addon.xml
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.common.rt.com"
name="Rotten Tomatoes common scraper functions"
- version="1.3.0"
+ version="1.4.0"
provider-name="mortstar">
<requires>
- <import addon="xbmc.metadata" version="1.0"/>
+ <import addon="xbmc.metadata" version="2.1.0"/>
</requires>
<extension point="xbmc.metadata.scraper.library"
library="rt.xml"/>
diff --git a/metadata.common.rt.com/changelog.txt
b/metadata.common.rt.com/changelog.txt
index 7ce357e..9c1fccb 100644
--- a/metadata.common.rt.com/changelog.txt
+++ b/metadata.common.rt.com/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.4.0[/B]
+- Added: Common function to grab critics' consensus to 'plot' of movie
+
[B]1.3.0[/B]
- Added: Common function to grab plot
diff --git a/metadata.common.rt.com/rt.xml b/metadata.common.rt.com/rt.xml
index b328f7d..b67c3ec 100644
--- a/metadata.common.rt.com/rt.xml
+++ b/metadata.common.rt.com/rt.xml
@@ -18,20 +18,6 @@
</RegExp>
</GetRTRatingById>
- <!-- Get Rotten Tomatoes URL from IMDb ID for outline -->
- <GetRTOutlineById dest="5">
- <RegExp input="$$1" output="<details><url
function="ParseRTOutline"
cache="\1-rt.html">http://www.rottentomatoes.com/alias?type=imdbid&s=\1</url></details>"
dest="5">
- <expression>([0-9]{7})</expression>
- </RegExp>
- </GetRTOutlineById>
-
- <!-- Get Rotten Tomatoes URL from IMDb ID for plot -->
- <GetRTPlotById dest="5">
- <RegExp input="$$1" output="<details><url
function="ParseRTPlot"
cache="\1-rt.html">http://www.rottentomatoes.com/alias?type=imdbid&s=\1</url></details>"
dest="5">
- <expression>([0-9]{7})</expression>
- </RegExp>
- </GetRTPlotById>
-
<!-- TomatoMeter from All Critics -->
<ParseRTTomAll dest="5">
<RegExp input="$$1" output="<details><rating
max="100">\1</rating><votes>\2</votes></details>"
dest="5">
@@ -69,6 +55,11 @@
</ParseRTAveTop>
<!-- Critics' Consensus -->
+ <GetRTOutlineById dest="5">
+ <RegExp input="$$1" output="<details><url
function="ParseRTOutline"
cache="\1-rt.html">http://www.rottentomatoes.com/alias?type=imdbid&s=\1</url></details>"
dest="5">
+ <expression>([0-9]{7})</expression>
+ </RegExp>
+ </GetRTOutlineById>
<ParseRTOutline dest="5">
<RegExp input="$$1"
output="<details><outline>\1</outline></details>"
dest="5">
<expression
noclean="1">critic_consensus">([^<]+)</p></expression>
@@ -78,7 +69,27 @@
</RegExp>
</ParseRTOutline>
+ <!-- Critics' Consensus -->
+ <GetRTCConsensusToPlotById dest="5">
+ <RegExp input="$$1" output="<details><url
function="ParseRTCConsensusToPlot"
cache="\1-rt.html">http://www.rottentomatoes.com/alias?type=imdbid&s=\1</url></details>"
dest="5">
+ <expression>([0-9]{7})</expression>
+ </RegExp>
+ </GetRTCConsensusToPlotById>
+ <ParseRTCConsensusToPlot dest="5">
+ <RegExp input="$$1"
output="<details><plot>\1</plot></details>" dest="5">
+ <expression
noclean="1">critic_consensus">([^<]+)</p></expression>
+ </RegExp>
+ <RegExp input="$$5" output="" dest="5">
+ <expression><details><plot>No consensus
yet.</plot></details></expression>
+ </RegExp>
+ </ParseRTCConsensusToPlot>
+
<!-- Plot -->
+ <GetRTPlotById dest="5">
+ <RegExp input="$$1" output="<details><url
function="ParseRTPlot"
cache="\1-rt.html">http://www.rottentomatoes.com/alias?type=imdbid&s=\1</url></details>"
dest="5">
+ <expression>([0-9]{7})</expression>
+ </RegExp>
+ </GetRTPlotById>
<ParseRTPlot dest="5">
<RegExp input="$$1"
output="<details><plot>\1\2</plot></details>" dest="5">
<expression trim="1">class="movie_synopsis"
itemprop="description">[^\w]*([^\n]*)[^>]*>\s([^~<]*)</expression>
-----------------------------------------------------------------------
Summary of changes:
metadata.common.rt.com/addon.xml | 4 +-
metadata.common.rt.com/changelog.txt | 3 ++
metadata.common.rt.com/rt.xml | 39 +++++++++++++++++++++------------
3 files changed, 30 insertions(+), 16 deletions(-)
hooks/post-receive
--
Scrapers
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons