- add 140 random songs from the source-playlist(s) to the destination-playlist
- keep track of added files
- keep artist-separation at 50 songs (some songs "featuring" other artists might slip through)
- filter out titles with "bad" words, "live in", "live at", "remix", "shitty version" ... etc.
- filter out artists
- filter out songs by id
You need a access-token with enough permissions (scopes) to modify playlists. I created one with AAAALL the scopes for my personal use so I'm not entirely sure which ones are really needed.
On to the script ...