The branch, frodo has been updated
       via  efa71d546a9e1d9f39320a5801a5c273241e119f (commit)
      from  9bc951de228731b925255cd4b8582a59bd80510a (commit)

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

commit efa71d546a9e1d9f39320a5801a5c273241e119f
Author: Lee Pollock <[email protected]>
Date:   Sat Mar 9 13:43:36 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 d482d7a..3817096 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.5.1"
+       version="1.5.2"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="2.1.0"/>
diff --git a/metadata.tvdb.com/changelog.txt b/metadata.tvdb.com/changelog.txt
index cac1ee3..106cd2e 100644
--- a/metadata.tvdb.com/changelog.txt
+++ b/metadata.tvdb.com/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.5.2[/B]
+- Changed: Dropped the www from thetvdb URLs
+
 [B]1.5.1[/B]
 - Updated: Versioning for xbmc.metadata
 
diff --git a/metadata.tvdb.com/tvdb.xml b/metadata.tvdb.com/tvdb.xml
index d762f66..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-$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">
+               <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-$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">
+               <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 
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="$$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-\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">
+                       <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"/>
@@ -141,7 +141,7 @@
                                </RegExp>
                                <expression noclean="1"/>
                        </RegExp>
-                       <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+">
+                       <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"/>
@@ -154,7 +154,7 @@
        <GetEpisodeList dest="3">
                <RegExp input="$$4" 
output="&lt;episodeguide&gt;\1&lt;/episodeguide&gt;" dest="3">
                        <RegExp input="$$2" output="\2-\3" dest="10">
-                               
<expression>http://(?:www\.)thetvdb.com/api/(.+)/series/([0-9]*)/all/(.+).zip</expression>
+                               
<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 |    3 +++
 metadata.tvdb.com/tvdb.xml      |   16 ++++++++--------
 3 files changed, 12 insertions(+), 9 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