1 <?xml version="1.0" encoding="UTF-8"?>
3 <GetMBDiscographyByMBID dest="5" clearbuffers="no">
4 <RegExp input="$$1" output="<details><url function="ParseMBDiscography" cache="mb-\1-discog.xml">$INFO[mbsite]/ws/2/release-group?artist=\1&amp;limit=100&amp;type=album</url></details>" dest="5">
5 <expression noclean="1" />
7 </GetMBDiscographyByMBID>
8 <ParseMBDiscography dest="5" clearbuffers="no">
9 <RegExp input="$$2" output="<details>\1</details>" dest="5">
10 <RegExp input="" output="" dest="2">
13 <RegExp input="$$1" output="<album><year>\5</year><title>\3</title><musicbrainzreleasegroupid>\1</musicbrainzreleasegroupid></album>" dest="2">
14 <expression repeat="yes" clear="yes" noclean="1,2,3">(?:\stype-id="[^"]*")?(?:\sid="([^"]*)")?\stype="Album"(?:\stype-id="[^"]*")?(?:\sid="([^"]*)")?><title>([^<]*)</title><first-release-date(\s/)?>(\d{4})?</expression>
16 <expression noclean="1" />
20 <GetMBLafeSpanByMBID dest="5" clearbuffers="no">
21 <RegExp input="$$1" output="<details><url function="ParseMBLifeSpan" cache="mb-\1-artist.xml">$INFO[mbsite]/ws/2/artist/\1?inc=url-rels</url></details>" dest="5">
22 <expression noclean="1" />
24 </GetMBLafeSpanByMBID>
25 <ParseMBLifeSpan dest="5" clearbuffers="no">
26 <RegExp input="$$2" output="<details>\1</details>" dest="5">
27 <RegExp input="" output="" dest="2">
30 <RegExp input="" output="" dest="11">
33 <RegExp input="$$1" output="<born>\1</born>" dest="11">
34 <expression><artist\sid[^>]*type="Person".*?<life-span>\s*<begin>([^<]*)</expression>
36 <RegExp input="$$1" output="<died>\1</died>" dest="11+">
37 <expression><artist\sid[^>]*type="Person".*?<life-span><begin>[^<]*</begin><end>([^<]*)</expression>
39 <RegExp input="$$1" output="<formed>\1</formed>" dest="11">
40 <expression><artist\sid[^>]*type="Group".*?<life-span><begin>([^<]*)</expression>
42 <RegExp input="$$1" output="<disbanded>\1</disbanded>" dest="11+">
43 <expression><artist\sid[^>]*type="Group".*?<life-span><begin>[^<]*</begin><end>([^<]*)</expression>
45 <RegExp input="$$11" output="$$12" dest="2">
46 <RegExp input="$INFO[lifespanfbsource]" output="<chain function="GetAMGFallbackArtistLifeSpanByAMGID">$$9</chain>" dest="12">
47 <expression>allmusic.com</expression>
49 <RegExp input="$INFO[lifespanfbsource]" output="<chain function="GetTADBFallbackLifeSpanByMBID">$$8</chain>" dest="12">
50 <expression>TheAudioDb.com</expression>
52 <expression>^$</expression>
54 <RegExp input="$$11" output="$$11" dest="2">
55 <expression noclean="1"><(?:born|formed)*>(.+)</(?:born|formed)*></expression>
57 <expression noclean="1"/>
61 <GetMBFallbackLafeSpanByMBID dest="5" clearbuffers="no">
62 <RegExp input="$$1" output="<details><url function="ParseFallbackMBLifeSpan" cache="mb-\1-artist.xml">$INFO[mbsite]/ws/2/artist/\1?inc=url-rels</url></details>" dest="5">
63 <expression noclean="1" />
65 </GetMBFallbackLafeSpanByMBID>
66 <ParseFallbackMBLifeSpan dest="5" clearbuffers="no">
67 <RegExp input="$$2" output="<details>\1</details>" dest="5">
68 <RegExp input="" output="" dest="2">
71 <RegExp input="$$1" output="<born>\1</born>" dest="2">
72 <expression><artist type="Person".*?<life-span><begin>([^<]*)</expression>
74 <RegExp input="$$1" output="<died>\1</died>" dest="2+">
75 <expression><artist type="Person".*?<life-span><begin>[^<]*</begin><end>([^<]*)</expression>
77 <RegExp input="$$1" output="<formed>\1</formed>" dest="2">
78 <expression><artist type="Group".*?<life-span><begin>([^<]*)</expression>
80 <RegExp input="$$1" output="<disbanded>\1</disbanded>" dest="2+">
81 <expression><artist type="Group".*?<life-span><begin>[^<]*</begin><end>([^<]*)</expression>
83 <expression noclean="1"/>
85 </ParseFallbackMBLifeSpan>
87 <GetMBAlbumTitleByMBID dest="5">
88 <RegExp input="$$1" output="<details><url function="ParseMBAlbumTitle" cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
89 <expression noclean="1" />
91 </GetMBAlbumTitleByMBID>
92 <ParseMBAlbumTitle dest="5">
93 <RegExp input="$$2" output="<details>\1</details>" dest="5">
94 <RegExp input="$$1" output="<musicbrainzalbumid>\1</musicbrainzalbumid><title>\2</title>" dest="2">
95 <expression noclean="1"><release id="([^"]*)"><title>([^<]*)<</expression>
97 <!--MBID - release group-->
98 <RegExp input="$$1" output="<musicbrainzreleasegroupid>\1</musicbrainzreleasegroupid>" dest="2+">
99 <expression noclean="1"><release-group\stype="[^"]*"\sid="([^"]*)"</expression>
101 <RegExp input="$$1" output="<musicbrainzreleasegroupid>\1</musicbrainzreleasegroupid>" dest="2+">
102 <expression noclean="1"><release-group\stype="[^"]*"\stype-id="[^"]*"\sid="([^"]*)"</expression>
104 <RegExp input="$$1" output="<musicbrainzreleasegroupid>\1</musicbrainzreleasegroupid>" dest="2+">
105 <expression noclean="1"><release-group\sid="([^"]*)"\stype="[^"]*"</expression>
107 <RegExp input="$$1" output="<musicbrainzreleasegroupid>\1</musicbrainzreleasegroupid>" dest="2+">
108 <expression noclean="1"><release-group\sid="([^"]*)"\stype-id="[^"]*"</expression>
110 <RegExp input="$$1" output="<musicbrainzreleasegroupid>\1</musicbrainzreleasegroupid>" dest="2+">
111 <expression noclean="1"><release-group\stype-id="[^"]*"\sid="([^"]*)"</expression>
113 <RegExp input="$$1" output="<musicbrainzreleasegroupid>\1</musicbrainzreleasegroupid>" dest="2+">
114 <expression noclean="1"><release-group\stype-id="[^"]*"\stype="[^"]*"\sid="([^"]*)"</expression>
116 <RegExp input="$$1" output="<scrapedmbid>\1</scrapedmbid>" dest="2+">
117 <expression noclean="1" />
119 <expression noclean="1">(.+)</expression>
123 <GetMBAlbumArtistsByMBID dest="5">
124 <RegExp input="$$1" output="<details><url function="ParseMBAlbumArtists" cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
125 <expression noclean="1" />
127 </GetMBAlbumArtistsByMBID>
128 <ParseMBAlbumArtists dest="5">
129 <RegExp input="$$2" output="<details>\1</details>" dest="5">
130 <RegExp input="$$1" output="<albumArtistCredits><joinphrase>\1</joinphrase><musicBrainzArtistID>\2</musicBrainzArtistID><artist>\3</artist></albumArtistCredits>" dest="2">
131 <expression repeat="yes" noclean="1">(?:joinphrase="([^"]*)">)?<artist\sid="([^"]*)".*?<name>([^<]*)<</expression>
133 <expression noclean="1">(.+)</expression>
135 </ParseMBAlbumArtists>
137 <GetMBAlbumArtistByMBID dest="5">
138 <RegExp input="$$1" output="<details><url function="ParseMBAlbumArtist" cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
139 <expression noclean="1" />
141 </GetMBAlbumArtistByMBID>
142 <ParseMBAlbumArtist dest="5">
143 <RegExp input="$$2" output="<details>\1</details>" dest="5">
144 <RegExp input="$$1" output="<artist>\1</artist>" dest="2">
145 <expression noclean="1"><artist id="[^"]*".*?<name>([^<]*)<</expression>
147 <expression noclean="1">(.+)</expression>
149 </ParseMBAlbumArtist>
151 <GetMBAlbumRatingByMBID dest="5">
152 <RegExp input="$$1" output="<details><url function="ParseMBAlbumRating" cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
153 <expression noclean="1" />
155 </GetMBAlbumRatingByMBID>
156 <ParseMBAlbumRating dest="5">
157 <RegExp input="$$2" output="<details>\1</details>" dest="5">
158 <RegExp input="$$1" output="<rating max="5.0">\1</rating>" dest="2">
159 <expression noclean="1"></primary-type><rating votes-count="[^"]*">(\d)</expression>
161 <expression noclean="1">(.+)</expression>
163 </ParseMBAlbumRating>
165 <GetMBAlbumLabelByMBID dest="5">
166 <RegExp input="$$1" output="<details><url function="ParseMBAlbumLabel" cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
167 <expression noclean="1" />
169 </GetMBAlbumLabelByMBID>
170 <ParseMBAlbumLabel dest="5">
171 <RegExp input="$$2" output="<details>\1</details>" dest="5">
172 <RegExp input="$$1" output="<label>\1</label>" dest="2">
173 <expression noclean="1"><label id="[^"]*".*?<name>([^<]*)</expression>
175 <expression noclean="1">(.+)</expression>
179 <GetMBAlbumDateByMBID dest="5">
180 <RegExp input="$$1" output="<details><url function="ParseMBAlbumDate" cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
181 <expression noclean="1" />
183 </GetMBAlbumDateByMBID>
184 <ParseMBAlbumDate dest="5">
185 <RegExp input="$$2" output="<details>\1</details>" dest="5">
186 <RegExp input="$$1" output="<releasedate>\1</releasedate>" dest="2">
187 <expression noclean="1"><first-release-date>([^<]*)<</expression>
189 <RegExp input="$$1" output="<year>\1</year>" dest="2+">
190 <expression noclean="1"><first-release-date>(\d{4})</expression>
192 <expression noclean="1" />
196 <GetMBAlbumTracksByMBID dest="5">
197 <RegExp input="$$1" output="<details><url function="ParseMBAlbumTracks" cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
198 <expression noclean="1" />
200 </GetMBAlbumTracksByMBID>
201 <ParseMBAlbumTracks dest="5">
202 <RegExp input="$$2" output="<details>\1</details>" dest="5">
203 <RegExp input="$$1" output="<track><position>\1</position><title>\4</title><duration>\2</duration></track>" dest="2">
204 <expression repeat="yes"><track[^>]+><position>(\d+)</position><number>\d*</number>(?:<length>(\d*?)\d{3}</length>)*(?:<recording id="([^"]*)">)*<title>([^<]*)<</expression>
206 <expression noclean="1">(.+)</expression>
208 </ParseMBAlbumTracks>