amcquade / fresh_script

Find Spotify tracks posted to the HipHopHeads subreddit and add them to a Spotify playlist.
MIT License
91 stars 61 forks source link

Fix #5 by adding a --include-albums argument to argparser. #23

Closed Ondkloss closed 5 years ago

Ondkloss commented 5 years ago

If the URL is found to contain "album" it will poll Spotipy for the tracks in that album. Those tracks will then be added to the tracks list. The order of the matches are maintained. Used item['external_urls']['spotify'] to keep a steady format for the tracks list. Could use item['id'] for brevity and more consistency.

amcquade commented 5 years ago

@Ondkloss awesome! thanks for the contribution