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&album=\2&artist=\1&api_key=71e468a84c1f40d4991ddccc46e40f1b"
dest="3">
<expression>(http://www.last.fm/music/([^/]*)/(.*))</expression>
@@ -35,6 +35,9 @@
<RegExp input="$$1"
output="<review>\1</review>" dest="5+">
<expression
fixchars="1"><content>(.?)</content></expression>
</RegExp>
+ <RegExp input="$$1"
output="<track><position>\1</position><title>\2</title></track>"
dest="5+">
+ <expression repeat="yes" noclean="1"><track
rank="(.*?)".*?<name>(.*?)</name></expression>
+ </RegExp>
<RegExp input="$$6"
output="<thumb>\1</thumb>" dest="5+">
<RegExp input="$$1" output="\1" dest="6">
<expression noclean="1"><image
size="large">([^<]*)</image></expression>
@@ -44,18 +47,7 @@
</RegExp>
<expression noclean="1" />
</RegExp>
- <RegExp input="$$1" output="<url
function="GetTracks">http://ws.audioscrobbler.com/2.0/?method=playlist.fetch&amp;playlistURL=lastfm://playlist/album/\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url>"
dest="5+">
- <expression
noclean="1"><id>(.*?)</id></expression>
- </RegExp>
<expression noclean="1"/>
</RegExp>
</GetAlbumDetails>
- <GetTracks dest="5">
- <RegExp input="$$4" output="<details>\1</details>"
dest="5">
- <RegExp input="$$1"
output="<track><title>\1</title></track>" dest="4+">
- <expression noclean="1"
repeat="yes"><track>.*?<title>(.*?)</title></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