diff options
Diffstat (limited to 'addons/metadata.common.last.fm/lastfm.xml')
-rw-r--r-- | addons/metadata.common.last.fm/lastfm.xml | 306 |
1 files changed, 0 insertions, 306 deletions
diff --git a/addons/metadata.common.last.fm/lastfm.xml b/addons/metadata.common.last.fm/lastfm.xml deleted file mode 100644 index 0c5b26341b..0000000000 --- a/addons/metadata.common.last.fm/lastfm.xml +++ /dev/null @@ -1,306 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<scraperfunctions> - <GetLastFMDiscographyByMBID dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMDiscography" cache="lastfmdiscog-\1.xml">http://ws.audioscrobbler.com/2.0/?method=artist.gettopalbums&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMDiscographyByMBID> - <GetLastFMDiscography dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMDiscography">http://ws.audioscrobbler.com/2.0/?method=artist.gettopalbums&amp;artist=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMDiscography> - <ParseLastFMDiscography dest="5" clearbuffers="no"> - <RegExp input="$$2" output="<details>\1</details>" dest="5"> - <RegExp input="" output="" dest="2"> - <expression /> - </RegExp> - <RegExp input="$$1" output="<album><title>\1</title></album>" dest="2"> - <expression repeat="yes"><album[^>]*>[^<]*<name>([^<]*?)</name></expression> - </RegExp> - <expression noclean="1"/> - </RegExp> - </ParseLastFMDiscography> - - <GetLastFMBiographyByMBID dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMBiography" cache="lastfmartistinfo-\1.xml">http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMBiographyByMBID> - <ParseLastFMBiography dest="5" clearbuffers="no"> - <RegExp input="$$6" output="<details>\1</details>" dest="5"> - <RegExp input="" output="" dest="6"> - <expression /> - </RegExp> - <RegExp input="" output="" dest="11"> - <expression /> - </RegExp> - <RegExp input="$$1" output="\1" dest="11"> - <expression fixchars="1"><content><!\[CDATA\[(.*?)\]\]</expression> - </RegExp> - <RegExp input="$$11" output="$$12" dest="6"> - <RegExp input="$INFO[biogfbsource]" output="<chain function="GetAMGFallbackBiographyByAMGID">$$9</chain>" dest="12"> - <expression>allmusic.com</expression> - </RegExp> - <RegExp input="$INFO[biogfbsource]" output="<chain function="GetTADBFMFallbackBiographyByMBID">$$9</chain>" dest="12"> - <expression>TheAudioDb.com</expression> - </RegExp> - <expression>^$</expression> - </RegExp> - <RegExp input="$$11" output="<biography>\1</biography>" dest="6"> - <expression>(.+)</expression> - </RegExp> - <expression noclean="1"/> - </RegExp> - </ParseLastFMBiography> - - <GetLastFMFallbackBiographyByMBID dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMFallbackBiography" cache="lastfmartistinfo-\1.xml">http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMFallbackBiographyByMBID> - <ParseLastFMFallbackBiography dest="5" clearbuffers="no"> - <RegExp input="$$6" output="<details>\1</details>" dest="5"> - <RegExp input="" output="" dest="6"> - <expression /> - </RegExp> - <RegExp input="$$1" output="<biography>\1</biography>" dest="6"> - <expression fixchars="1"><content><!\[CDATA\[(.*?)\]\]</expression> - </RegExp> - <expression noclean="1"/> - </RegExp> - </ParseLastFMFallbackBiography> - - <GetLastFMArtistGenresByMBID dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMArtistGenres" cache="lastfmgenres-\1.xml">http://ws.audioscrobbler.com/2.0/?method=artist.gettoptags&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMArtistGenresByMBID> - <ParseLastFMArtistGenres dest="5" clearbuffers="no"> - <RegExp input="$$4" output="<details>\1</details>" dest="5"> - <RegExp input="" output="" dest="4"> - <expression /> - </RegExp> - <RegExp input="$$1" output="<genre>\1</genre>" dest="11"> - <expression noclean="1"><tag>.*?<name>([^/lt;]*)</name></expression> - </RegExp> - <RegExp input="$$11" output="$$12" dest="4"> - <RegExp input="$INFO[genresfbsource]" output="<chain function="GetAMGFallbackArtistGenresByAMGID">$$9</chain>" dest="12"> - <expression>allmusic.com</expression> - </RegExp> - <RegExp input="$INFO[genresfbsource]" output="<chain function="GetTADBFallbackArtistGenresByMBID">$$8</chain>" dest="12"> - <expression>TheAudioDb.com</expression> - </RegExp> - <expression><genre></genre></expression> - </RegExp> - <RegExp input="$$11" output="$$11" dest="4"> - <expression><genre>(.+)</genre></expression> - </RegExp> - <expression noclean="1" /> - </RegExp> - </ParseLastFMArtistGenres> - - <GetLastFMFallbackArtistGenresByMBID dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMFallbackArtistGenres" cache="lastfmgenres-\1.xml">http://ws.audioscrobbler.com/2.0/?method=artist.gettoptags&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMFallbackArtistGenresByMBID> - <ParseLastFMFallbackArtistGenres dest="5" clearbuffers="no"> - <RegExp input="$$4" output="<details>\1</details>" dest="5"> - <RegExp input="" output="" dest="4"> - <expression /> - </RegExp> - <RegExp input="$$1" output="<genre>\1</genre>" dest="4"> - <expression noclean="1"><tag>.*?<name>([^/lt;]*)</name></expression> - </RegExp> - <expression noclean="1"/> - </RegExp> - </ParseLastFMFallbackArtistGenres> - - <GetLastFMArtistStylesByMBID dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMArtistStyles" cache="lastfmgenres-\1.xml">http://ws.audioscrobbler.com/2.0/?method=artist.gettoptags&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMArtistStylesByMBID> - <ParseLastFMArtistStyles dest="5" clearbuffers="no"> - <RegExp input="$$4" output="<details>\1</details>" dest="5"> - <RegExp input="" output="" dest="4"> - <expression /> - </RegExp> - <RegExp input="$$1" output="<style>\1</style>" dest="11"> - <expression repeat="yes" noclean="1"><tag>.*?<name>([^/lt;]*)</name></expression> - </RegExp> - <RegExp input="$$11" output="$$12" dest="4"> - <RegExp input="$INFO[genresfbsource]" output="<chain function="GetAMGFallbackArtistStylesByAMGID">$$9</chain>" dest="12"> - <expression>allmusic.com</expression> - </RegExp> - <expression><style></style></expression> - </RegExp> - <RegExp input="$$11" output="$$11" dest="4"> - <expression><style>(.+)</style></expression> - </RegExp> - <expression noclean="1" /> - </RegExp> - </ParseLastFMArtistStyles> - - <GetLastFMFallbackArtistStylesByMBID dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMFallbackArtistStyles" cache="lastfmgenres-\1.xml">http://ws.audioscrobbler.com/2.0/?method=artist.gettoptags&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMFallbackArtistStylesByMBID> - <ParseLastFMFallbackArtistStyles dest="5" clearbuffers="no"> - <RegExp input="$$4" output="<details>\1</details>" dest="5"> - <RegExp input="" output="" dest="4"> - <expression /> - </RegExp> - <RegExp input="$$1" output="<style>\1</style>" dest="4"> - <expression repeat="yes" noclean="1"><tag>.*?<name>([^/lt;]*)</name></expression> - </RegExp> - <expression noclean="1" /> - </RegExp> - </ParseLastFMFallbackArtistStyles> - - <GetLastFMArtistThumbsByMBID dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMArtistThumbs" cache="lastfmartistimages-\1.xml">http://ws.audioscrobbler.com/2.0/?method=artist.getimages&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1" /> - </RegExp> - </GetLastFMArtistThumbsByMBID> - <GetLastFMArtistThumbsByName dest="5" clearbuffers="no"> - <RegExp input="$$1" output="<details><url function="ParseLastFMArtistThumbs">http://ws.audioscrobbler.com/2.0/?method=artist.getimages&amp;artist=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1" /> - </RegExp> - </GetLastFMArtistThumbsByName> - <ParseLastFMArtistThumbs dest="5" clearbuffers="no"> - <RegExp input="$$6" output="<details>\1</details>" dest="5"> - <RegExp input="" output="" dest="6"> - <expression /> - </RegExp> - <RegExp input="$$1" output="<thumb preview="\2">\1</thumb>" dest="6"> - <expression repeat="yes" noclean="1"><size name="original"[^>]*>([^<]*)<[^<]*<size name="large"[^>]*>([^<]*)<</expression> - </RegExp> - <expression noclean="1" /> - </RegExp> - </ParseLastFMArtistThumbs> - - - <GetLastFMAlbumTitleByMBID dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumTitle" cache="lastfmalbum-\1.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMAlbumTitleByMBID> - <GetLastFMAlbumTitleByAlbumAndArtist dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumTitle" cache="lastfmalbum-\4-\3.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=\2&amp;album=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression encode="1,2">(.+)::(.+)::(.+)::(.+)</expression> - </RegExp> - </GetLastFMAlbumTitleByAlbumAndArtist> - <ParseLastFMAlbumTitle dest="5"> - <RegExp input="$$2" output="<details>\1</details>" dest="5"> - <RegExp input="$$1" output="<title>\1</title>" dest="2"> - <expression noclean="1"><name>(.*?)</name></expression> - </RegExp> - <expression noclean="1">(.+)</expression> - </RegExp> - </ParseLastFMAlbumTitle> - - <GetLastFMAlbumArtistByMBID dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumArtist" cache="lastfmalbum-\1.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMAlbumArtistByMBID> - <GetLastFMAlbumArtistByAlbumAndArtist dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumArtist" cache="lastfmalbum-\4-\3.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=\2&amp;album=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression encode="1,2">(.+)::(.+)::(.+)::(.+)</expression> - </RegExp> - </GetLastFMAlbumArtistByAlbumAndArtist> - <ParseLastFMAlbumArtist dest="5"> - <RegExp input="$$2" output="<details>\1</details>" dest="5"> - <RegExp input="$$1" output="<artist>\1</artist>" dest="2"> - <expression noclean="1"><artist>(.*?)</artist></expression> - </RegExp> - <expression noclean="1">(.+)</expression> - </RegExp> - </ParseLastFMAlbumArtist> - - <GetLastFMAlbumDateByMBID dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumDate" cache="lastfmalbum-\1.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMAlbumDateByMBID> - <GetLastFMAlbumDateByAlbumAndArtist dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumDate" cache="lastfmalbum-\4-\3.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=\2&amp;album=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression encode="1,2">(.+)::(.+)::(.+)::(.+)</expression> - </RegExp> - </GetLastFMAlbumDateByAlbumAndArtist> - <ParseLastFMAlbumDate dest="5"> - <RegExp input="$$2" output="<details>\1</details>" dest="5"> - <RegExp input="$$1" output="<releasedate>\1</releasedate>" dest="2"> - <expression trim="1"><releasedate>([^,]*)?([^<]*)?</releasedate></expression> - </RegExp> - <RegExp input="$$1" output="<year>\1</year>" dest="2+"> - <expression trim="1"><releasedate>.*?([0-9]{4})[^<]*</releasedate></expression> - </RegExp> - <expression noclean="1">(.+)</expression> - </RegExp> - </ParseLastFMAlbumDate> - - <GetLastFMAlbumTracksByMBID dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumTracks" cache="lastfmalbum-\1.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMAlbumTracksByMBID> - <GetLastFMAlbumTracksByAlbumAndArtist dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumTracks" cache="lastfmalbum-\4-\3.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=\2&amp;album=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression encode="1,2">(.+)::(.+)::(.+)::(.+)</expression> - </RegExp> - </GetLastFMAlbumTracksByAlbumAndArtist> - <ParseLastFMAlbumTracks dest="5"> - <RegExp input="$$2" output="<details>\1</details>" dest="5"> - <RegExp input="$$1" output="<track><position>\1</position><title>\2</title></track>" dest="2"> - <expression repeat="yes" noclean="1"><track rank="(.*?)".*?<name>(.*?)</name></expression> - </RegExp> - <expression noclean="1">(.+)</expression> - </RegExp> - </ParseLastFMAlbumTracks> - - <GetLastFMAlbumReviewByMBID dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumReview" cache="lastfmalbum-\1.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMAlbumReviewByMBID> - <GetLastFMAlbumReviewByAlbumAndArtist dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumReview" cache="lastfmalbum-\4-\3.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=\2&amp;album=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression encode="1,2">(.+)::(.+)::(.+)::(.+)</expression> - </RegExp> - </GetLastFMAlbumReviewByAlbumAndArtist> - <ParseLastFMAlbumReview dest="5"> - <RegExp input="$$2" output="<details>\1</details>" dest="5"> - <RegExp input="$$1" output="<review>\1</review>" dest="2"> - <expression fixchars="1"><content><!\[CDATA\[(.*?)(User-|\]\])</expression> - </RegExp> - <expression noclean="1">(.+)</expression> - </RegExp> - </ParseLastFMAlbumReview> - - <GetLastFMAlbumThumbsByMBID dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumThumbs" cache="lastfmalbum-\1.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;mbid=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression noclean="1"/> - </RegExp> - </GetLastFMAlbumThumbsByMBID> - <GetLastFMAlbumThumbs dest="5"> - <RegExp input="$$1" output="<details><url function="ParseLastFMAlbumThumbs" cache="lastfmalbum-\4-\3.xml">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=\2&amp;album=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b&lang=$INFO[lastfmlanguage]</url></details>" dest="5"> - <expression encode="1,2">(.+)::(.+)::(.+)::(.+)</expression> - </RegExp> - </GetLastFMAlbumThumbs> - <ParseLastFMAlbumThumbs 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> - </ParseLastFMAlbumThumbs> - -</scraperfunctions> |