The branch, dharma has been updated
       via  b733268610ecf7a2ff02ee02986b07d23d4dc6ad (commit)
      from  108b397d8e318f21d199f6c0a908c9d29a44aa83 (commit)

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

commit b733268610ecf7a2ff02ee02986b07d23d4dc6ad
Author: olympia <[email protected]>
Date:   Sun Jan 23 17:08:24 2011 +0100

    [metadata.albums.last.fm] try to fetch better quality artwork

diff --git a/metadata.albums.last.fm/addon.xml 
b/metadata.albums.last.fm/addon.xml
index 538c0e7..75b78a2 100644
--- a/metadata.albums.last.fm/addon.xml
+++ b/metadata.albums.last.fm/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.albums.last.fm"
        name="Last.FM"
-       version="1.0.10"
+       version="1.1.0"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
diff --git a/metadata.albums.last.fm/lastfm.xml 
b/metadata.albums.last.fm/lastfm.xml
index b11272b..efac399 100644
--- a/metadata.albums.last.fm/lastfm.xml
+++ b/metadata.albums.last.fm/lastfm.xml
@@ -35,8 +35,17 @@
                        <RegExp input="$$1" 
output="&lt;review&gt;\1&lt;/review&gt;" dest="5+">
                                <expression 
fixchars="1">&lt;content&gt;(.?)&lt;/content&gt;</expression>
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;thumb&gt;\2&lt;/thumb&gt;" dest="5+">
-                               <expression noclean="1">&lt;image 
size=&quot;(extra)?large&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+                       <RegExp input="$$6" 
output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="5+">
+                               <RegExp input="$$1" output="\1" dest="6">
+                                       <expression noclean="1">&lt;image 
size=&quot;large&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+                               </RegExp>
+                               <RegExp input="$$1" output="\1" dest="6">
+                                       <expression noclean="1">&lt;image 
size=&quot;extralarge&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+                               </RegExp>
+                               <RegExp input="$$1" output="\1" dest="6">
+                                       <expression noclean="1">&lt;image 
size=&quot;mega&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+                               </RegExp>
+                               <expression noclean="1" />
                        </RegExp>
                        <RegExp input="$$1" output="&lt;url 
function=&quot;GetTracks&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=playlist.fetch&amp;amp;playlistURL=lastfm://playlist/album/\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;";
 dest="5+">
                                <expression 
noclean="1">&lt;id&gt;(.*?)&lt;/id&gt;</expression>
diff --git a/metadata.artists.last.fm/addon.xml 
b/metadata.artists.last.fm/addon.xml
index 7f1a6db..cd609e7 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.0.11"
+       version="1.1.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 b81a6da..f6cda99 100644
--- a/metadata.artists.last.fm/lastfm.xml
+++ b/metadata.artists.last.fm/lastfm.xml
@@ -26,8 +26,17 @@
                        <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;thumb&gt;\2&lt;/thumb&gt;" dest="5+">
-                               <expression noclean="1">&lt;image 
size=&quot;(extra)?large&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+                       <RegExp input="$$6" 
output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="5+">
+                               <RegExp input="$$1" output="\1" dest="6">
+                                       <expression noclean="1">&lt;image 
size=&quot;large&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+                               </RegExp>
+                               <RegExp input="$$1" output="\1" dest="6">
+                                       <expression noclean="1">&lt;image 
size=&quot;extralarge&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+                               </RegExp>
+                               <RegExp input="$$1" output="\1" dest="6">
+                                       <expression noclean="1">&lt;image 
size=&quot;mega&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+                               </RegExp>
+                               <expression noclean="1" />
                        </RegExp>
                        <RegExp input="$$2" conditional="htbthumbs" 
output="&lt;chain function=&quot;GetHTBThumbs&quot;&gt;\1&lt;/chain&gt;" 
dest="5+">
                                <expression/>

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

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


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to