diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-04-28 00:05:22 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-04-28 00:05:22 +0000 |
commit | 81d4a149d54d3b79f0449dad77264c642469f10d (patch) | |
tree | 39fabba02bee35f87b2cec1c149872f0719f5f79 /addons/metadata.common.last.fm | |
parent | d9e6ddf42d0d2787a93eaec8706e26a90d931f41 (diff) |
changed: paint the (system) addons bikeshed (moves - id's to come)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29568 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/metadata.common.last.fm')
-rw-r--r-- | addons/metadata.common.last.fm/description.xml | 21 | ||||
-rw-r--r-- | addons/metadata.common.last.fm/lastfm.xml | 29 |
2 files changed, 50 insertions, 0 deletions
diff --git a/addons/metadata.common.last.fm/description.xml b/addons/metadata.common.last.fm/description.xml new file mode 100644 index 0000000000..b5903a7e8c --- /dev/null +++ b/addons/metadata.common.last.fm/description.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<addoninfo> + <id>fm.last.scraper.common</id> + <type>scraper-library</type> + <title>LastFM</title> + <library>lastfm.xml</library> + <version>1.0.0</version> + <platforms> + <platform>all</platform> + </platforms> + <minversion> + <xbmc>20000</xbmc> + </minversion> + <summary>LastFM Scraper Library</summary> + <description>Download Music information</description> + <author>TEAMXBMC</author> + <supportedcontent> + <content>albums</content> + <content>artists</content> + </supportedcontent> +</addoninfo> diff --git a/addons/metadata.common.last.fm/lastfm.xml b/addons/metadata.common.last.fm/lastfm.xml new file mode 100644 index 0000000000..48c72e5f71 --- /dev/null +++ b/addons/metadata.common.last.fm/lastfm.xml @@ -0,0 +1,29 @@ +<scraperfunctions> + <GetLastFMDiscography dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<album><title>\1</title></album>" dest="2+"> + <expression repeat="yes"><album[^>]*>[^<]*<name>([^<]*?)</name></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetLastFMDiscography> + <GetLastFMArtistThumbs 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> + <expression noclean="1"></expression> + </RegExp> + </GetLastFMArtistThumbs> + <GetLastFMAlbumThumbs dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<thumb>\1</thumb>" dest="2"> + <expression noclean="1"><image size="extralarge">([^<]*)</image></expression> + </RegExp> + <RegExp input="$$1" output="<thumb>\1</thumb>" dest="2+"> + <expression noclean="1"><image size="large">([^<]*)</image></expression> + </RegExp> + <expression noclean="1"></expression> + </RegExp> + </GetLastFMAlbumThumbs> +</scraperfunctions>
\ No newline at end of file |