aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.common.last.fm/lastfm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/metadata.common.last.fm/lastfm.xml')
-rw-r--r--addons/metadata.common.last.fm/lastfm.xml29
1 files changed, 29 insertions, 0 deletions
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