The branch, dharma has been updated
       via  7fa208f5a2a7200527028d823ab4ac343412c612 (commit)
      from  0b9961041769708fd73c324df39adb50c76c6971 (commit)

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

commit 7fa208f5a2a7200527028d823ab4ac343412c612
Author: olympia <[email protected]>
Date:   Sat May 21 13:23:40 2011 +0200

    [metadata.artists.last.fm] fallback to image tags in artist details if no 
mbid available

diff --git a/metadata.artists.last.fm/addon.xml 
b/metadata.artists.last.fm/addon.xml
index 23afc2d..aec3099 100644
--- a/metadata.artists.last.fm/addon.xml
+++ b/metadata.artists.last.fm/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.artists.last.fm"
        name="Last.FM"
-       version="1.1.3"
+       version="1.2.0"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
diff --git a/metadata.artists.last.fm/lastfm.xml 
b/metadata.artists.last.fm/lastfm.xml
index e4794f5..63db667 100644
--- a/metadata.artists.last.fm/lastfm.xml
+++ b/metadata.artists.last.fm/lastfm.xml
@@ -26,9 +26,18 @@
                        <RegExp input="$$1" 
output="&lt;biography&gt;&lt;![CDATA[\1]]&gt;&lt;/biography&gt;" dest="5+">
                                <expression 
fixchars="1">&lt;content&gt;&lt;!\[CDATA\[(.*?)\]\]</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;chain 
function=&quot;GetLastFMArtistThumbsByID&quot;&gt;\1&lt;/chain&gt;" dest="5+">
+                       <RegExp input="$$1" output="\1" dest="8">
+                               <expression 
noclean="1">&lt;/mbid&gt;(.*?)&lt;streamable&gt;</expression>
+                       </RegExp>
+                       <RegExp input="$$8" output="&lt;thumb 
preview=&quot;\1&quot;&gt;\2&lt;/thumb&gt;" dest="5+">
+                               <expression>&lt;image 
size=&quot;large&quot;[^&gt;]*&gt;([^&lt;]*).*?&lt;image 
size=&quot;mega&quot;&gt;([^&lt;]*)&lt;</expression>
+                       </RegExp>
+                       <RegExp input="$$1" output="\1" dest="7">
                                <expression 
noclean="1">&lt;mbid&gt;([^&lt;]*)&lt;/mbid&gt;</expression>
                        </RegExp>
+                       <RegExp input="$$7" output="&lt;chain 
function=&quot;GetLastFMArtistThumbsByID&quot;&gt;\1&lt;/chain&gt;" dest="5+">
+                               <expression noclean="1">(.+)</expression>
+                       </RegExp>
                        <RegExp conditional="htbthumbs" input="$$2" 
output="&lt;chain function=&quot;GetHTBThumbs&quot;&gt;\1&lt;/chain&gt;" 
dest="5+">
                                <expression />
                        </RegExp>

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

Summary of changes:
 metadata.artists.last.fm/addon.xml  |    2 +-
 metadata.artists.last.fm/lastfm.xml |   11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to