aboutsummaryrefslogtreecommitdiff
path: root/system/scrapers/video/tvdb.xml
diff options
context:
space:
mode:
Diffstat (limited to 'system/scrapers/video/tvdb.xml')
-rw-r--r--system/scrapers/video/tvdb.xml43
1 files changed, 18 insertions, 25 deletions
diff --git a/system/scrapers/video/tvdb.xml b/system/scrapers/video/tvdb.xml
index 559902a12b..014bdccdeb 100644
--- a/system/scrapers/video/tvdb.xml
+++ b/system/scrapers/video/tvdb.xml
@@ -4,31 +4,31 @@
<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></expression>
+ <expression/>
</RegExp>
<RegExp input="$$1" output="&lt;setting label=&quot;Use DVD Order&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></expression>
+ <expression/>
</RegExp>
<!-- Absolute ordering is great for Animes it actually trick XBMC by telling it that the serie has only one season and uses the 'absolute_number' as episodes numbers -->
<RegExp input="$$1" output="&lt;setting label=&quot;Use Absolute Ordering (Single Season)&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></expression>
+ <expression/>
</RegExp>
<RegExp input="$$1" output="&lt;setting type=&quot;sep&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression></expression>
+ <expression/>
</RegExp>
<RegExp input="$$1" output="&lt;setting label=&quot;Enable Fanart&quot; type=&quot;bool&quot; id=&quot;fanart&quot; default=&quot;true&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression></expression>
+ <expression/>
</RegExp>
<RegExp input="$$1" output="&lt;setting label=&quot;Prefer Posters&quot; type=&quot;bool&quot; id=&quot;posters&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression></expression>
+ <expression/>
</RegExp>
<RegExp input="$$1" output="&lt;setting type=&quot;sep&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression></expression>
+ <expression/>
</RegExp>
<RegExp input="$$1" output="&lt;setting label=&quot;Language Override for Banners&quot; type=&quot;bool&quot; id=&quot;override&quot; default=&quot;false&quot;&gt;&lt;/setting&gt;" dest="5+">
- <expression></expression>
+ <expression/>
</RegExp>
- <expression noclean="1"></expression>
+ <expression noclean="1"/>
</RegExp>
</GetSettings>
@@ -45,7 +45,6 @@
<expression>(.*?http://thetvdb.com.*)</expression>
</RegExp>
</EpisodeGuideUrl>
-
<!-- input: $1=query string -->
<!-- returns: the url we should use to do the search -->
<CreateSearchUrl dest="3">
@@ -53,10 +52,9 @@
<RegExp input="$$2" output="%20(\1)" dest="4">
<expression clear="yes">(.+)</expression>
</RegExp>
- <expression></expression>
+ <expression/>
</RegExp>
</CreateSearchUrl>
-
<!-- input: $1=html $2=search query -->
<!-- returns: results in xml format <results><movie><title>*</title><url>*</url>*#urls<extra>*</extra></movie>*</results> -->
<GetSearchResults dest="1">
@@ -67,10 +65,9 @@
<RegExp input="$$3" output="&lt;entity&gt;&lt;title&gt;\3&lt;/title&gt;&lt;language&gt;\2&lt;/language&gt;&lt;url cache=&quot;\1.xml&quot;&gt;http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/\2.zip&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;" dest="4">
<expression repeat="yes">&lt;seriesid&gt;([0-9]*)&lt;/seriesid&gt;[^&lt;]*&lt;language&gt;([^&lt;]*)&lt;/language&gt;[^&lt;]*&lt;SeriesName&gt;([^&lt;]*)&lt;/SeriesName&gt;</expression>
</RegExp>
- <expression noclean="1"></expression>
+ <expression noclean="1"/>
</RegExp>
</GetSearchResults>
-
<!-- input: $1..#urls=html -->
<!-- input: $(#urls+1): extra !-->
<!-- returns: results in xml format <details><plot>*</plot><director>*</director><premiered>*</premiered><episodeguide>*</episodeguide></details> -->
@@ -163,15 +160,14 @@
<RegExp conditional="override" input="$$5" output="&lt;thumb dim=&quot;\2&quot; colors=&quot;\3&quot; preview=&quot;_cache/\1&quot;&gt;\1&lt;/thumb&gt;" dest="7+">
<expression repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;fanart&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;([^&lt;]*)&lt;/BannerType2&gt;[^&lt;]*&lt;Colors&gt;([^&lt;]*)&lt;/Colors&gt;[^&lt;]*&lt;Language&gt;[a-z]*&lt;/Language&gt;</expression>
</RegExp>
- <expression noclean="1"></expression>
+ <expression noclean="1"/>
</RegExp>
<RegExp input="$$2" output="&lt;episodeguide&gt;&lt;url cache=&quot;$$2.xml&quot;&gt;http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip&lt;/url&gt;&lt;/episodeguide&gt;" dest="4+">
- <expression></expression>
+ <expression/>
</RegExp>
- <expression noclean="1"></expression>
+ <expression noclean="1"/>
</RegExp>
</GetDetails>
-
<!-- input: $1=html !-->
<!-- input: $2=series url !-->
<!-- returns: results in xml format <episodeguide><episode><title>*</title><url>*</url><season>*</season><epnum>*</epnum><thumb>*</thumb><id>*</id><aired>*</aired></episode>*</episodeguide> !-->
@@ -203,10 +199,9 @@
<RegExp conditional="dvdorder" input="$$1" output="&lt;episode&gt;&lt;title&gt;\4&lt;/title&gt;&lt;url cache=&quot;$$10.xml&quot;&gt;$$2&lt;/url&gt;&lt;epnum&gt;\2&lt;/epnum&gt;&lt;season&gt;\3&lt;/season&gt;&lt;id&gt;\1&lt;/id&gt;&lt;aired&gt;\5&lt;/aired&gt;&lt;/episode&gt;" dest="4">
<expression repeat="yes">&lt;Episode&gt;.*?&lt;id&gt;([0-9]+).*?&lt;Combined_episodenumber&gt;([0-9]+).*?&lt;Combined_season&gt;([0-9]+).*?&lt;EpisodeName&gt;([^&lt;]*).*?&lt;FirstAired&gt;([^&lt;]*)&lt;/FirstAired&gt;.*?&lt;/Episode&gt;</expression>
</RegExp>
- <expression noclean="1"></expression>
+ <expression noclean="1"/>
</RegExp>
</GetEpisodeList>
-
<!-- input: $1=html -->
<!-- returns: results in xml format <details><writer>*</writer><director>*</director><cast>*</cast><rating>*</rating><rank>*</rank><plot>*</plot> -->
<GetEpisodeDetails dest="3">
@@ -258,7 +253,7 @@
</RegExp>
<!-- Absolute Numbering -->
<RegExp conditional="absolutenumber" input="$$8" output="&lt;season&gt;1&lt;/season&gt;" dest="4+">
- <expression></expression>
+ <expression/>
</RegExp>
<RegExp conditional="absolutenumber" input="$$8" output="&lt;episode&gt;\1&lt;/episode&gt;" dest="4+">
<expression>&lt;absolute_number&gt;([^&lt;]*)&lt;/absolute_number&gt;</expression>
@@ -270,7 +265,6 @@
<RegExp conditional="!absolutenumber" input="$$8" output="&lt;episode&gt;\1&lt;/episode&gt;" dest="4+">
<expression>&lt;EpisodeNumber&gt;([^&lt;]*)&lt;/EpisodeNumber&gt;</expression>
</RegExp>
-
<RegExp input="$$8" output="&lt;thumb&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;" dest="4+">
<expression>&lt;filename&gt;([^&lt;]+)&lt;/filename&gt;</expression>
</RegExp>
@@ -289,16 +283,15 @@
<RegExp input="$$8" output="&lt;rating&gt;\1&lt;/rating&gt;" dest="4+">
<expression>&lt;Rating&gt;([^&lt;]+)&lt;/Rating&gt;</expression>
</RegExp>
- <expression noclean="1"></expression>
+ <expression noclean="1"/>
</RegExp>
</GetEpisodeDetails>
-
<GetLanguages dest="3">
<RegExp input="$$2" output="&lt;settings&gt;&lt;setting label=&quot;Language&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"></expression>
+ <expression noclean="1"/>
</RegExp>
</GetLanguages>
</scraper>