aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.common.last.fm
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-04-28 00:05:22 +0000
committerjmarshallnz <jmarshallnz@svn>2010-04-28 00:05:22 +0000
commit81d4a149d54d3b79f0449dad77264c642469f10d (patch)
tree39fabba02bee35f87b2cec1c149872f0719f5f79 /addons/metadata.common.last.fm
parentd9e6ddf42d0d2787a93eaec8706e26a90d931f41 (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.xml21
-rw-r--r--addons/metadata.common.last.fm/lastfm.xml29
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="&lt;details&gt;\1&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="&lt;album&gt;&lt;title&gt;\1&lt;/title&gt;&lt;/album&gt;" dest="2+">
+ <expression repeat="yes">&lt;album[^&gt;]*&gt;[^&lt;]*&lt;name&gt;([^&lt;]*?)&lt;/name&gt;</expression>
+ </RegExp>
+ <expression noclean="1"/>
+ </RegExp>
+ </GetLastFMDiscography>
+ <GetLastFMArtistThumbs dest="5">
+ <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="2">
+ <expression noclean="1" repeat="yes">&lt;size name=&quot;original&quot;[^&gt;]*&gt;([^&lt;]*)&lt;/size&gt;</expression>
+ </RegExp>
+ <expression noclean="1"></expression>
+ </RegExp>
+ </GetLastFMArtistThumbs>
+ <GetLastFMAlbumThumbs dest="5">
+ <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="2">
+ <expression noclean="1">&lt;image size=&quot;extralarge&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+ </RegExp>
+ <RegExp input="$$1" output="&lt;thumb&gt;\1&lt;/thumb&gt;" dest="2+">
+ <expression noclean="1">&lt;image size=&quot;large&quot;&gt;([^&lt;]*)&lt;/image&gt;</expression>
+ </RegExp>
+ <expression noclean="1"></expression>
+ </RegExp>
+ </GetLastFMAlbumThumbs>
+</scraperfunctions> \ No newline at end of file