From 67dc43924ef76b568ab2d59be9df190960bacc8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bruckert?= Date: Thu, 22 May 2025 19:26:27 +0100 Subject: [PATCH] fix --- spotipy/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spotipy/client.py b/spotipy/client.py index 085b674..92fe1da 100644 --- a/spotipy/client.py +++ b/spotipy/client.py @@ -1037,7 +1037,7 @@ class Spotify: ): """ This function is no longer in use, please use the recommended function in the warning! - Removes all occurrences of the given tracks from the given playlist + Removes specific occurrences of the given tracks from the given playlist .. deprecated:: This endpoint has been removed by Spotify and is no longer available. @@ -1053,8 +1053,8 @@ class Spotify: - snapshot_id - optional id of the playlist snapshot """ warnings.warn( - "You should use `playlist_remove_specific_occurrences_of_items" - "(playlist_id, tracks)` instead", + "You're using `user_playlist_remove_specific_occurrences_of_tracks(...)`, " + "which is marked as deprecated by Spotify.", DeprecationWarning, ) plid = self._get_id("playlist", playlist_id)