riverscuomo / spotkin_server

A python package that updates one or more of your Spotify playlists every day with a random selection of songs from any playlists you specify. Here's mine: https://open.spotify.com/playlist/1HaQfSGjNzIsiC5qOsCUcW?si=ddc16d3e9524410c . This repo also contains the backend server for Spotkin webapp.
GNU General Public License v3.0
82 stars 9 forks source link

get playlist tracks limit #7

Closed riverscuomo closed 1 year ago

riverscuomo commented 1 year ago

timmie — Today at 12:12 AM I'm taking a good hard look at Spotnik right now. It seems the intent is to randomly sample the playlists provided, but I don't understand how that happens. My understanding is that spotipy's playlist_tracks(playlist_id, limit=limit) function will return the same limit tracks every time you call it. Anyone else know what's going on?

Rivers — Today at 5:47 AM woah you might be right. I'm still using an older version of the script that gets all the tracks from a playlist and then picks at random from there. I'll investigate.