From 9ef2b93b38eddeb9f0b4abfe03a21fd4e6d62432 Mon Sep 17 00:00:00 2001 From: Calvin Walton Date: Sun, 22 Sep 2024 10:59:10 -0400 Subject: [PATCH 1/2] Update ISRC validation to 2024-06-07 * New Agency Code for ISRC in the United States * New Agency Code for use by Registration Authority Note that registration authority allocation policies have changed, and CP is now in use (no longer reserved). --- index.html | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index b72e94e..ce7b4fa 100644 --- a/index.html +++ b/index.html @@ -307,14 +307,16 @@ console.log(pregapISRCs, isrcs); } -var ccodesUpdated = '2021-05-25'; /* https://isrc.ifpi.org/downloads/ISRC_Bulletin-2015-01.pdf Updated May 25 2021 */ +/* https://isrc.ifpi.org/downloads/ISRC_Bulletin-2015-01.pdf Updated July 20 2022 */ +/* https://isrc.ifpi.org/downloads/Valid_Characters.pdf June 2024 */ +var ccodesUpdated = '2024-06-07'; var ccodes = [ 'AL', 'DZ', 'AD', 'AO', 'AI', 'AG', 'AR', 'AM', 'AW', 'AU', 'AT', 'AZ', 'BS', 'BH', 'BD', 'BB', 'BY', 'BE', 'BZ', 'BM', 'BO', 'BA', 'BR', 'BP', - 'BX', 'BC', 'BG', 'BF', + 'BX', 'BC', 'BK', 'BG', 'BF', 'CM', 'CA', 'CB', 'KY', 'CL', 'CN', 'TW', 'CO', 'CD', 'CI', 'HR', 'CU', 'CW', 'CY', 'CZ', - 'DK', 'DM', 'DO', + 'DK', 'GL', 'FO', 'DM', 'DO', 'EC', 'EG', 'SV', 'EE', 'ET', 'FJ', 'FI', 'FR', 'FX', 'PF', 'GM', 'GE', 'DE', 'GH', 'GI', 'GR', 'GD', 'GT', 'GG', 'GY', @@ -331,14 +333,12 @@ 'RO', 'RU', 'KN', 'LC', 'VC', 'SM', 'SA', 'SN', 'RS', 'SC', 'SL', 'SG', 'SX', 'SK', 'SI', 'SB', 'ZA', 'ZB', 'ES', 'LK', 'SZ', 'SE', 'CH', - 'TZ', 'TH', 'TO', 'TT', 'TN', 'TR', - 'UG', 'UA', 'AE', 'GB', 'UK', 'GX', 'US', 'QM', 'QZ', 'UY', 'UZ', + 'TZ', 'TH', 'TO', 'TT', 'TN', 'TR', 'DG', + 'UG', 'UA', 'AE', 'GB', 'UK', 'GX', 'US', 'QM', 'QT', 'QZ', 'UY', 'UZ', 'VU', 'VE', 'VN', 'VG', 'ZM', 'ZW', 'TC', /* TuneCore */ - 'CP', /* Reserved for future use */ - 'DG', /* International use, includes Turks and Caicos Islands */ - 'ZZ', /* International use, individual allocations */ + 'CP', 'DG', 'QN', 'ZZ', /* Worldwide IIRA direct allocations */ 'CS', 'YU' /* Historical */ ]; @@ -370,9 +370,6 @@ if (ccodes.indexOf(country) === -1) { checks.push({type: "danger", message: `${country} is not allocated by the IFPI (last updated ${ccodesUpdated})`}); } - if (country == 'CP') { - checks.push({type: "danger", message: "CP is reserved for future use by IFPI (last updated ${ccodesUpdated})"}); - } if (registrant == '000') { checks.push({type: "warning", message: `Registrant code “${registrant}” may indicate blank or dummy data`}); } From c7113a580db5a03b87436656b11924dea364d3e0 Mon Sep 17 00:00:00 2001 From: Calvin Walton Date: Sun, 22 Sep 2024 11:02:04 -0400 Subject: [PATCH 2/2] Add release notes link --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index ce7b4fa..58b82f7 100644 --- a/index.html +++ b/index.html @@ -888,6 +888,9 @@

kepstin’s MagicISRC