Skip to content

Add constant for 'MA' in constants.py (Morocco)#264

Open
fredystar200 wants to merge 1 commit intoglomatico:mainfrom
fredystar200:patch-1
Open

Add constant for 'MA' in constants.py (Morocco)#264
fredystar200 wants to merge 1 commit intoglomatico:mainfrom
fredystar200:patch-1

Conversation

@fredystar200
Copy link
Copy Markdown
Contributor

No description provided.

@glomatico
Copy link
Copy Markdown
Owner

Are you sure this is the storefront ID for Morocco? It's identical to Mauritania.

@fredystar200
Copy link
Copy Markdown
Contributor Author

fredystar200 commented Dec 21, 2025

Are you sure this is the storefront ID for Morocco? It's identical to Mauritania.

Yeah I tried it with a Moroccan Apple Account and it works.

@glomatico
Copy link
Copy Markdown
Owner

I can't merge this without a confirmation that it's really Morocco's storefront ID and you didn't just copied from another country.

@Salem874
Copy link
Copy Markdown

Salem874 commented Feb 25, 2026

Looks like Apple Music Morocco may well be 'ma'

'ma' is also (one of the) ISO codes for morocco. but agreed, definitely needs confirming.

Looks like 'mr' is an official ISO code for Mauritania, and knowing how Apple (like many companies use ISO coddes for country designation, i think that is likely the situation

EDIT: Apple uses ISO 3166 Alpha-2 country codes (https://developer.apple.com/documentation/applemusicapi/search-for-catalog-resources-(by-type))

The ISO 3166 Alpha-2 country codes for Morocco is "MA", and "MR" is Mauritania.

So i think the edit by @fredystar200 for Morocco is valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants