daydreamer-json commited on
Commit
b15a0fe
·
verified ·
1 Parent(s): 0ea28f3
Files changed (2) hide show
  1. db/master.json +329 -0
  2. script.js +1 -2
db/master.json ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dbInfo": {
3
+ "versionMajor": 0,
4
+ "versionMinor": 0,
5
+ "versionPatch": 1,
6
+ "updateDateUnixMs": 1705781548065
7
+ },
8
+ "data": {
9
+ "artists": [
10
+ {
11
+ "uuid": "018d280d-eb8a-7ce0-b265-0bc87b0eb2f7",
12
+ "mbid": "61bcd9e8-939f-4af2-9edf-4e606b8524de",
13
+ "name": "花鋏キョウ",
14
+ "nameLatin": "Hanabasami Kyo",
15
+ "nameFileName": null,
16
+ "link": {
17
+ "itunes": 1458592629,
18
+ "spotify": "1YToShGh3Sto5icr0OCIQw",
19
+ "youtube": "UC4OeUf_KfYRrwksschtRYow"
20
+ }
21
+ },
22
+ {
23
+ "uuid": "018d2813-0292-7e51-8283-562a639aa3a7",
24
+ "mbid": "137a8260-0813-42cb-9248-363a74539b00",
25
+ "name": "ポリスピカデリー",
26
+ "nameLatin": "Police Piccadilly",
27
+ "nameFileName": null,
28
+ "link": {
29
+ "itunes": 1310467066,
30
+ "spotify": "5DRg2RJdktKdO1Yf0BwnBA",
31
+ "youtube": "UCDOTPjUW-NhQMDmYbgMvQKA"
32
+ }
33
+ },
34
+ {
35
+ "uuid": "018d286b-9505-7620-9db8-0f44729e6ecf",
36
+ "mbid": "0156b332-0d4a-448c-8f69-2ab41cb0736f",
37
+ "name": "*Luna",
38
+ "nameLatin": null,
39
+ "nameFileName": null,
40
+ "link": {
41
+ "itunes": 999491860,
42
+ "spotify": "4vwJe968gHHZzL0or0gSZA",
43
+ "youtube": "UCGGY3oTOQ9g9FCu9hLFJsqw"
44
+ }
45
+ },
46
+ {
47
+ "uuid": "018d286b-9507-70d9-b4cd-17416f6d8d64",
48
+ "mbid": "317ba09c-6dbe-4fed-a834-8f1b4c733432",
49
+ "name": "Aqu3ra",
50
+ "nameLatin": null,
51
+ "nameFileName": null,
52
+ "link": {
53
+ "itunes": 1528308534,
54
+ "spotify": "1FE8CKbcNBC5a9NsvJ4Nif",
55
+ "youtube": "UCT5ZYc0Whk1NX_Fdvlm1baw"
56
+ }
57
+ },
58
+ {
59
+ "uuid": "018d286b-9508-7318-8cab-929c1ea40461",
60
+ "mbid": "85188b12-0c2a-4879-a98d-fa0f6efb4e89",
61
+ "name": "Aiobahn",
62
+ "nameLatin": null,
63
+ "nameFileName": null,
64
+ "link": {
65
+ "itunes": 1065018260,
66
+ "spotify": "3AMFQZ3Tt549kShRG2IBYT",
67
+ "youtube": "UC3XZCxTQ55JkT35W27Jtbyg"
68
+ }
69
+ }
70
+ ],
71
+ "codecs": [
72
+ {
73
+ "uuid": "018d2821-51f0-72d6-bd75-d3e697768f75",
74
+ "nameBasic": "FLAC",
75
+ "nameLong": "Free Lossless Audio Codec",
76
+ "extension": "flac",
77
+ "isCompress": true,
78
+ "isLossless": true,
79
+ "bitRateAvg": null,
80
+ "bitRateMax": 2304000,
81
+ "bitDepth": 24,
82
+ "sampleRate": 48000,
83
+ "channelCount": 2,
84
+ "encodeParams": null
85
+ },
86
+ {
87
+ "uuid": "018d2821-51f1-7203-bd3d-34ff786250f3",
88
+ "nameBasic": "AAC-LC",
89
+ "nameLong": "Advanced Audio Coding - Low Complexity",
90
+ "extension": "m4a",
91
+ "isCompress": true,
92
+ "isLossless": false,
93
+ "bitRateAvg": 320000,
94
+ "bitRateMax": 384000,
95
+ "bitDepth": null,
96
+ "sampleRate": 48000,
97
+ "channelCount": 2,
98
+ "encodeParams": "qaac64 --tvbr 127 -q 2 --rate keep --no-delay --gapless-mode 0 --threading"
99
+ },
100
+ {
101
+ "uuid": "018d2821-51f2-75aa-856a-a02ff306eb55",
102
+ "nameBasic": "HE-AAC",
103
+ "nameLong": "Advanced Audio Coding - High Efficiency",
104
+ "extension": "m4a",
105
+ "isCompress": true,
106
+ "isLossless": false,
107
+ "bitRateAvg": 64000,
108
+ "bitRateMax": 72000,
109
+ "bitDepth": null,
110
+ "sampleRate": 48000,
111
+ "channelCount": 2,
112
+ "encodeParams": "qaac64 --cvbr 64 --he -q 2 --rate keep --gapless-mode 0 --threading"
113
+ }
114
+ ],
115
+ "coverArtDefaults": [
116
+ {
117
+ "width": 3000,
118
+ "height": 3000,
119
+ "fileName": "cover_3000px",
120
+ "format": [{"name":"WebP","extension":"webp"},{"name":"JPEG","extension":"jpg"}]
121
+ },
122
+ {
123
+ "width": 1024,
124
+ "height": 1024,
125
+ "fileName": "cover_1024px",
126
+ "format": [{"name":"WebP","extension":"webp"},{"name":"JPEG","extension":"jpg"},{"name":"PNG","extension":"png"}]
127
+ },
128
+ {
129
+ "width": 512,
130
+ "height": 512,
131
+ "fileName": "cover_512px",
132
+ "format": [{"name":"WebP","extension":"webp"},{"name":"JPEG","extension":"jpg"},{"name":"PNG","extension":"png"}]
133
+ }
134
+ ],
135
+ "albums": [
136
+ {
137
+ "uuid": "018d269e-89c0-7371-b748-79730286a132",
138
+ "mbid": "2aa97ac4-b8a9-4662-836f-a81a677d375f",
139
+ "releaseDate": "2021-09-01",
140
+ "title": "Petrichor",
141
+ "titleLatin": null,
142
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
143
+ "barCode": 859757273942,
144
+ "isCompilation": false,
145
+ "copyright": "(C) 2021 Re:AcT",
146
+ "link": {
147
+ "itunes": 1582625485,
148
+ "spotify": "5QbXFwakkHLHeHmIa7oKoo"
149
+ },
150
+ "isAllTrackSameCodecs": true,
151
+ "codecs": [
152
+ {
153
+ "uuid": "018d2821-51f0-72d6-bd75-d3e697768f75",
154
+ "isOriginal": true,
155
+ "path": "flac"
156
+ },
157
+ {
158
+ "uuid": "018d2821-51f1-7203-bd3d-34ff786250f3",
159
+ "isOriginal": false,
160
+ "path": "aac_320k"
161
+ },
162
+ {
163
+ "uuid": "018d2821-51f2-75aa-856a-a02ff306eb55",
164
+ "isOriginal": false,
165
+ "path": "aac_64k"
166
+ }
167
+ ],
168
+ "isCoverArtsUseDefault": true,
169
+ "coverArts": null,
170
+ "tracks": [
171
+ {
172
+ "uuid": "018d2827-8ae1-7a2d-823e-2557a01e70ca",
173
+ "disc": 1,
174
+ "index": 1,
175
+ "title": "All Night",
176
+ "titleLatin": null,
177
+ "titleFileName": null,
178
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
179
+ "lyricist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
180
+ "composer": ["018d2813-0292-7e51-8283-562a639aa3a7"],
181
+ "arranger": null,
182
+ "codecs": null,
183
+ "durationSamples": 8539125
184
+ },
185
+ {
186
+ "uuid": "018d2827-8ae1-7a2d-823e-2558c99d6eed",
187
+ "disc": 1,
188
+ "index": 2,
189
+ "title": "Starry",
190
+ "titleLatin": null,
191
+ "titleFileName": null,
192
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
193
+ "lyricist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
194
+ "composer": ["018d2813-0292-7e51-8283-562a639aa3a7"],
195
+ "arranger": null,
196
+ "codecs": null,
197
+ "durationSamples": 9920438
198
+ },
199
+ {
200
+ "uuid": "018d2827-8ae1-7a2d-823e-25596e317f73",
201
+ "disc": 1,
202
+ "index": 3,
203
+ "title": "parad∅x",
204
+ "titleLatin": null,
205
+ "titleFileName": null,
206
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
207
+ "lyricist": ["018d2813-0292-7e51-8283-562a639aa3a7"],
208
+ "composer": ["018d2813-0292-7e51-8283-562a639aa3a7"],
209
+ "arranger": null,
210
+ "codecs": null,
211
+ "durationSamples": 8745562
212
+ },
213
+ {
214
+ "uuid": "018d2827-8ae1-7a2d-823e-255a2b067b0d",
215
+ "disc": 1,
216
+ "index": 4,
217
+ "title": "Behavior",
218
+ "titleLatin": null,
219
+ "titleFileName": null,
220
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
221
+ "lyricist": ["018d2813-0292-7e51-8283-562a639aa3a7"],
222
+ "composer": ["018d2813-0292-7e51-8283-562a639aa3a7"],
223
+ "arranger": null,
224
+ "codecs": null,
225
+ "durationSamples": 10452375
226
+ },
227
+ {
228
+ "uuid": "018d2827-8ae1-7a2d-823e-255b5397a6d1",
229
+ "disc": 1,
230
+ "index": 5,
231
+ "title": "Moment",
232
+ "titleLatin": null,
233
+ "titleFileName": null,
234
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
235
+ "lyricist": ["018d2813-0292-7e51-8283-562a639aa3a7"],
236
+ "composer": ["018d2813-0292-7e51-8283-562a639aa3a7"],
237
+ "arranger": null,
238
+ "codecs": null,
239
+ "durationSamples": 9243938
240
+ },
241
+ {
242
+ "uuid": "018d2827-8ae1-7a2d-823e-255cc21bbdc8",
243
+ "disc": 1,
244
+ "index": 6,
245
+ "title": "vivid",
246
+ "titleLatin": null,
247
+ "titleFileName": null,
248
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
249
+ "lyricist": ["018d286b-9505-7620-9db8-0f44729e6ecf"],
250
+ "composer": ["018d286b-9505-7620-9db8-0f44729e6ecf"],
251
+ "arranger": null,
252
+ "codecs": null,
253
+ "durationSamples": 11790000
254
+ },
255
+ {
256
+ "uuid": "018d2827-8ae1-7a2d-823e-255dce330f74",
257
+ "disc": 1,
258
+ "index": 7,
259
+ "title": "約束の花",
260
+ "titleLatin": "Yakusoku No Hana",
261
+ "titleFileName": null,
262
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
263
+ "lyricist": ["018d286b-9507-70d9-b4cd-17416f6d8d64"],
264
+ "composer": ["018d286b-9507-70d9-b4cd-17416f6d8d64"],
265
+ "arranger": null,
266
+ "codecs": null,
267
+ "durationSamples": 13216500
268
+ },
269
+ {
270
+ "uuid": "018d2827-8ae1-7a2d-823e-255ef56cf389",
271
+ "disc": 1,
272
+ "index": 8,
273
+ "title": "Violet",
274
+ "titleLatin": null,
275
+ "titleFileName": null,
276
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
277
+ "lyricist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
278
+ "composer": ["018d286b-9508-7318-8cab-929c1ea40461"],
279
+ "arranger": null,
280
+ "codecs": null,
281
+ "durationSamples": 9545062
282
+ },
283
+ {
284
+ "uuid": "018d2827-8ae1-7a2d-823e-255f905e1d27",
285
+ "disc": 1,
286
+ "index": 9,
287
+ "title": "Daisy",
288
+ "titleLatin": null,
289
+ "titleFileName": null,
290
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
291
+ "lyricist": ["018d286b-9507-70d9-b4cd-17416f6d8d64"],
292
+ "composer": ["018d286b-9507-70d9-b4cd-17416f6d8d64"],
293
+ "arranger": null,
294
+ "codecs": null,
295
+ "durationSamples": 11350312
296
+ },
297
+ {
298
+ "uuid": "018d2827-8ae1-7a2d-823e-25605ece247c",
299
+ "disc": 1,
300
+ "index": 10,
301
+ "title": "#b2cbe4",
302
+ "titleLatin": null,
303
+ "titleFileName": null,
304
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
305
+ "lyricist": null,
306
+ "composer": ["018d2813-0292-7e51-8283-562a639aa3a7"],
307
+ "arranger": null,
308
+ "codecs": null,
309
+ "durationSamples": 4063688
310
+ },
311
+ {
312
+ "uuid": "018d2827-8ae1-7a2d-823e-256163d2da47",
313
+ "disc": 1,
314
+ "index": 11,
315
+ "title": "蒼に躊躇う",
316
+ "titleLatin": "Ao Ni Tamerau",
317
+ "titleFileName": null,
318
+ "artist": ["018d280d-eb8a-7ce0-b265-0bc87b0eb2f7"],
319
+ "lyricist": ["018d2813-0292-7e51-8283-562a639aa3a7"],
320
+ "composer": ["018d2813-0292-7e51-8283-562a639aa3a7"],
321
+ "arranger": null,
322
+ "codecs": null,
323
+ "durationSamples": 9360000
324
+ }
325
+ ]
326
+ }
327
+ ]
328
+ }
329
+ }
script.js CHANGED
@@ -362,8 +362,7 @@ async function loadRequiredDatabase () {
362
  });
363
  apiDataMasterDB = await apiConnect({
364
  'method': 'get',
365
- // 'url': `https://corsproxy.io/?${encodeURIComponent(`https://hf.co/datasets/DeliberatorArchiver/discography_v2_cdn/resolve/main/db/master.json`)}`,
366
- 'url': `https://hf.co/datasets/DeliberatorArchiver/discography_v2_cdn/resolve/main/db/master.json`,
367
  'headers': apiConnectDefaultHeader,
368
  'timeout': internalConfig.network.timeout
369
  });
 
362
  });
363
  apiDataMasterDB = await apiConnect({
364
  'method': 'get',
365
+ 'url': `./db/master.json`,
 
366
  'headers': apiConnectDefaultHeader,
367
  'timeout': internalConfig.network.timeout
368
  });