The branch, dharma has been updated
       via  7ffbd4eaa8dd422a5f0dc89095e0e0d9b1da800b (commit)
      from  e080d3cc210407b13c1ec48fdbffd368dce2817c (commit)

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

commit 7ffbd4eaa8dd422a5f0dc89095e0e0d9b1da800b
Author: olympia <[email protected]>
Date:   Thu Feb 17 22:26:56 2011 +0100

    [metadata.albums.last.fm] fixed scraping of track number

diff --git a/metadata.albums.last.fm/addon.xml 
b/metadata.albums.last.fm/addon.xml
index 4926d78..cf3236b 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.1.1"
+       version="1.1.2"
        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 4b3d3c7..fdf0659 100644
--- a/metadata.albums.last.fm/lastfm.xml
+++ b/metadata.albums.last.fm/lastfm.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<scraper framework="1.1" date="2011-01-26">
+<scraper framework="1.1" date="2011-02-17">
        <NfoUrl dest="3">
                <RegExp input="$$1" 
output="http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;album=\2&amp;artist=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b";
 dest="3">
                        
<expression>(http://www.last.fm/music/([^/]*)/(.*))</expression>
@@ -35,6 +35,9 @@
                        <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;track&gt;&lt;position&gt;\1&lt;/position&gt;&lt;title&gt;\2&lt;/title&gt;&lt;/track&gt;"
 dest="5+">
+                               <expression repeat="yes" noclean="1">&lt;track 
rank=&quot;(.*?)&quot;.*?&lt;name&gt;(.*?)&lt;/name&gt;</expression>
+                       </RegExp>
                        <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>
@@ -44,18 +47,7 @@
                                </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>
-                       </RegExp>
                        <expression noclean="1"/>
                </RegExp>
        </GetAlbumDetails>
-       <GetTracks dest="5">
-               <RegExp input="$$4" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
-                       <RegExp input="$$1" 
output="&lt;track&gt;&lt;title&gt;\1&lt;/title&gt;&lt;/track&gt;" dest="4+">
-                               <expression noclean="1" 
repeat="yes">&lt;track&gt;.*?&lt;title&gt;(.*?)&lt;/title&gt;</expression>
-                       </RegExp>
-                       <expression noclean="1"/>
-               </RegExp>
-       </GetTracks>
 </scraper>

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

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


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to