diff options
Diffstat (limited to 'addons/metadata.common.last.fm/lastfm.xml')
-rw-r--r-- | addons/metadata.common.last.fm/lastfm.xml | 29 |
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="<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 |