aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.common.theaudiodb.com/tadb.xml
blob: 5cce462cea6091d16bddbe4f64495aa6df346b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<scraperfunctions>
	<GetTADBArtistThumbsByID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBArtistThumbs&quot; cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetTADBArtistThumbsByID>
	<GetTADBArtistThumbsByMBID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBArtistThumbs&quot; cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBArtistThumbsByMBID>
	<ParseTADBArtistThumbs dest="5" clearbuffers="no">
		<RegExp input="$$13" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="" output="" dest="13">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;thumb preview=&quot;\1/preview&quot;&gt;\1&lt;/thumb&gt;" dest="13">
				<expression repeat="yes">strArtistThumb\d?&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBArtistThumbs>

	<GetTADBArtistFanartsByID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBArtistFanarts&quot; cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetTADBArtistFanartsByID>
	<GetTADBArtistFanartsByMBID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBArtistFanarts&quot; cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBArtistFanartsByMBID>
	<ParseTADBArtistFanarts dest="5" clearbuffers="no">
		<RegExp input="$$13" output="&lt;details&gt;&lt;fanart&gt;\1&lt;/fanart&gt;&lt;/details&gt;" dest="5">
			<RegExp input="" output="" dest="13">
				<expression />
			</RegExp>
			<RegExp input="" output="" dest="14">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;thumb preview=&quot;\1/preview&quot;&gt;\1&lt;/thumb&gt;" dest="14">
				<expression repeat="yes">strArtistFanart\d?&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$14" output="\1" dest="13">
				<expression noclean="1">(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBArtistFanarts>

	<GetTADBBiographyByID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBBiography&quot; cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBBiographyByID>
	<GetTADBBiographyByMBID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBBiography&quot; cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBBiographyByMBID>
	<ParseTADBBiography dest="5" clearbuffers="no">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="" output="" dest="2">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="\1" dest="11">
				<expression clear="yes" fixchars="1">strBiography&quot;:&quot;(.*?)&quot;,&quot;</expression>
			</RegExp>
			<RegExp input="$$11" output="$$12" dest="2">
				<RegExp input="$INFO[biogfbsource]" output="&lt;chain function=&quot;GetLastFMFallbackBiographyByMBID&quot;&gt;$$8&lt;/chain&gt;" dest="12">
					<expression>last.fm</expression>
				</RegExp>
				<RegExp input="$INFO[biogfbsource]" output="&lt;chain function=&quot;GetAMGFallbackBiographyByAMGID&quot;&gt;$$9&lt;/chain&gt;" dest="12">
					<expression>allmusic.com</expression>
				</RegExp>
				<expression>^$</expression>
			</RegExp>
			<RegExp input="$$11" output="&lt;biography&gt;\1&lt;/biography&gt;" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</ParseTADBBiography>

	<GetTADBFMFallbackBiographyByMBID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBFallbackBiography&quot; cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBFMFallbackBiographyByMBID>
	<ParseTADBFallbackBiography dest="5" clearbuffers="no">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="" output="" dest="2">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;biography&gt;\1&lt;/biography&gt;" dest="2">
				<expression clear="yes" fixchars="1">strBiography&quot;:&quot;(.*?)&quot;,&quot;</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</ParseTADBFallbackBiography>

	<GetTADBDiscographyByID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBDiscography&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetTADBDiscographyByID>
	<ParseTADBDiscography dest="5" clearbuffers="no">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="" output="" dest="2">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;album&gt;&lt;year&gt;\2&lt;/year&gt;&lt;title&gt;\1&lt;/title&gt;&lt;/album&gt;" dest="2">
				<expression repeat="yes" clear="yes" fixchars="1" noclean="1">strAlbum&quot;:&quot;([^&quot;]*)&quot;,&quot;intYearReleased&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBDiscography>

	<GetTADBLifeSpanByID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBLifeSpan&quot; cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetTADBLifeSpanByID>
	<ParseTADBLifeSpan dest="5" clearbuffers="no">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="" output="" dest="2">
				<expression />
			</RegExp>
			<RegExp input="" output="" dest="11">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;formed&gt;\1&lt;/formed&gt;" dest="11">
				<expression noclean="1">intFormedYear&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;disbanded&gt;\1&lt;/disbanded&gt;" dest="11+">
				<expression noclean="1">strDisbanded&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;born&gt;\1&lt;/born&gt;" dest="11">
				<expression noclean="1">intBornYear&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;died&gt;\1&lt;/died&gt;" dest="11+">
				<expression noclean="1">intDiedYear&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<RegExp input="$$11" output="$$11" dest="2">
				<expression noclean="1">&lt;(?:born|formed)*&gt;(.+)&lt;/(?:born|formed)*&gt;</expression>
			</RegExp>
			<expression noclean="1"/>
		</RegExp>
	</ParseTADBLifeSpan>

	<GetTADBArtistGenresByID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBArtistGenres&quot; cache=&quot;tadb-\1-artist.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBArtistGenresByID>
	<ParseTADBArtistGenres dest="5" clearbuffers="no">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="" output="" dest="2">
				<expression />
			</RegExp>
			<RegExp input="$$1" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="2">
				<expression noclean="1">strGenre&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBArtistGenres>


	<GetTADBAlbumReviewByID dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumReview&quot; cache=&quot;tadb-\1-album.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBAlbumReviewByID>
	<GetTADBAlbumReviewByMBID dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumReview&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBAlbumReviewByMBID>
	<ParseTADBAlbumReview dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;review&gt;\1&lt;/review&gt;" dest="2">
				<expression fixchars="1">strDescription&quot;:&quot;(.*?)&quot;,&quot;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBAlbumReview>

	<GetTADBAlbumTitleByID dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumTitle&quot; cache=&quot;tadb-\1-album.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBAlbumTitleByID>
	<ParseTADBAlbumTitle dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;title&gt;\1&lt;/title&gt;" dest="2">
				<expression noclean="1">strAlbum&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBAlbumTitle>

	<GetTADBAlbumArtistByID dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumArtist&quot; cache=&quot;tadb-\1-album.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBAlbumArtistByID>
	<ParseTADBAlbumArtist dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;artist&gt;\1&lt;/artist&gt;" dest="2">
				<expression noclean="1">strArtist&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBAlbumArtist>

	<GetTADBAlbumDateByID dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumDate&quot; cache=&quot;tadb-\1-album.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBAlbumDateByID>
	<ParseTADBAlbumDate dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;year&gt;\1&lt;/year&gt;" dest="2">
				<expression noclean="1">intYearReleased&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBAlbumDate>

	<GetTADBAlbumGenresByID dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumGenres&quot; cache=&quot;tadb-\1-album.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBAlbumGenresByID>
	<ParseTADBAlbumGenres dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="2">
				<expression noclean="1">strGenre&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBAlbumGenres>

	<GetTADBAlbumTracksByID dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumTracks&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/track.php?m=\1&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBAlbumTracksByID>
	<ParseTADBAlbumTracks dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;track&gt;&lt;position&gt;\3&lt;/position&gt;&lt;title&gt;\1&lt;/title&gt;&lt;duration&gt;\2&lt;/duration&gt;&lt;/track&gt;" dest="2">
				<expression repeat="yes" trim="1" noclean="1,2,3">strTrack":"([^"]*)",".*?intCD".*?"intDuration":"(\d*?)\d{3}".*?intTrackNumber":"([^"]*)"</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBAlbumTracks>

	<GetTADBAlbumThumbsByID dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumThumbs&quot; cache=&quot;tadb-\1-album.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBAlbumThumbsByID>
	<GetTADBAlbumThumbsByMBID dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseTADBAlbumThumbs&quot; cache=&quot;tadb-\1-album.json&quot;&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album-mb.php?i=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1"/>
		</RegExp>
	</GetTADBAlbumThumbsByMBID>
	<ParseTADBAlbumThumbs dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;thumb preview=&quot;\1/preview&quot;&gt;\1&lt;/thumb&gt;" dest="2">
				<expression repeat="yes">strAlbumThumb\d?&quot;:&quot;([^&quot;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseTADBAlbumThumbs>

</scraperfunctions>