aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.common.themoviedb.org/tmdb.xml
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-04-28 00:05:22 +0000
committerjmarshallnz <jmarshallnz@svn>2010-04-28 00:05:22 +0000
commit81d4a149d54d3b79f0449dad77264c642469f10d (patch)
tree39fabba02bee35f87b2cec1c149872f0719f5f79 /addons/metadata.common.themoviedb.org/tmdb.xml
parentd9e6ddf42d0d2787a93eaec8706e26a90d931f41 (diff)
changed: paint the (system) addons bikeshed (moves - id's to come)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29568 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/metadata.common.themoviedb.org/tmdb.xml')
-rw-r--r--addons/metadata.common.themoviedb.org/tmdb.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/addons/metadata.common.themoviedb.org/tmdb.xml b/addons/metadata.common.themoviedb.org/tmdb.xml
new file mode 100644
index 0000000000..7e5fd15f6c
--- /dev/null
+++ b/addons/metadata.common.themoviedb.org/tmdb.xml
@@ -0,0 +1,52 @@
+<scraperfunctions>
+ <GetTMDBFanartById dest="4">
+ <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
+ <RegExp input="$$1" output="&lt;url function=&quot;GetTMDBFanart&quot; cache=&quot;tmdb-images-tt\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;" dest="5">
+ <expression>/tt([0-9]+)</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;url function=&quot;GetTMDBFanart&quot; cache=&quot;tmdb-images-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;" dest="5">
+ <expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
+ </RegExp>
+ <expression noclean="1"/>
+ </RegExp>
+ </GetTMDBFanartById>
+ <GetTMDBFanart dest="5">
+ <RegExp input="$$2" output="&lt;details&gt;&lt;fanart&gt;\1&lt;/fanart&gt;&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="3">
+ <expression noclean="1" repeat="yes">&lt;backdrop[^&gt;]*&gt;(.*?)&lt;/backdrop&gt;</expression>
+ </RegExp>
+ <RegExp input="$$3" output="&lt;thumb preview=&quot;\2&quot;&gt;\1\3&lt;/thumb&gt;" dest="4">
+ <expression noclean="1,3" repeat="yes">&lt;thumb&gt;(.*?)url=&quot;([^&quot;]*)&quot; size=&quot;poster&quot;(.*?)&lt;/thumb&gt;</expression>
+ </RegExp>
+ <RegExp input="$$4" output="&lt;thumb\1&gt;\2&lt;/thumb&gt;" dest="2">
+ <expression repeat="yes" noclean="1">&lt;thumb([^&gt;]*)&gt;.*?url=&quot;([^&quot;]*)&quot; size=&quot;original&quot;.*?&lt;/thumb&gt;</expression>
+ </RegExp>
+ <expression noclean="1"/>
+ </RegExp>
+ </GetTMDBFanart>
+ <GetTMDBThumbsById dest="4">
+ <RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="4">
+ <RegExp input="$$1" output="&lt;url function=&quot;GetTMDBThumbs&quot; cache=&quot;tmdb-images-tt\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/tt\1&lt;/url&gt;" dest="5">
+ <expression>/tt([0-9]+)</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;url function=&quot;GetTMDBThumbs&quot; cache=&quot;tmdb-images-\1.xml&quot;&gt;http://api.themoviedb.org/2.1/Movie.getImages/en/xml/57983e31fb435df4df77afb854740ea9/\1&lt;/url&gt;" dest="5">
+ <expression>&lt;id&gt;([0-9]*)&lt;/id&gt;</expression>
+ </RegExp>
+ <expression noclean="1"/>
+ </RegExp>
+ </GetTMDBThumbsById>
+ <GetTMDBThumbs dest="5">
+ <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="3">
+ <expression noclean="1" repeat="yes">&lt;poster[^&gt;]*&gt;(.*?)&lt;/poster&gt;</expression>
+ </RegExp>
+ <RegExp input="$$3" output="&lt;thumb preview=&quot;\2&quot;&gt;\1\3&lt;/thumb&gt;" dest="4">
+ <expression noclean="1,3" repeat="yes">&lt;thumb&gt;(.*?)url=&quot;([^&quot;]*)&quot; size=&quot;mid&quot;(.*?)&lt;/thumb&gt;</expression>
+ </RegExp>
+ <RegExp input="$$4" output="&lt;thumb\1&gt;\2&lt;/thumb&gt;" dest="2">
+ <expression repeat="yes" noclean="1">&lt;thumb([^&gt;]*)&gt;.*?url=&quot;([^&quot;]*)&quot; size=&quot;original&quot;.*?&lt;/thumb&gt;</expression>
+ </RegExp>
+ <expression noclean="1"/>
+ </RegExp>
+ </GetTMDBThumbs>
+</scraperfunctions>