diff options
author | nadasb <nadasb@svn> | 2010-09-26 21:00:35 +0000 |
---|---|---|
committer | nadasb <nadasb@svn> | 2010-09-26 21:00:35 +0000 |
commit | 91ec1fc310b107957a3de71f163ca36285cfe66c (patch) | |
tree | cfc19c2492473f344fbd5e72f0e45467e2bc12cc | |
parent | 7b3ab8d1f19bc95bfa3db3d600c1c4dd21e68ae6 (diff) |
[metadata.common.htbackdrops.com] Added caching to avoid unnecessary server load
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34210 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | addons/metadata.common.htbackdrops.com/addon.xml | 2 | ||||
-rw-r--r-- | addons/metadata.common.htbackdrops.com/htbackdrops.xml | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/addons/metadata.common.htbackdrops.com/addon.xml b/addons/metadata.common.htbackdrops.com/addon.xml index dd8af20257..cbcaf0e45a 100644 --- a/addons/metadata.common.htbackdrops.com/addon.xml +++ b/addons/metadata.common.htbackdrops.com/addon.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="metadata.common.htbackdrops.com" name="HTBackdrops" - version="1.0.5" + version="1.0.6" provider-name="Team XBMC"> <requires> <import addon="xbmc.metadata" version="1.0"/> diff --git a/addons/metadata.common.htbackdrops.com/htbackdrops.xml b/addons/metadata.common.htbackdrops.com/htbackdrops.xml index 3c8f3038c6..ffac019386 100644 --- a/addons/metadata.common.htbackdrops.com/htbackdrops.xml +++ b/addons/metadata.common.htbackdrops.com/htbackdrops.xml @@ -1,26 +1,26 @@ <scraperfunctions> <GetHTBThumbs dest="5"> - <RegExp input="$$1" output="<details><url function="ParseHTBThumbs" post="yes">http://htbackdrops.com/api/7681a907c805e0670330c694e788e8e8/searchXML?keywords=\1&default_operator=and&aid=5</url>/details>" dest="5"> + <RegExp input="$$1" output="<details><url function="ParseHTBThumbs" post="yes" cache="htb-images-\1.xml">http://htbackdrops.com/api/7681a907c805e0670330c694e788e8e8/searchXML?keywords=\1&default_operator=and&aid=1,5</url></details>" dest="5"> <expression noclean="1" /> </RegExp> </GetHTBThumbs> <ParseHTBThumbs dest="5"> <RegExp input="$$13" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="<thumb preview="http://www.htbackdrops.com/api/7681a907c805e0670330c694e788e8e8/download/\1/thumbnail">http://www.htbackdrops.com/api/7681a907c805e0670330c694e788e8e8/download/\1/fullsize</thumb>" dest="13"> - <expression repeat="yes" noclean="1"><id>([^<]+)</expression> + <expression repeat="yes" noclean="1"><id>([^<]+)</id>\n[^<]+<album>5</album></expression> </RegExp> <expression noclean="1">(.+)</expression> </RegExp> </ParseHTBThumbs> <GetHTBFanart dest="5"> - <RegExp input="$$1" output="<details><url function="ParseHTBFanart" post="yes">http://htbackdrops.com/api/7681a907c805e0670330c694e788e8e8/searchXML?keywords=\1&default_operator=and&aid=1</url>/details>" dest="5"> + <RegExp input="$$1" output="<details><url function="ParseHTBFanart" post="yes" cache="htb-images-\1.xml">http://htbackdrops.com/api/7681a907c805e0670330c694e788e8e8/searchXML?keywords=\1&default_operator=and&aid=1,5</url></details>" dest="5"> <expression noclean="1" /> </RegExp> </GetHTBFanart> <ParseHTBFanart dest="5"> <RegExp input="$$13" output="<details><fanart url="http://www.htbackdrops.com/">\1</fanart></details>" dest="5"> <RegExp input="$$1" output="<thumb preview="api/7681a907c805e0670330c694e788e8e8/download/\1/thumbnail">api/7681a907c805e0670330c694e788e8e8/download/\1/fullsize</thumb>" dest="13"> - <expression repeat="yes" noclean="1"><id>([^<]+)</expression> + <expression repeat="yes" noclean="1"><id>([^<]+)</id>\n[^<]+<album>1</album></expression> </RegExp> <expression noclean="1">(.+)</expression> </RegExp> |