From a4cc9cd5f16dc7cf70c771d50c77b2d796dca392 Mon Sep 17 00:00:00 2001 From: Victor Sordoillet Date: Mon, 30 Sep 2024 16:55:37 +0200 Subject: [PATCH] Add missing music industry ISRC country codes --- stdnum/isrc.py | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/stdnum/isrc.py b/stdnum/isrc.py index 7a2592c7..5fc4e01c 100644 --- a/stdnum/isrc.py +++ b/stdnum/isrc.py @@ -50,11 +50,27 @@ # These special codes are allowed for ISRC +# Source: https://isrc.ifpi.org/downloads/Valid_Characters.pdf _country_codes = set(_iso_3116_1_country_codes + [ - 'QM', # US new registrants due to US codes became exhausted + 'BC', # Pro-música Brazil - Brasil + 'BK', # Pro-música Brazil - Brasil + 'BP', # Pro-música Brazil - Brasil + 'BX', # Pro-música Brazil - Brasil + 'CB', # Connect - Canada 'CP', # reserved for further overflow 'DG', # reserved for further overflow - 'ZZ', # International ISRC Agency codes + 'FX', # SCPP - France + 'GX', # PPL UK - United Kingdom + 'KS', # KMCA - South Korea + 'QM', # US new registrants due to US codes became exhausted + 'QN', # International ISRC Agency codes - Worldwide + 'QT', # RIAA - US + 'QZ', # RIAA - US + 'UK', # PPL UK - United Kingdom + 'XK', # International ISRC Agency codes - Kosovo + 'YU', # International ISRC Agency codes - Former Yugoslavia before 2006 + 'ZB', # RISA - South Africa + 'ZZ', # International ISRC Agency codes - Worldwide ])