|
307 | 307 | console.log(pregapISRCs, isrcs);
|
308 | 308 | }
|
309 | 309 |
|
310 |
| -var ccodesUpdated = '2021-05-25'; /* https://isrc.ifpi.org/downloads/ISRC_Bulletin-2015-01.pdf Updated May 25 2021 */ |
| 310 | +/* https://isrc.ifpi.org/downloads/ISRC_Bulletin-2015-01.pdf Updated July 20 2022 */ |
| 311 | +/* https://isrc.ifpi.org/downloads/Valid_Characters.pdf June 2024 */ |
| 312 | +var ccodesUpdated = '2024-06-07'; |
311 | 313 | var ccodes = [
|
312 | 314 | 'AL', 'DZ', 'AD', 'AO', 'AI', 'AG', 'AR', 'AM', 'AW', 'AU', 'AT', 'AZ',
|
313 | 315 | 'BS', 'BH', 'BD', 'BB', 'BY', 'BE', 'BZ', 'BM', 'BO', 'BA', 'BR', 'BP',
|
314 |
| - 'BX', 'BC', 'BG', 'BF', |
| 316 | + 'BX', 'BC', 'BK', 'BG', 'BF', |
315 | 317 | 'CM', 'CA', 'CB', 'KY', 'CL', 'CN', 'TW', 'CO', 'CD', 'CI', 'HR', 'CU', 'CW',
|
316 | 318 | 'CY', 'CZ',
|
317 |
| - 'DK', 'DM', 'DO', |
| 319 | + 'DK', 'GL', 'FO', 'DM', 'DO', |
318 | 320 | 'EC', 'EG', 'SV', 'EE', 'ET',
|
319 | 321 | 'FJ', 'FI', 'FR', 'FX', 'PF',
|
320 | 322 | 'GM', 'GE', 'DE', 'GH', 'GI', 'GR', 'GD', 'GT', 'GG', 'GY',
|
|
331 | 333 | 'RO', 'RU',
|
332 | 334 | 'KN', 'LC', 'VC', 'SM', 'SA', 'SN', 'RS', 'SC', 'SL', 'SG', 'SX', 'SK',
|
333 | 335 | 'SI', 'SB', 'ZA', 'ZB', 'ES', 'LK', 'SZ', 'SE', 'CH',
|
334 |
| - 'TZ', 'TH', 'TO', 'TT', 'TN', 'TR', |
335 |
| - 'UG', 'UA', 'AE', 'GB', 'UK', 'GX', 'US', 'QM', 'QZ', 'UY', 'UZ', |
| 336 | + 'TZ', 'TH', 'TO', 'TT', 'TN', 'TR', 'DG', |
| 337 | + 'UG', 'UA', 'AE', 'GB', 'UK', 'GX', 'US', 'QM', 'QT', 'QZ', 'UY', 'UZ', |
336 | 338 | 'VU', 'VE', 'VN', 'VG',
|
337 | 339 | 'ZM', 'ZW',
|
338 | 340 | 'TC', /* TuneCore */
|
339 |
| - 'CP', /* Reserved for future use */ |
340 |
| - 'DG', /* International use, includes Turks and Caicos Islands */ |
341 |
| - 'ZZ', /* International use, individual allocations */ |
| 341 | + 'CP', 'DG', 'QN', 'ZZ', /* Worldwide IIRA direct allocations */ |
342 | 342 | 'CS', 'YU' /* Historical */
|
343 | 343 | ];
|
344 | 344 |
|
|
370 | 370 | if (ccodes.indexOf(country) === -1) {
|
371 | 371 | checks.push({type: "danger", message: `${country} is not allocated by the IFPI (last updated ${ccodesUpdated})`});
|
372 | 372 | }
|
373 |
| - if (country == 'CP') { |
374 |
| - checks.push({type: "danger", message: "CP is reserved for future use by IFPI (last updated ${ccodesUpdated})"}); |
375 |
| - } |
376 | 373 | if (registrant == '000') {
|
377 | 374 | checks.push({type: "warning", message: `Registrant code “${registrant}” may indicate blank or dummy data`});
|
378 | 375 | }
|
@@ -892,7 +889,7 @@ <h1 class="h3"><label for="mbid">Enter a release MBID:</label></h1>
|
892 | 889 | <div class="show navbar-collapse me-auto">
|
893 | 890 | <ul class="navbar-nav">
|
894 | 891 | <li class="nav-item">
|
895 |
| - <a class="nav-link" href="https://github.com/kepstin/magicisrc/releases/tag/v20240922.0">v20240922.0</a> |
| 892 | + <a class="nav-link" href="https://github.com/kepstin/magicisrc/releases">Release Notes</a> |
896 | 893 | </li>
|
897 | 894 | <li class="nav-item">
|
898 | 895 | <a class="nav-link" href="seeding.html">Seeding and Importing</a>
|
|
0 commit comments