aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.tvdb.com
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-06-08 08:32:58 +0000
committerjmarshallnz <jmarshallnz@svn>2010-06-08 08:32:58 +0000
commit3ed8f3f037bfef8391056b998958331062c7fd63 (patch)
tree038038f310a96c24889179d11cf4d33900889f48 /addons/metadata.tvdb.com
parent6aad00cadee6aba4444209b6bf03916b11f03768 (diff)
changed: Move scraper settings into the same framework as all other addons, and adapt thetvdb.com to suit.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30946 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/metadata.tvdb.com')
-rw-r--r--addons/metadata.tvdb.com/addon.xml2
-rw-r--r--addons/metadata.tvdb.com/tvdb.xml36
2 files changed, 1 insertions, 37 deletions
diff --git a/addons/metadata.tvdb.com/addon.xml b/addons/metadata.tvdb.com/addon.xml
index a27301386d..3ac2af70fd 100644
--- a/addons/metadata.tvdb.com/addon.xml
+++ b/addons/metadata.tvdb.com/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.tvdb.com"
name="The TVDB"
- version="1.0.0"
+ version="1.0.1"
provider-name="Team XBMC">
<requires>
<import addon="xbmc.metadata" version="1.0"/>
diff --git a/addons/metadata.tvdb.com/tvdb.xml b/addons/metadata.tvdb.com/tvdb.xml
index 368794179d..e6a8adcd76 100644
--- a/addons/metadata.tvdb.com/tvdb.xml
+++ b/addons/metadata.tvdb.com/tvdb.xml
@@ -1,33 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- should be self-explanatory -->
<scraper framework="1.1" date="2009-01-27" cachePersistence="00:15">
- <GetSettings dest="3">
- <RegExp input="$$5" output="&lt;settings&gt;\1&lt;/settings&gt;" dest="3">
- <RegExp input="$$1" output="&lt;url function=&quot;GetLanguages&quot;&gt;http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml&lt;/url&gt;" dest="5">
- <expression/>
- </RegExp>
- <RegExp input="$$1" output="&lt;setting label=&quot;30000&quot; type=&quot;bool&quot; id=&quot;dvdorder&quot; default=&quot;false&quot; enable=&quot;!eq(1,true)&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression/>
- </RegExp>
- <RegExp input="$$1" output="&lt;setting label=&quot;30001&quot; type=&quot;bool&quot; id=&quot;absolutenumber&quot; default=&quot;false&quot; enable=&quot;!eq(-1,true)&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression/>
- </RegExp>
- <RegExp input="$$1" output="&lt;setting type=&quot;sep&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression/>
- </RegExp>
- <RegExp input="$$1" output="&lt;setting label=&quot;30002&quot; type=&quot;bool&quot; id=&quot;fanart&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression/>
- </RegExp>
- <RegExp input="$$1" output="&lt;setting label=&quot;30003&quot; type=&quot;bool&quot; id=&quot;posters&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression/>
- </RegExp>
- <RegExp input="$$1" output="&lt;setting type=&quot;sep&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression/>
- </RegExp>
- <expression noclean="1"/>
- </RegExp>
- </GetSettings>
-
<NfoUrl dest="3">
<RegExp input="$$1" output="&lt;url cache=&quot;\1.xml&quot;&gt;http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;" dest="3">
<expression>http://(?:www\.)?thetvdb.com/(?:index\.php)?\?tab=series&amp;id=([0-9]+)</expression>
@@ -284,13 +257,4 @@
<expression noclean="1"/>
</RegExp>
</GetEpisodeDetails>
-
- <GetLanguages dest="3">
- <RegExp input="$$2" output="&lt;settings&gt;&lt;setting label=&quot;30004&quot; type=&quot;labelenum&quot; id=&quot;language&quot; values=&quot;$$8&quot; sort=&quot;yes&quot; default=&quot;en&quot;&gt;&lt;/setting&gt;&lt;/settings&gt;" dest="3">
- <RegExp input="$$1" output="\1|" dest="8+">
- <expression repeat="yes">&lt;abbreviation&gt;([^&lt;]*)&lt;/abbreviation&gt;</expression>
- </RegExp>
- <expression noclean="1"/>
- </RegExp>
- </GetLanguages>
</scraper>