[PR #96] [MERGED] Support endpoint for modifying playlist details #767

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

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/96
Author: @nathancoleman
Created: 6/1/2016
Status: Merged
Merged: 12/31/2016
Merged by: @plamere

Base: masterHead: support_changing_playlist_details


📝 Commits (9)

  • 1fae780 Support changing details for a user playlist
  • 80bcbb1 Make a pass for cleanup and PEP8 compliance
  • 59a0565 Add to the contributor list
  • 931abce Merge branch 'master' into support_changing_playlist_details
  • 7867c4f Merge branch 'master' into support_changing_playlist_details
  • 7c5bfbd Merge branch 'master' into support_changing_playlist_details
  • 5ecfad1 Support optional collaborative kwarg
  • b8ae99a Add example for user_playlist_change_details()
  • 655e1bf Add type check for name kwarg

📊 Changes

3 files changed (+158 additions, -81 deletions)

View changed files

📝 docs/index.rst (+1 -0)
examples/change_playlist_details.py (+38 -0)
📝 spotipy/client.py (+119 -81)

📄 Description

I added support for the API endpoint here which allows for the modification of playlist details such as the name and whether the playlist is marked as public and/or collaborative.

I also did some general cleanup. In a few cases, this included modifying args defaulted to mutable values (mostly arg=[]) to avoid the pitfalls described here.

Please review: @plamere


🔄 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/96 **Author:** [@nathancoleman](https://github.com/nathancoleman) **Created:** 6/1/2016 **Status:** ✅ Merged **Merged:** 12/31/2016 **Merged by:** [@plamere](https://github.com/plamere) **Base:** `master` ← **Head:** `support_changing_playlist_details` --- ### 📝 Commits (9) - [`1fae780`](https://github.com/spotipy-dev/spotipy/commit/1fae780adbbfb0809c79f7147898426849cc7dac) Support changing details for a user playlist - [`80bcbb1`](https://github.com/spotipy-dev/spotipy/commit/80bcbb18934fe4e97be7c5fd37636c9c80f853de) Make a pass for cleanup and PEP8 compliance - [`59a0565`](https://github.com/spotipy-dev/spotipy/commit/59a0565867dc86128dbdd4c83eae9c2eccabffad) Add to the contributor list - [`931abce`](https://github.com/spotipy-dev/spotipy/commit/931abce4d7ca3393db1e49b02bdf48768c9b1612) Merge branch 'master' into support_changing_playlist_details - [`7867c4f`](https://github.com/spotipy-dev/spotipy/commit/7867c4fe28f80bb4e03c6aa50ee9751bad5a4fd0) Merge branch 'master' into support_changing_playlist_details - [`7c5bfbd`](https://github.com/spotipy-dev/spotipy/commit/7c5bfbdf867b0de92b30355256e974242614783c) Merge branch 'master' into support_changing_playlist_details - [`5ecfad1`](https://github.com/spotipy-dev/spotipy/commit/5ecfad1d3abb905198334e6eecd6467766868776) Support optional collaborative kwarg - [`b8ae99a`](https://github.com/spotipy-dev/spotipy/commit/b8ae99a6e606568147a14006ba2a3aaba2569749) Add example for user_playlist_change_details() - [`655e1bf`](https://github.com/spotipy-dev/spotipy/commit/655e1bf7e3f730a86cbfdb5ac5bef19850614260) Add type check for name kwarg ### 📊 Changes **3 files changed** (+158 additions, -81 deletions) <details> <summary>View changed files</summary> 📝 `docs/index.rst` (+1 -0) ➕ `examples/change_playlist_details.py` (+38 -0) 📝 `spotipy/client.py` (+119 -81) </details> ### 📄 Description I added support for the API endpoint [here](https://developer.spotify.com/web-api/change-playlist-details/) which allows for the modification of playlist details such as the name and whether the playlist is marked as public and/or collaborative. I also did some general cleanup. In a few cases, this included modifying args defaulted to mutable values (mostly `arg=[]`) to avoid the pitfalls described [here](https://pythonconquerstheuniverse.wordpress.com/2012/02/15/mutable-default-arguments/). Please review: @plamere --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:01:36 +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#767
No description provided.