[PR #544] [MERGED] Advertise preferred language to Spotify #932

Closed
opened 2026-02-28 00:02:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/544
Author: @koukaipan
Created: 7/21/2020
Status: Merged
Merged: 7/23/2020
Merged by: @stephanebruckert

Base: masterHead: master


📝 Commits (1)

  • 6ff897e Advertise preferred language to Spotify

📊 Changes

2 files changed (+9 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 spotipy/client.py (+8 -0)

📄 Description

Some artist or track provide different translation for different language
usage. This requires send http request with Accept-Language in header.
Create this option for people who wants to see proper translation.

The result showed in the following:
image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/544 **Author:** [@koukaipan](https://github.com/koukaipan) **Created:** 7/21/2020 **Status:** ✅ Merged **Merged:** 7/23/2020 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`6ff897e`](https://github.com/spotipy-dev/spotipy/commit/6ff897e49b734a37594b33a9f4300fcb58f11dc6) Advertise preferred language to Spotify ### 📊 Changes **2 files changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `spotipy/client.py` (+8 -0) </details> ### 📄 Description Some artist or track provide different translation for different language usage. This requires send http request with Accept-Language in header. Create this option for people who wants to see proper translation. The result showed in the following: ![image](https://user-images.githubusercontent.com/495918/88076784-10cef200-cbad-11ea-8e7e-ec5c9ea5149c.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:02:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#932
No description provided.