The branch, frodo has been updated
       via  1033aaed6fd2b413dc2e35a13c9620b53ce776aa (commit)
      from  9b973d15e9aba1a3c54260e546eeee53262289de (commit)

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

commit 1033aaed6fd2b413dc2e35a13c9620b53ce776aa
Author: olympia <[email protected]>
Date:   Wed Feb 6 11:12:18 2013 +0100

    [metadata.common.theaudiodb.com] updated to version 1.5.0

diff --git a/metadata.common.theaudiodb.com/addon.xml 
b/metadata.common.theaudiodb.com/addon.xml
index 9adcd50..d92bf60 100644
--- a/metadata.common.theaudiodb.com/addon.xml
+++ b/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.4.0"
+       version="1.5.0"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="2.1.0"/>
diff --git a/metadata.common.theaudiodb.com/tadb.xml 
b/metadata.common.theaudiodb.com/tadb.xml
index f4af09d..0f192c0 100644
--- a/metadata.common.theaudiodb.com/tadb.xml
+++ b/metadata.common.theaudiodb.com/tadb.xml
@@ -68,11 +68,11 @@
                                <expression />
                        </RegExp>
                        <RegExp input="$$1" output="\1" dest="11">
-                               <expression 
fixchars="1">strBiography$INFO[tadbartistlanguage]&quot;:&quot;(.*?)&quot;,&quot;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" output="\1" dest="11+">
                                <expression 
fixchars="1">strBiographyEN&quot;:&quot;(.*?)&quot;,&quot;</expression>
                        </RegExp>
+                       <RegExp input="$$1" output="\1" dest="11">
+                               <expression 
fixchars="1">strBiography$INFO[tadbartistlanguage]&quot;:&quot;(.*?)&quot;,&quot;</expression>
+                       </RegExp>
                        <RegExp input="$$11" output="$$12" dest="2">
                                <RegExp input="$INFO[biogfbsource]" 
output="&lt;chain 
function=&quot;GetLastFMFallbackBiographyByMBID&quot;&gt;$$8&lt;/chain&gt;" 
dest="12">
                                        <expression>last.fm</expression>
@@ -99,12 +99,12 @@
                        <RegExp input="" output="" dest="2">
                                <expression />
                        </RegExp>
+                       <RegExp input="$$1" 
output="&lt;biography&gt;\1&lt;/biography&gt;" dest="2">
+                               <expression 
fixchars="1">strBiographyen&quot;:&quot;(.*?)&quot;,&quot;</expression>
+                       </RegExp>
                        <RegExp input="$$1" output="\1" dest="2">
                                <expression 
fixchars="1">strBiography$INFO[tadbartistlanguage]&quot;:&quot;(.*?)&quot;,&quot;</expression>
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;biography&gt;\1&lt;/biography&gt;" dest="2+">
-                               <expression 
fixchars="1">strBiographyen&quot;:&quot;(.*?)&quot;,&quot;</expression>
-                       </RegExp>
                        <expression noclean="1"/>
                </RegExp>
        </ParseTADBFallbackBiography>
@@ -114,6 +114,11 @@
                        <expression noclean="1" />
                </RegExp>
        </GetTADBDiscographyByID>
+       <GetTADBDiscographyByMBID dest="5" clearbuffers="no">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseTADBDiscography&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/discography-mb.php?s=\1&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1" />
+               </RegExp>
+       </GetTADBDiscographyByMBID>
        <ParseTADBDiscography dest="5" clearbuffers="no">
                <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
                        <RegExp input="" output="" dest="2">
@@ -131,6 +136,11 @@
                        <expression noclean="1" />
                </RegExp>
        </GetTADBLifeSpanByID>
+       <GetTADBLifeSpanByMBID dest="5" clearbuffers="no">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseTADBLifeSpan&quot; 
cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetTADBLifeSpanByMBID>
        <ParseTADBLifeSpan dest="5" clearbuffers="no">
                <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
                        <RegExp input="" output="" dest="2">
