Skip to content

Spotify: fetch artist names with correct localization #355

@phts

Description

@phts

Spotify API allows Accept-Language request header to receive correct Artist names, written in native language, instead of transliteration.

However spotify-web-api-node does not allow setting any request headers.

My pull request thelinmichael/spotify-web-api-node#507 seems never to be merged , due to inactivity of the author.

In my forked plugin, I am using my fork of spotify-web-api-node and it works as expected.

Before: After:
Screen Shot 2024-09-02 at 23 15 04 Screen Shot 2024-09-02 at 23 07 35

I don't create any PRs here, because I suggest creating your own fork of spotify-web-api-node to have full control of it, and apply similar changes there. Plugin changes look like that: phts@5ccc58a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions