From e3629cdacbf92be45fd2bbcea43b53e0b6436e29 Mon Sep 17 00:00:00 2001 From: Colin Wong Date: Sat, 6 Jan 2024 00:20:53 -0600 Subject: [PATCH 1/2] Use unused description parameter in example --- examples/create_playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/create_playlist.py b/examples/create_playlist.py index b9f38f9..702c25c 100644 --- a/examples/create_playlist.py +++ b/examples/create_playlist.py @@ -24,7 +24,7 @@ def main(): scope = "playlist-modify-public" sp = spotipy.Spotify(auth_manager=SpotifyOAuth(scope=scope)) user_id = sp.me()['id'] - sp.user_playlist_create(user_id, args.playlist) + sp.user_playlist_create(user_id, args.playlist, description=args.description) if __name__ == '__main__': From d9a5f008ff214ac0a6eab4f19c2922b1282ff27e Mon Sep 17 00:00:00 2001 From: Colin Wong Date: Sat, 6 Jan 2024 00:25:18 -0600 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0601dd..b0fdaad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated links to Spotify in documentation - Improve usability on README.md +### Fixed +- Fixed unused description parameter in playlist creation example + ## [2.23.0] - 2023-04-07 ### Added