mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[PR #914] [MERGED] updated functionality of playlist_add_items() #1078
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#1078
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/914
Author: @oliveraw
Created: 12/5/2022
Status: ✅ Merged
Merged: 1/19/2025
Merged by: @stephanebruckert
Base:
v3← Head:oliveraw-spotipy📝 Commits (5)
f82c283updated functionality of playlist_add_items() to accept only uris and urls (ids should not be allowed since 'track' or 'episode' cannot be inferred purely from the id)ddac78eadded a check to raise runtime error if any items in playlist_add_items() are not URIs or URLs3d83f3fmodified change logadfd50aMerge branch 'v3' of github.com:spotipy-dev/spotipy into oliveraw-spotipy87c245cCL format fix📊 Changes
3 files changed (+28 additions, -4 deletions)
View changed files
📝
CHANGELOG.md(+5 -1)📝
spotipy/client.py(+14 -2)📝
tests/integration/user_endpoints/test.py(+9 -1)📄 Description
playlist_add_items() should not be able to accept pure IDs, since the type 'track' or 'episode' cannot be inferred. We are proposing a change where playlist_add_items is modified to only accept URIs and URLs
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.