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="&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">
+               <RegExp input="$$1" output="&lt;url 
cache=&quot;\1-$INFO[language].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>
                </RegExp>
                <RegExp input="$$1" output="&lt;details&gt;&lt;url 
cache=&quot;tt\1.xml&quot; 
function=&quot;GetTVDBId&quot;&gt;http://www.thetvdb.com/api/GetSeriesByRemoteID.php?imdbid=tt\1&amp;amp;language=$INFO[language]&lt;/url&gt;&lt;/details&gt;";
 dest="3+">
@@ -14,7 +14,7 @@
        </NfoUrl>
 
        <GetTVDBId dest="3">
-               <RegExp input="$$1" output="&lt;details&gt;&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;&lt;/details&gt;";
 dest="3">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
cache=&quot;\1-$INFO[language].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;&lt;/details&gt;";
 dest="3">
                        
<expression>&lt;seriesid&gt;([0-9]*)&lt;/seriesid&gt;</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="&lt;url&gt;http://www.thetvdb.com/api/GetSeries.php?seriesname=\1$$4&amp;amp;language=$INFO[language]&lt;/url&gt;";
 dest="3">
+               <RegExp input="$$1" output="&lt;url 
cache=&quot;cache-\1$$4.xml&quot;&gt;http://www.thetvdb.com/api/GetSeries.php?seriesname=\1$$4&amp;amp;language=$INFO[language]&lt;/url&gt;";
 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="&lt;?xml version=&quot;1.0&quot; 
encoding=&quot;utf-8&quot; 
standalone=&quot;yes&quot;?&gt;&lt;results&gt;\1&lt;/results&gt;" dest="1">
-                       <RegExp input="$$1" 
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">
+                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\3&lt;/title&gt;&lt;language&gt;\2&lt;/language&gt;&lt;url
 
cache=&quot;\1-\2.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"/>
@@ -99,9 +99,6 @@
                        <RegExp input="$$5" 
output="&lt;actor&gt;&lt;name&gt;\2&lt;/name&gt;&lt;role&gt;\3&lt;/role&gt;&lt;/actor&gt;"
 dest="4+">
                                <expression repeat="yes" 
noclean="1,2,3">&lt;Actor&gt;.*?&lt;Image&gt;([^&lt;]*)&lt;/Image&gt;.*?&lt;Name&gt;([^&lt;]*)&lt;/Name&gt;.*?&lt;Role&gt;([^&lt;]*)</expression>
                        </RegExp>
-                       <RegExp conditional="posters" output="&lt;thumb 
aspect=&quot;poster&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;"; 
dest="4+">
-                               <expression 
repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;poster&lt;/BannerType&gt;</expression>
-                       </RegExp>
                        <RegExp input="$$5" output="&lt;thumb 
aspect=&quot;banner&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;"; 
dest="4+">
                                <expression 
repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;series&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;graphical&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;$INFO[language]&lt;/Language&gt;</expression>
                        </RegExp>
@@ -129,7 +126,7 @@
                        <RegExp input="$$5" output="&lt;thumb 
aspect=&quot;banner&quot; type=&quot;season&quot; 
season=&quot;\3&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;"; dest="4+">
                                <expression 
repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;season&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;seasonwide&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;((?!$INFO[language])[a-z])*&lt;/Language&gt;[^&lt;]*[^S]*Season&gt;([0-9]+)&lt;/Season&gt;</expression>
                        </RegExp>
-                       <RegExp input="$$5" conditional="!posters" 
output="&lt;thumb 
aspect=&quot;poster&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;"; 
dest="4+">
+                       <RegExp input="$$5" output="&lt;thumb 
aspect=&quot;poster&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;"; 
dest="4+">
                                <expression 
repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;poster&lt;/BannerType&gt;</expression>
                        </RegExp>
                        <RegExp input="$$5" output="&lt;thumb 
aspect=&quot;poster&quot; type=&quot;season&quot; 
season=&quot;-1&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;"; dest="4+">
@@ -144,7 +141,7 @@
                                </RegExp>
                                <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+">
+                       <RegExp input="$$2" output="&lt;episodeguide&gt;&lt;url 
cache=&quot;$$2-$INFO[language].xml&quot;&gt;http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip&lt;/url&gt;&lt;/episodeguide&gt;";
 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="&lt;episodeguide&gt;\1&lt;/episodeguide&gt;" 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

Reply via email to