a-rich / DJ-Tools

DJ tools for downloading, processing, and sharing music / rekordbox data.
GNU General Public License v3.0
92 stars 7 forks source link

The `playlist_builder` module sometimes doesn't maintain `limit` number of tracks. #5

Closed a-rich closed 2 years ago

a-rich commented 2 years ago

Update:

playlist_builder

Describe the bug Spotify playlist counts sometimes exceed the 50 limit I have configured; I see the logic working for properly for other playlists with the same configuration. I suspect there's some corner case when adding multiple spotify track results for a single reddit post...which probably shouldn't happen in the first place (see #6 ).

To Reproduce Steps to reproduce the behavior:

  1. Have a playlist with a number of tracks in less than limit
  2. add x new tracks where initial count + x exceeds limit

Expected behavior The limit number of track should be maintained always.

a-rich commented 2 years ago

Closing as 2.0.5 release addresses this issue.