weso / CWR-DataApi

CWR-DataApi
MIT License
34 stars 29 forks source link

Validate ISRC country code correctly #65

Closed Bernardo-MG closed 9 years ago

Bernardo-MG commented 9 years ago

The country code on the ISRC follows the ISO 3166-1-Alpha-2 standard, and should be validated against it.

Currently it is not doing so.

Alexkane commented 9 years ago

In addition to the ISO country codes the following codes are also valid:

QR,CP,DG,ZZ

Bernardo-MG commented 9 years ago

The version in the development branch now validates ISRC country codes, including the four special codes.