aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.common.theaudiodb.com
diff options
context:
space:
mode:
authorMartijn Kaijser <mcm.kaijser@gmail.com>2013-10-16 15:21:01 +0200
committerMartijn Kaijser <mcm.kaijser@gmail.com>2013-10-16 15:23:37 +0200
commite4f0689f793e39d1af5b98f79d6c25f411806fba (patch)
tree10693ef97c16083832f35c0b0eda13da571162b1 /addons/metadata.common.theaudiodb.com
parent1f9204e776812f0ff9ffa2def695ee25ab3a3acc (diff)
[addons] sync addons to repo
Diffstat (limited to 'addons/metadata.common.theaudiodb.com')
-rw-r--r--addons/metadata.common.theaudiodb.com/addon.xml2
-rw-r--r--addons/metadata.common.theaudiodb.com/tadb.xml31
2 files changed, 32 insertions, 1 deletions
diff --git a/addons/metadata.common.theaudiodb.com/addon.xml b/addons/metadata.common.theaudiodb.com/addon.xml
index 432763702a..02e33e9524 100644
--- a/addons/metadata.common.theaudiodb.com/addon.xml
+++ b/addons/metadata.common.theaudiodb.com/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.common.theaudiodb.com"
name="TheAudioDb Common Scraper Functions"
- version="1.6.1"
+ version="1.7.1"
provider-name="Team XBMC">
<requires>
<import addon="xbmc.metadata" version="2.1.0"/>
diff --git a/addons/metadata.common.theaudiodb.com/tadb.xml b/addons/metadata.common.theaudiodb.com/tadb.xml
index 7c1a807a05..6f49d7d4ef 100644
--- a/addons/metadata.common.theaudiodb.com/tadb.xml
+++ b/addons/metadata.common.theaudiodb.com/tadb.xml
@@ -67,6 +67,9 @@
<RegExp input="" output="" dest="11">
<expression />
</RegExp>
+ <RegExp input="" output="" dest="12">
+ <expression />
+ </RegExp>
<RegExp input="$$1" output="\1" dest="11">
<expression fixchars="1">strBiographyEN&quot;:&quot;(.*?)&quot;,&quot;</expression>
</RegExp>
@@ -149,6 +152,9 @@
<RegExp input="" output="" dest="11">
<expression />
</RegExp>
+ <RegExp input="" output="" dest="12">
+ <expression />
+ </RegExp>
<RegExp input="$$1" output="&lt;formed&gt;\2 (\1)&lt;/formed&gt;" dest="11">
<expression fixchars="2" noclean="1">intFormedYear&quot;:&quot;([^&quot;]*).*?strCountry&quot;:&quot;([^&quot;]*)</expression>
</RegExp>
@@ -190,6 +196,9 @@
<RegExp input="" output="" dest="11">
<expression />
</RegExp>
+ <RegExp input="" output="" dest="12">
+ <expression />
+ </RegExp>
<RegExp input="$$1" output="&lt;formed&gt;\2 (\1)&lt;/formed&gt;" dest="11">
<expression fixchars="2" noclean="1">intFormedYear&quot;:&quot;([^&quot;]*).*?strCountry&quot;:&quot;([^&quot;]*)</expression>
</RegExp>
@@ -227,6 +236,9 @@
<RegExp input="" output="" dest="11">
<expression />
</RegExp>
+ <RegExp input="" output="" dest="12">
+ <expression />
+ </RegExp>
<RegExp input="$$1" output="\1" dest="11">
<expression fixchars="1">strSubGenre&quot;:&quot;([^&quot;]*)</expression>
</RegExp>
@@ -286,6 +298,25 @@
</RegExp>
</ParseTADBAlbumReview>
+ <GetTADBAlbumRating dest="5">
+ <RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumRating&quot; cache=&quot;tadb-\1-album.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
+ <expression noclean="1"/>
+ </RegExp>
+ </GetTADBAlbumRating>
+ <GetTADBAlbumRatingByMBID dest="5" clearbuffers="no">
+ <RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumRating&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
+ <expression noclean="1"/>
+ </RegExp>
+ </GetTADBAlbumRatingByMBID>
+ <ParseTADBAlbumRating dest="5">
+ <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="&lt;rating max=&quot;10.0&quot;&gt;\1&lt;/rating&gt;" dest="2">
+ <expression fixchars="1">intScore&quot;:&quot;(.*?)&quot;,&quot;</expression>
+ </RegExp>
+ <expression noclean="1" />
+ </RegExp>
+ </ParseTADBAlbumRating>
+
<GetTADBAlbumTitleByID dest="5">
<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumTitle&quot; cache=&quot;tadb-\1-album.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
<expression noclean="1"/>