aboutsummaryrefslogtreecommitdiff
path: root/system/scrapers/music/common/lastfm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'system/scrapers/music/common/lastfm.xml')
-rw-r--r--system/scrapers/music/common/lastfm.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/scrapers/music/common/lastfm.xml b/system/scrapers/music/common/lastfm.xml
new file mode 100644
index 0000000000..307c9a9c45
--- /dev/null
+++ b/system/scrapers/music/common/lastfm.xml
@@ -0,0 +1,10 @@
+<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"></expression>
+ </RegExp>
+ </GetLastFMDiscography>
+</scraperfunctions>