aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.common.fanart.tv/fanarttv.xml
diff options
context:
space:
mode:
authorMartijn Kaijser <mcm.kaijser@gmail.com>2014-07-24 18:53:04 +0200
committerMartijn Kaijser <mcm.kaijser@gmail.com>2014-07-24 18:53:04 +0200
commitb1c18a218d52934d0ac7a75d1d61d3d0584434dc (patch)
tree7e6632d769e51cfe66c776c3105febe56b4a42f0 /addons/metadata.common.fanart.tv/fanarttv.xml
parent0e6a30596b69346d734786decaefa95bad5620d1 (diff)
[addons] sync with repo
Diffstat (limited to 'addons/metadata.common.fanart.tv/fanarttv.xml')
-rw-r--r--addons/metadata.common.fanart.tv/fanarttv.xml65
1 files changed, 62 insertions, 3 deletions
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>