The branch, eden has been updated
       via  e10c96a9a69ca9bece89f2161f25881e26820890 (commit)
      from  919687b64af8f17ae48d999c2a4bc24670a99e2a (commit)

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

commit e10c96a9a69ca9bece89f2161f25881e26820890
Author: olympia <[email protected]>
Date:   Wed May 23 09:18:03 2012 +0200

    [metadata.artists.last.fm] updated to version 1.3.0

diff --git a/metadata.artists.last.fm/addon.xml 
b/metadata.artists.last.fm/addon.xml
index aec3099..5f7d69a 100644
--- a/metadata.artists.last.fm/addon.xml
+++ b/metadata.artists.last.fm/addon.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.artists.last.fm"
        name="Last.FM"
-       version="1.2.0"
+       version="1.3.0"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
-    <import addon="metadata.common.last.fm" version="1.1.0"/>
-    <import addon="metadata.common.htbackdrops.com" version="1.0.1"/>
+    <import addon="metadata.common.last.fm" version="1.2.0"/>
+    <import addon="metadata.common.htbackdrops.com" version="1.1.0"/>
   </requires>
   <extension point="xbmc.metadata.scraper.artists"
              language="en"
diff --git a/metadata.artists.last.fm/lastfm.xml 
b/metadata.artists.last.fm/lastfm.xml
index 63db667..bc43f0c 100644
--- a/metadata.artists.last.fm/lastfm.xml
+++ b/metadata.artists.last.fm/lastfm.xml
@@ -35,33 +35,25 @@
                        <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+">
+                       <RegExp input="$$7" output="&lt;chain 
function=&quot;GetLastFMArtistThumbsByMBID&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>
-                       <RegExp conditional="htbfanart" input="$$2" 
output="&lt;chain function=&quot;GetHTBFanart&quot;&gt;\1&lt;/chain&gt;" 
dest="5+">
-                               <expression />
+                       <RegExp conditional="htbthumbs" input="$$7" 
output="&lt;chain function=&quot;GetHTBThumbsByMBID&quot;&gt;\1&lt;/chain&gt;" 
dest="5+">
+                               <expression noclean="1">(.+)</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;url 
function=&quot;GetGenres&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.gettoptags&amp;amp;artist=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;";
 dest="5+">
-                               <expression 
noclean="1">&lt;url&gt;http://www.last.fm/music/(.*?)&lt;/url&gt;</expression>
+                       <RegExp conditional="htbfanart" input="$$7" 
output="&lt;chain function=&quot;GetHTBFanartByMBID&quot;&gt;\1&lt;/chain&gt;" 
dest="5+">
+                               <expression noclean="1">(.+)</expression>
                        </RegExp>
-                       <RegExp input="$$1" output="&lt;chain 
function=&quot;GetLastFMDiscography&quot;&gt;\1&lt;/chain&gt;" dest="5+">
-                               <expression 
noclean="1">&lt;url&gt;http://www.last.fm/music/(.*?)&lt;/url&gt;</expression>
+                       <RegExp input="$$7" output="&lt;chain 
function=&quot;GetLastFMDiscographyByMBID&quot;&gt;\1&lt;/chain&gt;" dest="5+">
+                               <expression noclean="1">(.+)</expression>
                        </RegExp>
-                       <expression noclean="1" />
-               </RegExp>
-       </GetArtistDetails>
-       <GetGenres dest="5">
-               <RegExp input="$$4" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
-                       <RegExp input="$$1" 
output="&lt;genre&gt;\1&lt;/genre&gt;" dest="4">
-                               <expression 
noclean="1">&lt;tag&gt;.*?&lt;name&gt;([^/lt;]*)&lt;/name&gt;</expression>
+                       <RegExp input="$$7" output="&lt;chain 
function=&quot;GetLastFMGenresByMBID&quot;&gt;\1&lt;/chain&gt;" dest="5+">
+                               <expression noclean="1">(.+)</expression>
                        </RegExp>
-                       <RegExp input="$$1" 
output="&lt;style&gt;\1&lt;/style&gt;" dest="4+">
-                               <expression repeat="yes" 
noclean="1">&lt;tag&gt;.*?&lt;name&gt;([^/lt;]*)&lt;/name&gt;</expression>
+                       <RegExp input="$$7" output="&lt;chain 
function=&quot;GetLastFMStylesByMBID&quot;&gt;\1&lt;/chain&gt;" dest="5+">
+                               <expression noclean="1">(.+)</expression>
                        </RegExp>
                        <expression noclean="1" />
                </RegExp>
-       </GetGenres>
+       </GetArtistDetails>
 </scraper>
\ No newline at end of file
diff --git a/metadata.common.last.fm/addon.xml 
b/metadata.common.last.fm/addon.xml
index 981cf95..b77ca37 100644
--- a/metadata.common.last.fm/addon.xml
+++ b/metadata.common.last.fm/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.common.last.fm"
        name="Last.FM"
-       version="1.1.0"
+       version="1.2.0"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
diff --git a/metadata.common.last.fm/lastfm.xml 
b/metadata.common.last.fm/lastfm.xml
index 6bd19c6..676951a 100644
--- a/metadata.common.last.fm/lastfm.xml
+++ b/metadata.common.last.fm/lastfm.xml
@@ -1,4 +1,9 @@
 <scraperfunctions>
