features issue #263
-
I have a script that selects a range of tracks that are three minutes in length. The script has stopped working and returns a bunch of 403 errors. If I remove the features component, it runs fine. This is the offending command. Filter.rangeTracks(tracks, { |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Spotify has updated API policies. Features like Change Filter.rangeTracks(tracks, {
meta: {
duration_ms: { min: 180000, max: 240000 }
}
}) |
Beta Was this translation helpful? Give feedback.
-
Thank you.
…On Wed, Dec 4, 2024 at 4:33 AM Chimildic ***@***.***> wrote:
Spotify has updated API policies
<https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api>.
Features like danceability,valence and so on have been deprecated. The
duration_ms is part of features request.
Change features to meta. The track also has duration property.
Filter.rangeTracks(tracks, {
meta: {
duration_ms: { min: 180000, max: 240000 }
}})
—
Reply to this email directly, view it on GitHub
<#263 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIKMWE4VIELM4C6P45NJX7L2D3D73AVCNFSM6AAAAABS6X76CSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNBVHEYDGMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Spotify has updated API policies. Features like
danceability
,valence
and so on have been deprecated. Theduration_ms
is part of features request.Change
features
tometa
. The track also has duration property.