The branch, frodo has been updated via 10bf4af0665f215c2c23e3ddbcb1413ddee49396 (commit) from ac7d85b2444eda71411b8674172c2e725e57c79c (commit)
- Log ----------------------------------------------------------------- http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=10bf4af0665f215c2c23e3ddbcb1413ddee49396 commit 10bf4af0665f215c2c23e3ddbcb1413ddee49396 Author: olympia <olym...@xbmc.org> Date: Wed Feb 27 13:59:29 2013 +0100 [metadata.tvdb.com] updated to version 1.5.0 diff --git a/metadata.tvdb.com/addon.xml b/metadata.tvdb.com/addon.xml index 4e0bcb7..1629985 100644 --- a/metadata.tvdb.com/addon.xml +++ b/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.4.5" + version="1.5.0" provider-name="Team XBMC"> <requires> <import addon="xbmc.metadata" version="1.0"/> diff --git a/metadata.tvdb.com/changelog.txt b/metadata.tvdb.com/changelog.txt index 01a0e68..fc69260 100644 --- a/metadata.tvdb.com/changelog.txt +++ b/metadata.tvdb.com/changelog.txt @@ -1,3 +1,8 @@ +[B]1.5.0[/B] +- Added: Language tag to caching (thx and credits to pgit) +- Added: Caching for search results (thx and credits to pgit) +- Removed: Poster preference as this is not needed for Frodo + [B]1.4.5[/B] - Fixed: dvdorder setting won't apply in GetEpisodeDetails (thx and credits to scudlee) diff --git a/metadata.tvdb.com/resources/settings.xml b/metadata.tvdb.com/resources/settings.xml index 2396b76..14b802a 100644 --- a/metadata.tvdb.com/resources/settings.xml +++ b/metadata.tvdb.com/resources/settings.xml @@ -4,7 +4,6 @@ <setting label="30001" type="bool" id="absolutenumber" default="false" enable="!eq(-1,true)" /> <setting type="sep" /> <setting label="30002" type="bool" id="fanart" default="true" /> - <setting label="30003" type="bool" id="posters" default="false" /> <setting type="sep" /> <setting label="30004" type="labelenum" id="language" values="da|fi|nl|de|it|es|fr|pl|hu|el|tr|ru|he|ja|pt|zh|cs|sl|hr|ko|en|sv|no" sort="yes" default="en" /> </settings> diff --git a/metadata.tvdb.com/tvdb.xml b/metadata.tvdb.com/tvdb.xml index 844f945..d762f66 100644 --- a/metadata.tvdb.com/tvdb.xml +++ b/metadata.tvdb.com/tvdb.xml @@ -2,7 +2,7 @@ <!-- should be self-explanatory --> <scraper framework="1.1" date="2009-01-27"> <NfoUrl dest="3"> - <RegExp input="$$1" output="<url cache="\1.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip</url><id>\1</id>" dest="3"> + <RegExp input="$$1" output="<url cache="\1-$INFO[language].xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip</url><id>\1</id>" dest="3"> <expression>http://(?:www\.)?thetvdb.com/(?:index\.php)?\?tab=series&id=([0-9]+)</expression> </RegExp> <RegExp input="$$1" output="<details><url cache="tt\1.xml" function="GetTVDBId">http://www.thetvdb.com/api/GetSeriesByRemoteID.php?imdbid=tt\1&amp;language=$INFO[language]</url></details>" dest="3+"> @@ -14,7 +14,7 @@ </NfoUrl> <GetTVDBId dest="3"> - <RegExp input="$$1" output="<details><url cache="\1.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip</url><id>\1</id></details>" dest="3"> + <RegExp input="$$1" output="<details><url cache="\1-$INFO[language].xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip</url><id>\1</id></details>" dest="3"> <expression><seriesid>([0-9]*)</seriesid></expression> </RegExp> </GetTVDBId> @@ -31,7 +31,7 @@ <!-- input: $1=query string --> <!-- returns: the url we should use to do the search --> <CreateSearchUrl dest="3"> - <RegExp input="$$1" output="<url>http://www.thetvdb.com/api/GetSeries.php?seriesname=\1$$4&amp;language=$INFO[language]</url>" dest="3"> + <RegExp input="$$1" output="<url cache="cache-\1$$4.xml">http://www.thetvdb.com/api/GetSeries.php?seriesname=\1$$4&amp;language=$INFO[language]</url>" dest="3"> <RegExp input="$$2" output="%20(\1)" dest="4"> <expression clear="yes">(.+)</expression> </RegExp> @@ -43,7 +43,7 @@ <!-- returns: results in xml format <results><movie><title>*</title><url>*</url>*#urls<extra>*</extra></movie>*</results> --> <GetSearchResults dest="1"> <RegExp input="$$4" output="<?xml version="1.0" encoding="utf-8" standalone="yes"?><results>\1</results>" dest="1"> - <RegExp input="$$1" 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"> + <RegExp input="$$1" output="<entity><title>\3</title><language>\2</language><url cache="\1-\2.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"/> @@ -99,9 +99,6 @@ <RegExp input="$$5" output="<actor><name>\2</name><role>\3</role></actor>" dest="4+"> <expression repeat="yes" noclean="1,2,3"><Actor>.*?<Image>([^<]*)</Image>.*?<Name>([^<]*)</Name>.*?<Role>([^<]*)</expression> </RegExp> - <RegExp conditional="posters" output="<thumb aspect="poster">http://thetvdb.com/banners/\1</thumb>" dest="4+"> - <expression repeat="yes"><BannerPath>([^<]*)</BannerPath>[^<]*<BannerType>poster</BannerType></expression> - </RegExp> <RegExp input="$$5" output="<thumb aspect="banner">http://thetvdb.com/banners/\1</thumb>" dest="4+"> <expression repeat="yes"><BannerPath>([^<]*)</BannerPath>[^<]*<BannerType>series</BannerType>[^<]*<BannerType2>graphical</BannerType2>[^<]*<Language>$INFO[language]</Language></expression> </RegExp> @@ -129,7 +126,7 @@ <RegExp input="$$5" output="<thumb aspect="banner" type="season" season="\3">http://thetvdb.com/banners/\1</thumb>" dest="4+"> <expression repeat="yes"><BannerPath>([^<]*)</BannerPath>[^<]*<BannerType>season</BannerType>[^<]*<BannerType2>seasonwide</BannerType2>[^<]*<Language>((?!$INFO[language])[a-z])*</Language>[^<]*[^S]*Season>([0-9]+)</Season></expression> </RegExp> - <RegExp input="$$5" conditional="!posters" output="<thumb aspect="poster">http://thetvdb.com/banners/\1</thumb>" dest="4+"> + <RegExp input="$$5" output="<thumb aspect="poster">http://thetvdb.com/banners/\1</thumb>" dest="4+"> <expression repeat="yes"><BannerPath>([^<]*)</BannerPath>[^<]*<BannerType>poster</BannerType></expression> </RegExp> <RegExp input="$$5" output="<thumb aspect="poster" type="season" season="-1">http://thetvdb.com/banners/\1</thumb>" dest="4+"> @@ -144,7 +141,7 @@ </RegExp> <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+"> + <RegExp input="$$2" output="<episodeguide><url cache="$$2-$INFO[language].xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip</url></episodeguide>" dest="4+"> <expression/> </RegExp> <expression noclean="1"/> @@ -156,7 +153,7 @@ <!-- returns: results in xml format <episodeguide><episode><title>*</title><url>*</url><season>*</season><epnum>*</epnum><thumb>*</thumb><id>*</id><aired>*</aired></episode>*</episodeguide> !--> <GetEpisodeList dest="3"> <RegExp input="$$4" output="<episodeguide>\1</episodeguide>" dest="3"> - <RegExp input="$$2" output="\2" dest="10"> + <RegExp input="$$2" output="\2-\3" dest="10"> <expression>http://(?:www\.)thetvdb.com/api/(.+)/series/([0-9]*)/all/(.+).zip</expression> </RegExp> <RegExp conditional="!dvdorder"> ----------------------------------------------------------------------- Summary of changes: metadata.tvdb.com/addon.xml | 2 +- metadata.tvdb.com/changelog.txt | 5 +++++ metadata.tvdb.com/resources/settings.xml | 1 - metadata.tvdb.com/tvdb.xml | 17 +++++++---------- 4 files changed, 13 insertions(+), 12 deletions(-) hooks/post-receive -- Scrapers ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Xbmc-addons mailing list Xbmc-addons@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xbmc-addons