aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorMartijn Kaijser <mcm.kaijser@gmail.com>2014-07-24 18:47:57 +0200
committerMartijn Kaijser <mcm.kaijser@gmail.com>2014-07-24 18:47:57 +0200
commit67f025d0c77ca32fe293c7031dda9862a15e0761 (patch)
treedc8859835477f70927aa700d75d3489d3f3d15a8 /addons
parenta8fc99ef1bafd6b69bd322fd733818aef9232b18 (diff)
[addons] sync with repo
Diffstat (limited to 'addons')
-rw-r--r--addons/metadata.common.fanart.tv/addon.xml2
-rw-r--r--addons/metadata.common.fanart.tv/fanarttv.xml65
2 files changed, 63 insertions, 4 deletions
diff --git a/addons/metadata.common.fanart.tv/addon.xml b/addons/metadata.common.fanart.tv/addon.xml
index 2b79a85241..8f05b79ea0 100644
--- a/addons/metadata.common.fanart.tv/addon.xml
+++ b/addons/metadata.common.fanart.tv/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.common.fanart.tv"
name="fanart.tv"
- version="3.0.0"
+ version="3.1.0"
provider-name="Team XBMC">
<requires>
<import addon="xbmc.metadata" version="2.1.0"/>
diff --git a/addons/metadata.common.fanart.tv/fanarttv.xml b/addons/metadata.common.fanart.tv/fanarttv.xml
index a590303270..3f3d2871de 100644
--- a/addons/metadata.common.fanart.tv/fanarttv.xml
+++ b/addons/metadata.common.fanart.tv/fanarttv.xml
@@ -14,7 +14,7 @@
<expression />
</RegExp>
<RegExp input="$$1" output="\1" dest="16">
- <expression noclean="1">&quot;artistthumb&quot;:\s\[(.*?)\}\s*\],</expression>
+ <expression noclean="1">&quot;artistthumb&quot;:\s\[(.*?)\}\s*\]</expression>
</RegExp>
<RegExp input="$$16" output="&lt;thumb preview=&quot;\1/preview&quot;&gt;\1&lt;/thumb&gt;" dest="13">
<expression repeat="yes" noclean="1">&quot;id&quot;:\s&quot;\d*&quot;,\s*&quot;url&quot;:\s&quot;([^&quot;]*)</expression>
@@ -40,7 +40,7 @@
<expression />
</RegExp>
<RegExp input="$$1" output="\1" dest="16">
- <expression noclean="1">&quot;artistbackground&quot;:\s\[(.*?)\}\s*\],</expression>
+ <expression noclean="1">&quot;artistbackground&quot;:\s\[(.*?)\}\s*\]</expression>
</RegExp>
<RegExp input="$$16" output="&lt;thumb preview=&quot;\1/preview&quot;&gt;\1&lt;/thumb&gt;" dest="14">
<expression repeat="yes" noclean="1">&quot;id&quot;:\s&quot;\d*&quot;,\s*&quot;url&quot;:\s&quot;([^&quot;]*)</expression>
@@ -66,7 +66,7 @@
<expression />
</RegExp>
<RegExp input="$$1" output="\1" dest="16">
- <expression noclean="1">&quot;albumcover&quot;:\s\[(.*?)\}\s*\],</expression>
+ <expression noclean="1">&quot;albumcover&quot;:\s\[(.*?)\}\s*\]</expression>
</RegExp>
<RegExp input="$$16" output="&lt;thumb preview=&quot;\1/preview&quot;&gt;\1&lt;/thumb&gt;" dest="13">
<expression repeat="yes" noclean="1">&quot;id&quot;:\s&quot;\d*&quot;,\s*&quot;url&quot;:\s&quot;([^&quot;]*)</expression>
@@ -74,4 +74,63 @@
<expression noclean="1" />
</RegExp>
</ParseFanartTvAlbumThumbs>
+
+ <GetFanartTvFanartByIdChain dest="4">
+ <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
+ <RegExp input="$$1" output="&lt;url function=&quot;ParseFanartTvFanart&quot; cache=&quot;fanarttv-\1.json&quot;&gt;http://webservice.fanart.tv/v3/movies/\1?api_key=ed4b784f97227358b31ca4dd966a04f1&lt;/url&gt;" dest="5">
+ <expression />
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </GetFanartTvFanartByIdChain>
+ <ParseFanartTvFanart dest="5">
+ <RegExp input="$$13" output="&lt;details&gt;&lt;fanart&gt;\1&lt;/fanart&gt;&lt;/details&gt;" dest="5">
+ <RegExp input="" output="" dest="13">
+ <expression />
+ </RegExp>
+ <RegExp input="" output="" dest="14">
+ <expression />
+ </RegExp>
+ <RegExp input="" output="" dest="16">
+ <expression />
+ </RegExp>
+ <RegExp input="$$1" output="\1" dest="16">
+ <expression noclean="1">&quot;moviebackground&quot;:\s\[(.*?)\}\s*\]</expression>
+ </RegExp>
+ <RegExp input="$$16" output="&lt;thumb preview=&quot;\1/preview&quot;&gt;\1&lt;/thumb&gt;" dest="14">
+ <expression repeat="yes" noclean="1">&quot;id&quot;:\s&quot;\d*&quot;,\s*&quot;url&quot;:\s&quot;([^&quot;]*)</expression>
+ </RegExp>
+ <RegExp input="$$14" output="\1" dest="13">
+ <expression noclean="1">(.+)</expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </ParseFanartTvFanart>
+
+ <GetFanartTvThumbsByIdChain dest="4">
+ <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
+ <RegExp input="$$1" output="&lt;url function=&quot;ParseFanartTvThumbs&quot; cache=&quot;fanarttv-\1.json&quot;&gt;http://webservice.fanart.tv/v3/movies/\1?api_key=ed4b784f97227358b31ca4dd966a04f1&lt;/url&gt;" dest="5">
+ <expression />
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </GetFanartTvThumbsByIdChain>
+ <ParseFanartTvThumbs dest="5">
+ <RegExp input="$$13" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
+ <RegExp input="" output="" dest="13">
+ <expression />
+ </RegExp>
+ <RegExp input="" output="" dest="16">
+ <expression />
+ </RegExp>
+ <RegExp input="$$1" output="\1" dest="16">
+ <expression noclean="1">&quot;movieposter&quot;:\s\[(.*?)\}\s*\]</expression>
+ </RegExp>
+ <RegExp input="$$16" output="&lt;thumb preview=&quot;\1/preview&quot;&gt;\1&lt;/thumb&gt;" dest="13">
+ <expression repeat="yes" noclean="1">&quot;id&quot;:\s&quot;\d*&quot;,\s*&quot;url&quot;:\s&quot;([^&quot;]*)</expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </ParseFanartTvThumbs>
+
</scraperfunctions>