@@ -139,18 +149,27 @@
                        <RegExp input="" output="" dest="11">
                                <expression />
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;formed&gt;\1&lt;/formed&gt;" dest="11">
-                               <expression 
noclean="1">intFormedYear&quot;:&quot;([^&quot;]*)</expression>
+                       <RegExp input="$$1" output="&lt;formed&gt;\2 
(\1)&lt;/formed&gt;" dest="11">
+                               <expression 
noclean="1">intFormedYear&quot;:&quot;([^&quot;]*).*?strCountry&quot;:&quot;([^&quot;]*)</expression>
                        </RegExp>
                        <RegExp input="$$1" 
output="&lt;disbanded&gt;\1&lt;/disbanded&gt;" dest="11+">
                                <expression 
noclean="1">strDisbanded&quot;:&quot;([^&quot;]*)</expression>
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;born&gt;\1&lt;/born&gt;" dest="11">
-                               <expression 
noclean="1">intBornYear&quot;:&quot;([^&quot;]*)</expression>
+                       <RegExp input="$$1" output="&lt;born&gt;\2 
(\1)&lt;/born&gt;" dest="11">
+                               <expression 
noclean="1">intBornYear&quot;:&quot;([^&quot;]*).*?strCountry&quot;:&quot;([^&quot;]*)</expression>
                        </RegExp>
                        <RegExp input="$$1" 
output="&lt;died&gt;\1&lt;/died&gt;" dest="11+">
                                <expression 
noclean="1">intDiedYear&quot;:&quot;([^&quot;]*)</expression>
                        </RegExp>
+                       <RegExp input="$$11" output="$$12" dest="2">
+                               <RegExp input="$INFO[lifespanfbsource]" 
output="&lt;chain 
function=&quot;GetMBFallbackLafeSpanByMBID&quot;&gt;$$8&lt;/chain&gt;" 
dest="12">
+                                       <expression>MusicBrainz</expression>
+                               </RegExp>
+                               <RegExp input="$INFO[lifespanfbsource]" 
output="&lt;chain 
function=&quot;GetAMGFallbackArtistLifeSpanByAMGID&quot;&gt;$$9&lt;/chain&gt;" 
dest="12">
+                                       <expression>allmusic.com</expression>
+                               </RegExp>
+                       <expression>^$</expression>
+                       </RegExp>
                        <RegExp input="$$11" output="$$11" dest="2">
                                <expression 
noclean="1">&lt;(?:born|formed)*&gt;(.+)&lt;/(?:born|formed)*&gt;</expression>
                        </RegExp>
@@ -158,23 +177,92 @@
                </RegExp>
        </ParseTADBLifeSpan>
 
+       <GetTADBFallbackLifeSpanByMBID dest="5" clearbuffers="no">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseTADBFallbackLifeSpan&quot; 
cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetTADBFallbackLifeSpanByMBID>
+       <ParseTADBFallbackLifeSpan dest="5" clearbuffers="no">
+               <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
+                       <RegExp input="" output="" dest="2">
+                               <expression />
+                       </RegExp>
+                       <RegExp input="" output="" dest="11">
+                               <expression />
+                       </RegExp>
+                       <RegExp input="$$1" output="&lt;formed&gt;\2 
(\1)&lt;/formed&gt;" dest="11">
+                               <expression 
noclean="1">intFormedYear&quot;:&quot;([^&quot;]*).*?strCountry&quot;:&quot;([^&quot;]*)</expression>
+                       </RegExp>
+                       <RegExp input="$$1" 
output="&lt;disbanded&gt;\1&lt;/disbanded&gt;" dest="11+">
+                               <expression 
noclean="1">strDisbanded&quot;:&quot;([^&quot;]*)</expression>
+                       </RegExp>
+                       <RegExp input="$$1" output="&lt;born&gt;\2 
(\1)&lt;/born&gt;" dest="11">
+                               <expression 
noclean="1">intBornYear&quot;:&quot;([^&quot;]*).*?strCountry&quot;:&quot;([^&quot;]*)</expression>
+                       </RegExp>
+                       <RegExp input="$$1" 
output="&lt;died&gt;\1&lt;/died&gt;" dest="11+">
+                               <expression 
noclean="1">intDiedYear&quot;:&quot;([^&quot;]*)</expression>
+                       </RegExp>
+                       <RegExp input="$$11" output="$$11" dest="2">
+                               <expression 
noclean="1">&lt;(?:born|formed)*&gt;(.+)&lt;/(?:born|formed)*&gt;</expression>
+                       </RegExp>
+                       <expression noclean="1"/>
+               </RegExp>
+       </ParseTADBFallbackLifeSpan>
+
        <GetTADBArtistGenresByID dest="5" clearbuffers="no">
                <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseTADBArtistGenres&quot; 
cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1&lt;/url&gt;&lt;/details&gt;";
 dest="5">
                        <expression noclean="1"/>
                </RegExp>
        </GetTADBArtistGenresByID>
+       <GetTADBArtistGenresByMBID dest="5" clearbuffers="no">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseTADBArtistGenres&quot; 
cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetTADBArtistGenresByMBID>
        <ParseTADBArtistGenres dest="5" clearbuffers="no">
                <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
                        <RegExp input="" output="" dest="2">
                                <expression />
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;genre&gt;\1&lt;/genre&gt;" dest="2">
-                               <expression 
noclean="1">strGenre&quot;:&quot;([^&quot;]*)</expression>
+                       <RegExp input="" output="" dest="11">
+                               <expression />
+                       </RegExp>
+                       <RegExp input="$$1" output="\1" dest="11">
+                               <expression 
fixchars="1">strSubGenre&quot;:&quot;([^&quot;]*)</expression>
+                       </RegExp>
+                       <RegExp input="$$11" output="$$12" dest="2">
+                               <RegExp input="$INFO[genresfbsource]" 
output="&lt;chain 
function=&quot;GetLastFMFallbackArtistGenresByMBID&quot;&gt;$$8&lt;/chain&gt;" 
dest="12">
+                                       <expression>last.fm</expression>
+                               </RegExp>
+                               <RegExp input="$INFO[genresfbsource]" 
output="&lt;chain 
function=&quot;GetAMGFallbackArtistGenresByAMGID&quot;&gt;$$9&lt;/chain&gt;" 
dest="12">
+                                       <expression>allmusic.com</expression>
+                               </RegExp>
+                               <expression>^$</expression>
+                       </RegExp>
+                       <RegExp input="$$11" 
output="&lt;genre&gt;\1&lt;/genre&gt;" dest="2">
+                               <expression>(.+)</expression>
                        </RegExp>
                        <expression noclean="1" />
                </RegExp>
        </ParseTADBArtistGenres>
 
+       <GetTADBFallbackArtistGenresByMBID dest="5" clearbuffers="no">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseTADBArtistGenres&quot; 
cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetTADBFallbackArtistGenresByMBID>
+       <ParseTADBFallbackArtistGenres dest="5" clearbuffers="no">
+               <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
+                       <RegExp input="" output="" dest="2">
+                               <expression />
+                       </RegExp>
+                       <RegExp input="$$1" 
output="&lt;genre&gt;\1&lt;/genre&gt;" dest="2">
+                               <expression 
noclean="1">strSubGenre&quot;:&quot;([^&quot;]*)</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </ParseTADBFallbackArtistGenres>
+
 
        <GetTADBAlbumReviewByID dest="5">
                <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseTADBAlbumReview&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">
@@ -189,11 +277,11 @@
        <ParseTADBAlbumReview dest="5">
                <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
                        <RegExp input="$$1" 
output="&lt;review&gt;\1&lt;/review&gt;" dest="2">
-                               <expression 
fixchars="1">strDescription$INFO[tadbalbumlanguage]&quot;:&quot;(.*?)&quot;,&quot;</expression>
-                       </RegExp>
-                       <RegExp input="$$1" 
output="&lt;review&gt;\1&lt;/review&gt;" dest="2+">
                                <expression 
fixchars="1">strDescriptionEN&quot;:&quot;(.*?)&quot;,&quot;</expression>
                        </RegExp>
+                       <RegExp input="$$1" 
output="&lt;review&gt;\1&lt;/review&gt;" dest="2">
+                               <expression 
fixchars="1">strDescription$INFO[tadbalbumlanguage]&quot;:&quot;(.*?)&quot;,&quot;</expression>
+                       </RegExp>
                        <expression noclean="1" />
                </RegExp>
        </ParseTADBAlbumReview>

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

Summary of changes:
 metadata.common.theaudiodb.com/addon.xml |    2 +-
 metadata.common.theaudiodb.com/tadb.xml  |  118 ++++++++++++++++++++++++++----
 2 files changed, 104 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to