zachomedia / apple-music-webplayer

Web player for Apple Music (using MusicKit JS)
https://music.zacharyseguin.ca
MIT License
597 stars 76 forks source link

Enhancement: option to disable localization #92

Closed illixion closed 5 years ago

illixion commented 5 years ago

I'd like to have an option to disable localization based on the account's country. I have a russian Apple Music account and I'd like to be able to view the US top charts, without russian translations for playlist and artist names and without music added by local music curators. Do you think this would be possible?

I can try adding this myself, but I'm not sure where to start.

zachomedia commented 5 years ago

Thank you for the request. This might be possible as there does appear to be some "storefrontid" settings but I'm not 100% positive. I can do more research/trial to see if this is something that can be done.

illixion commented 5 years ago

There's a local storage item with a long alphanumeric name that ends with ".s", and it seems like it affects the Top Charts tab and artist name translations. Changing it to "gb" allowed me to view the UK charts without russian translations, but it didn't affect the For You or Library tabs.

storefrontid seems promising, I'll try playing with it over the weekend.

zachomedia commented 5 years ago

@vladasbarisas This feature has now been implemented. Please note, though, that it doesn't appear to have any effect on the For You or library sections (those always use your storefront). But you can at least now view playlists and albums from other countries.