Skip to content

Add missing music industry ISRC country codes #455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions stdnum/isrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
])


Expand Down
Loading