aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvdrfan <vdrfan-nospam-@xbmc.org>2012-01-04 18:43:52 +0100
committervdrfan <vdrfan-nospam-@xbmc.org>2012-01-04 18:44:29 +0100
commitbde3656a3021140c8477c2136b9b42211741686c (patch)
treeeaffb4cf98f6ed302cbd4665de6d277b48e84e33
parent4b7165450c7adf33a7bb6e256f5acf19c36b8982 (diff)
[metadata.tvdb.com] added imdb url nfo support (version 1.2.4)
-rw-r--r--addons/metadata.tvdb.com/addon.xml2
-rw-r--r--addons/metadata.tvdb.com/changelog.txt5
-rw-r--r--addons/metadata.tvdb.com/tvdb.xml12
3 files changed, 17 insertions, 2 deletions
diff --git a/addons/metadata.tvdb.com/addon.xml b/addons/metadata.tvdb.com/addon.xml
index 28123fb2d7..919b2bad4e 100644
--- a/addons/metadata.tvdb.com/addon.xml
+++ b/addons/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.2.3"
+ version="1.2.4"
provider-name="Team XBMC">
<requires>
<import addon="xbmc.metadata" version="1.0"/>
diff --git a/addons/metadata.tvdb.com/changelog.txt b/addons/metadata.tvdb.com/changelog.txt
index 607650470d..dc8444df95 100644
--- a/addons/metadata.tvdb.com/changelog.txt
+++ b/addons/metadata.tvdb.com/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.2.4[/B]
+- Added: support for imdb url nfo's
+
[B]1.2.3[/B]
- Fixed: fixed broken scraping under certain circumtaces
@@ -20,4 +23,4 @@
- Fixed: fallback to other image languages if preferred doesn't exist
[B]1.0.7[/B]
-- Fixed: season thumbs \ No newline at end of file
+- Fixed: season thumbs
diff --git a/addons/metadata.tvdb.com/tvdb.xml b/addons/metadata.tvdb.com/tvdb.xml
index cbd733d717..64a368d97b 100644
--- a/addons/metadata.tvdb.com/tvdb.xml
+++ b/addons/metadata.tvdb.com/tvdb.xml
@@ -5,8 +5,20 @@
<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">
<expression>http://(?:www\.)?thetvdb.com/(?:index\.php)?\?tab=series&amp;id=([0-9]+)</expression>
</RegExp>
+ <RegExp input="$$1" output="&lt;details&gt;&lt;url 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+">
+ <expression>imdb....?/title/tt([0-9]*)</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;details&gt;&lt;url 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+">
+ <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;" dest="3">
+ <expression>&lt;seriesid&gt;([0-9]*)&lt;/seriesid&gt;</expression>
+ </RegExp>
+ </GetTVDBId>
+
<EpisodeGuideUrl dest="3">
<RegExp input="$$1" output="\1" dest="3">
<expression>(.*?http://www.thetvdb.com.*)</expression>