+       <GetLastFMDiscographyByMBID dest="5">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMDiscography&quot; 
cache=&quot;lastfmdiscog-\1.xml&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.gettopalbums&amp;amp;mbid=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetLastFMDiscographyByMBID>
        <GetLastFMDiscography dest="5">
                <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMDiscography&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.gettopalbums&amp;amp;artist=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
                        <expression noclean="1"/>
@@ -12,26 +17,47 @@
                        <expression noclean="1"/>
                </RegExp>
        </ParseLastFMDiscography>
-       <GetLastFMArtistThumbsByID dest="5">
-               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMArtistThumbs&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.getimages&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+
+       <GetLastFMBiographyByMBID dest="5">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMBiography&quot; 
cache=&quot;lastfmartistinfo-\1.xml&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&amp;amp;mbid=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetLastFMBiographyByMBID>
+       <ParseLastFMBiography dest="5">
+               <RegExp input="$$6" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
+                       <RegExp input="$$1" 
output="&lt;biography&gt;\1&lt;/biography&gt;" dest="6">
+                               <expression 
fixchars="1">&lt;content&gt;&lt;!\[CDATA\[(.*?)\]\]</expression>
+                       </RegExp>
+                       <expression noclean="1">(.+)</expression>
+               </RegExp>
+       </ParseLastFMBiography>
+
+       <GetLastFMArtistThumbsByMBID dest="5">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMArtistThumbs&quot; 
cache=&quot;lastfmartistimages-\1.xml&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.getimages&amp;amp;mbid=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
                        <expression noclean="1" />
                </RegExp>
-       </GetLastFMArtistThumbsByID>
+       </GetLastFMArtistThumbsByMBID>
        <GetLastFMArtistThumbsByName dest="5">
-               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMArtistThumbs&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.getimages&amp;artist=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMArtistThumbs&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.getimages&amp;amp;artist=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
                        <expression noclean="1" />
                </RegExp>
        </GetLastFMArtistThumbsByName>
        <ParseLastFMArtistThumbs dest="5">
                <RegExp input="$$6" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
                        <RegExp input="$$1" output="&lt;thumb 
preview=&quot;\2&quot;&gt;\1&lt;/thumb&gt;" dest="6">
-                               <expression repeat="yes" noclean="1">&lt;size 
name="original"[^&gt;]*&gt;([^&lt;]*)&lt;[^&lt;]*&lt;size 
name="large"[^&gt;]*&gt;([^&lt;]*)&lt;</expression>
+                               <expression repeat="yes" noclean="1">&lt;size 
name=&quot;original&quot;[^&gt;]*&gt;([^&lt;]*)&lt;[^&lt;]*&lt;size 
name=&quot;large&quot;[^&gt;]*&gt;([^&lt;]*)&lt;</expression>
                        </RegExp>
                        <expression noclean="1">(.+)</expression>
                </RegExp>
        </ParseLastFMArtistThumbs>
+
+       <GetLastFMAlbumThumbsByMBID dest="5">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMAlbumThumbs&quot; 
cache=&quot;lastfmalbum-\1.xml&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;amp;mbid=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetLastFMAlbumThumbsByMBID>
        <GetLastFMAlbumThumbs dest="5">
-               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMAlbumThumbs&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;artist=\2&amp;album=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMAlbumThumbs&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;artist=\2&amp;amp;album=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
                        <expression>(.+)::(.+)</expression>
                </RegExp>
        </GetLastFMAlbumThumbs>
@@ -46,4 +72,32 @@
                        <expression noclean="1"></expression>
                </RegExp>
        </ParseLastFMAlbumThumbs>
+
+       <GetLastFMGenresByMBID dest="5">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMGenres&quot; 
cache=&quot;lastfmgenres-\1.xml&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.gettoptags&amp;amp;mbid=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetLastFMGenresByMBID>
+       <ParseLastFMGenres dest="5">
+               <RegExp input="$$4" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
+                       <RegExp input="$$1" 
output="&lt;genre&gt;\1&lt;/genre&gt;" dest="4">
+                               <expression 
noclean="1">&lt;tag&gt;.*?&lt;name&gt;([^/lt;]*)&lt;/name&gt;</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </ParseLastFMGenres>
+
+       <GetLastFMStylesByMBID dest="5">
+               <RegExp input="$$1" output="&lt;details&gt;&lt;url 
function=&quot;ParseLastFMStyles&quot; 
cache=&quot;lastfmgenres-\1.xml&quot;&gt;http://ws.audioscrobbler.com/2.0/?method=artist.gettoptags&amp;amp;mbid=\1&amp;amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lt;/url&gt;&lt;/details&gt;";
 dest="5">
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetLastFMStylesByMBID>
+       <ParseLastFMStyles dest="5">
+               <RegExp input="$$4" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
+                       <RegExp input="$$1" 
output="&lt;style&gt;\1&lt;/style&gt;" dest="4">
+                               <expression repeat="yes" 
noclean="1">&lt;tag&gt;.*?&lt;name&gt;([^/lt;]*)&lt;/name&gt;</expression>
+                       </RegExp>
+                       <expression noclean="1" />
+               </RegExp>
+       </ParseLastFMStyles>
 </scraperfunctions>

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

Summary of changes:
 metadata.artists.last.fm/addon.xml  |    6 ++--
 metadata.artists.last.fm/lastfm.xml |   32 ++++++----------
 metadata.common.last.fm/addon.xml   |    2 +-
 metadata.common.last.fm/lastfm.xml  |   66 +++++++++++++++++++++++++++++++---
 4 files changed, 76 insertions(+), 30 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to