diff options
author | theuni <theuni-nospam-@xbmc.org> | 2011-12-10 23:47:28 -0500 |
---|---|---|
committer | theuni <theuni-nospam-@xbmc.org> | 2011-12-10 23:47:28 -0500 |
commit | 77ca58984fb5fad46e087e7d8a08a79003d15530 (patch) | |
tree | ade141536f1b808e7691e78857f830233a9acbcc /addons/metadata.common.last.fm | |
parent | f8e0a865e7e021ec73d5c948fc3b0042c9b5be4a (diff) |
sync: lastfm with addons repo
Diffstat (limited to 'addons/metadata.common.last.fm')
-rw-r--r-- | addons/metadata.common.last.fm/addon.xml | 4 | ||||
-rw-r--r-- | addons/metadata.common.last.fm/lastfm.xml | 23 |
2 files changed, 16 insertions, 11 deletions
diff --git a/addons/metadata.common.last.fm/addon.xml b/addons/metadata.common.last.fm/addon.xml index c51fecfebd..ac77954daf 100644 --- a/addons/metadata.common.last.fm/addon.xml +++ b/addons/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.0.4" + version="1.1.0" provider-name="Team XBMC"> <requires> <import addon="xbmc.metadata" version="1.0"/> @@ -24,7 +24,7 @@ <summary lang="zh">LastFM刮削器代码库</summary> <description lang="en">Download Music information from www.last.fm</description> <description lang="de">Downloade Musik informationen von www.last.fm</description> - <description lang="es">Descarga información musical de www.last.fm</description> + <description lang="es">Descargar información musical de www.last.fm</description> <description lang="fr">Télécharge les infos musicales depuis www.last.fm</description> <description lang="hu">Zene információk letöltése a www.last.fm webhelyről</description> <description lang="nl">Muziekinfo ophalen van LastFM</description> diff --git a/addons/metadata.common.last.fm/lastfm.xml b/addons/metadata.common.last.fm/lastfm.xml index c31e640346..6bd19c6468 100644 --- a/addons/metadata.common.last.fm/lastfm.xml +++ b/addons/metadata.common.last.fm/lastfm.xml @@ -12,17 +12,22 @@ <expression noclean="1"/> </RegExp> </ParseLastFMDiscography> - <GetLastFMArtistThumbs dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMArtistThumbs">http://ws.audioscrobbler.com/2.0/?method=artist.getimages&amp;artist=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url></details>" dest="5"> - <expression noclean="1"/> + <GetLastFMArtistThumbsByID dest="5"> + <RegExp input="$$1" output="<details><url function="ParseLastFMArtistThumbs">http://ws.audioscrobbler.com/2.0/?method=artist.getimages&mbid=\1&api_key=71e468a84c1f40d4991ddccc46e40f1b</url></details>" dest="5"> + <expression noclean="1" /> + </RegExp> + </GetLastFMArtistThumbsByID> + <GetLastFMArtistThumbsByName dest="5"> + <RegExp input="$$1" output="<details><url function="ParseLastFMArtistThumbs">http://ws.audioscrobbler.com/2.0/?method=artist.getimages&artist=\1&api_key=71e468a84c1f40d4991ddccc46e40f1b</url></details>" dest="5"> + <expression noclean="1" /> </RegExp> - </GetLastFMArtistThumbs> + </GetLastFMArtistThumbsByName> <ParseLastFMArtistThumbs dest="5"> - <RegExp input="$$2" output="<details>\1</details>" dest="5"> - <RegExp input="$$1" output="<thumb>\1</thumb>" dest="2"> - <expression noclean="1" repeat="yes"><size name="original"[^>]*>([^<]*)</size></expression> + <RegExp input="$$6" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<thumb preview="\2">\1</thumb>" dest="6"> + <expression repeat="yes" noclean="1"><size name="original"[^>]*>([^<]*)<[^<]*<size name="large"[^>]*>([^<]*)<</expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1">(.+)</expression> </RegExp> </ParseLastFMArtistThumbs> <GetLastFMAlbumThumbs dest="5"> @@ -40,5 +45,5 @@ </RegExp> <expression noclean="1"></expression> </RegExp> - </ParseLastFMAlbumThumbs> + </ParseLastFMAlbumThumbs> </scraperfunctions> |