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">http://musicbrainz.org/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>\4</year><title>\2</title><label>\1</label></album>" dest="2">
14 <expression repeat="yes" clear="yes" fixchars="1,2,3" noclean="1,2,3"> type="Album" id="([^"]*)"><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">http://musicbrainz.org/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 type="Person".*?<life-span><begin>([^<]*)</expression>
36 <RegExp input="$$1" output="<died>\1</died>" dest="11+">
37 <expression><artist type="Person".*?<life-span><begin>[^<]*</begin><end>([^<]*)</expression>
39 <RegExp input="$$1" output="<formed>\1</formed>" dest="11">
40 <expression><artist type="Group".*?<life-span><begin>([^<]*)</expression>
42 <RegExp input="$$1" output="<disbanded>\1</disbanded>" dest="11+">
43 <expression><artist 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">http://musicbrainz.org/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">http://musicbrainz.org/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 <expression noclean="1">(.+)</expression>
101 <GetMBAlbumArtistsByMBID dest="5">
102 <RegExp input="$$1" output="<details><url function="ParseMBAlbumArtists" cache="mb-\1-album.xml">http://musicbrainz.org/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
103 <expression noclean="1" />
105 </GetMBAlbumArtistsByMBID>
106 <ParseMBAlbumArtists dest="5">
107 <RegExp input="$$2" output="<details>\1</details>" dest="5">
108 <RegExp input="$$1" output="<albumArtistCredits><joinphrase>\1</joinphrase><musicBrainzArtistID>\2</musicBrainzArtistID><artist>\3</artist></albumArtistCredits>" dest="2">
109 <expression repeat="yes" noclean="1">(?:joinphrase="([^"]*)">)?<artist\sid="([^"]*)"><name>([^<]*)<</expression>
111 <expression noclean="1">(.+)</expression>
113 </ParseMBAlbumArtists>
115 <GetMBAlbumArtistByMBID dest="5">
116 <RegExp input="$$1" output="<details><url function="ParseMBAlbumArtist" cache="mb-\1-album.xml">http://musicbrainz.org/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
117 <expression noclean="1" />
119 </GetMBAlbumArtistByMBID>
120 <ParseMBAlbumArtist dest="5">
121 <RegExp input="$$2" output="<details>\1</details>" dest="5">
122 <RegExp input="$$1" output="<artist>\1</artist>" dest="2">
123 <expression noclean="1"><artist id="[^"]*"><name>([^<]*)<</expression>
125 <expression noclean="1">(.+)</expression>
127 </ParseMBAlbumArtist>
129 <GetMBAlbumRatingByMBID dest="5">
130 <RegExp input="$$1" output="<details><url function="ParseMBAlbumRating" cache="mb-\1-album.xml">http://musicbrainz.org/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
131 <expression noclean="1" />
133 </GetMBAlbumRatingByMBID>
134 <ParseMBAlbumRating dest="5">
135 <RegExp input="$$2" output="<details>\1</details>" dest="5">
136 <RegExp input="$$1" output="<rating>\1</rating>" dest="2">
137 <expression noclean="1"></primary-type><rating votes-count="[^"]*">(\d)</expression>
139 <expression noclean="1">(.+)</expression>
141 </ParseMBAlbumRating>
143 <GetMBAlbumLabelByMBID dest="5">
144 <RegExp input="$$1" output="<details><url function="ParseMBAlbumLabel" cache="mb-\1-album.xml">http://musicbrainz.org/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
145 <expression noclean="1" />
147 </GetMBAlbumLabelByMBID>
148 <ParseMBAlbumLabel dest="5">
149 <RegExp input="$$2" output="<details>\1</details>" dest="5">
150 <RegExp input="$$1" output="<label>\1</label>" dest="2">
151 <expression noclean="1"><label id="[^"]*"><name>([^<]*)</expression>
153 <expression noclean="1">(.+)</expression>
157 <GetMBAlbumDateByMBID dest="5">
158 <RegExp input="$$1" output="<details><url function="ParseMBAlbumDate" cache="mb-\1-album.xml">http://musicbrainz.org/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
159 <expression noclean="1" />
161 </GetMBAlbumDateByMBID>
162 <ParseMBAlbumDate dest="5">
163 <RegExp input="$$2" output="<details>\1</details>" dest="5">
164 <RegExp input="$$1" output="<releasedate>\1</releasedate>" dest="2">
165 <expression noclean="1"><first-release-date>([^<]*)<</expression>
167 <RegExp input="$$1" output="<year>\1</year>" dest="2+">
168 <expression noclean="1"><first-release-date>(\d{4})</expression>
170 <expression noclean="1" />
174 <GetMBAlbumTracksByMBID dest="5">
175 <RegExp input="$$1" output="<details><url function="ParseMBAlbumTracks" cache="mb-\1-album.xml">http://musicbrainz.org/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></details>" dest="5">
176 <expression noclean="1" />
178 </GetMBAlbumTracksByMBID>
179 <ParseMBAlbumTracks dest="5">
180 <RegExp input="$$2" output="<details>\1</details>" dest="5">
181 <RegExp input="$$1" output="<track><position>\1</position><title>\4</title><duration>\2</duration></track>" dest="2">
182 <expression repeat="yes"><track[^>]+><position>(\d+)</position><number>\d*</number>(?:<length>(\d*?)\d{3}</length>)*(?:<recording id="([^"]*)">)*<title>([^<]*)<</expression>
184 <expression noclean="1">(.+)</expression>
186 </ParseMBAlbumTracks>