The branch, eden has been updated
       via  3485aa23882c7871d46a9923e75e062228c56641 (commit)
      from  64154029a6925a5743da5dd5f952786f8098f40f (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=3485aa23882c7871d46a9923e75e062228c56641

commit 3485aa23882c7871d46a9923e75e062228c56641
Author: Lee Pollock <[email protected]>
Date:   Sat Mar 9 13:47:13 2013 +0000

    [metadata.tvdb.com] updated to version 1.5.2

diff --git a/metadata.tvdb.com/addon.xml b/metadata.tvdb.com/addon.xml
index 4e0bcb7..ce8024d 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.2"
        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..106cd2e 100644
--- a/metadata.tvdb.com/changelog.txt
+++ b/metadata.tvdb.com/changelog.txt
@@ -1,3 +1,14 @@
+[B]1.5.2[/B]
+- Changed: Dropped the www from thetvdb URLs
+
+[B]1.5.1[/B]
+- Updated: Versioning for xbmc.metadata
+
+[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/tvdb.xml b/metadata.tvdb.com/tvdb.xml
index 844f945..6cb9e25 100644
--- a/metadata.tvdb.com/tvdb.xml
+++ b/metadata.tvdb.com/tvdb.xml
@@ -2,19 +2,19 @@
 <!-- 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://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+">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
cache=&quot;tt\1.xml&quot; 
function=&quot;GetTVDBId&quot;&gt;http://thetvdb.com/api/GetSeriesByRemoteID.php?imdbid=tt\1&amp;amp;language=$INFO[language]&lt;/url&gt;&lt;/details&gt;";
 dest="3+">
                        <expression>imdb....?/title/tt([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+">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
cache=&quot;tt\1.xml&quot; 
function=&quot;GetTVDBId&quot;&gt;http://thetvdb.com/api/GetSeriesByRemoteID.php?imdbid=tt\1&amp;amp;language=$INFO[language]&lt;/url&gt;&lt;/details&gt;";
 dest="3+">
                        <expression>imdb....?/Title\?([0-9]*)</expression>
                </RegExp>
        </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://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://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://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://thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip&lt;/url&gt;&lt;/episodeguide&gt;";
 dest="4+">
                                <expression/>
                        </RegExp>
                        <expression noclean="1"/>
@@ -156,8 +153,8 @@
        <!-- 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">
-                               
<expression>http://(?:www\.)thetvdb.com/api/(.+)/series/([0-9]*)/all/(.+).zip</expression>
+                       <RegExp input="$$2" output="\2-\3" dest="10">
+                               
<expression>http://(?:www\.)?thetvdb.com/api/(.+)/series/([0-9]*)/all/(.+).zip</expression>
                        </RegExp>
                        <RegExp conditional="!dvdorder">
                                <!-- Regular episodes (Absolute order) -->

-----------------------------------------------------------------------

Summary of changes:
 metadata.tvdb.com/addon.xml     |    2 +-
 metadata.tvdb.com/changelog.txt |   11 +++++++++++
 metadata.tvdb.com/tvdb.xml      |   23 ++++++++++-------------
 3 files changed, 22 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to