diff options
Diffstat (limited to 'system/scrapers/video/tvdb.xml')
-rw-r--r-- | system/scrapers/video/tvdb.xml | 43 |
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="<settings>\1</settings>" dest="3"> <RegExp input="$$1" output="<url function="GetLanguages">http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml</url>" dest="5"> - <expression></expression> + <expression/> </RegExp> <RegExp input="$$1" output="<setting label="Use DVD Order" type="bool" id="dvdorder" default="false" enable="!eq(1,true)"></setting>" 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="<setting label="Use Absolute Ordering (Single Season)" type="bool" id="absolutenumber" default="false" enable="!eq(-1,true)"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <RegExp input="$$1" output="<setting type="sep"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <RegExp input="$$1" output="<setting label="Enable Fanart" type="bool" id="fanart" default="true"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <RegExp input="$$1" output="<setting label="Prefer Posters" type="bool" id="posters" default="false"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <RegExp input="$$1" output="<setting type="sep"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <RegExp input="$$1" output="<setting label="Language Override for Banners" type="bool" id="override" default="false"></setting>" 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="<entity><title>\3</title><language>\2</language><url cache="\1.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/\2.zip</url><id>\1</id></entity>" dest="4"> <expression repeat="yes"><seriesid>([0-9]*)</seriesid>[^<]*<language>([^<]*)</language>[^<]*<SeriesName>([^<]*)</SeriesName></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="<thumb dim="\2" colors="\3" preview="_cache/\1">\1</thumb>" dest="7+"> <expression repeat="yes"><BannerPath>([^<]*)</BannerPath>[^<]*<BannerType>fanart</BannerType>[^<]*<BannerType2>([^<]*)</BannerType2>[^<]*<Colors>([^<]*)</Colors>[^<]*<Language>[a-z]*</Language></expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> <RegExp input="$$2" output="<episodeguide><url cache="$$2.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip</url></episodeguide>" 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="<episode><title>\4</title><url cache="$$10.xml">$$2</url><epnum>\2</epnum><season>\3</season><id>\1</id><aired>\5</aired></episode>" dest="4"> <expression repeat="yes"><Episode>.*?<id>([0-9]+).*?<Combined_episodenumber>([0-9]+).*?<Combined_season>([0-9]+).*?<EpisodeName>([^<]*).*?<FirstAired>([^<]*)</FirstAired>.*?</Episode></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="<season>1</season>" dest="4+"> - <expression></expression> + <expression/> </RegExp> <RegExp conditional="absolutenumber" input="$$8" output="<episode>\1</episode>" dest="4+"> <expression><absolute_number>([^<]*)</absolute_number></expression> @@ -270,7 +265,6 @@ <RegExp conditional="!absolutenumber" input="$$8" output="<episode>\1</episode>" dest="4+"> <expression><EpisodeNumber>([^<]*)</EpisodeNumber></expression> </RegExp> - <RegExp input="$$8" output="<thumb>http://thetvdb.com/banners/\1</thumb>" dest="4+"> <expression><filename>([^<]+)</filename></expression> </RegExp> @@ -289,16 +283,15 @@ <RegExp input="$$8" output="<rating>\1</rating>" dest="4+"> <expression><Rating>([^<]+)</Rating></expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </GetEpisodeDetails> - <GetLanguages dest="3"> <RegExp input="$$2" output="<settings><setting label="Language" type="labelenum" id="language" values="$$8" sort="yes" default="en"></setting></settings>" dest="3"> <RegExp input="$$1" output="\1|" dest="8+"> <expression repeat="yes"><abbreviation>([^<]*)</abbreviation></expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </GetLanguages> </scraper> |