A simple tool for synchronizing iHeartRadio stations to Spotify playlists.
Some of my favorite radio stations are owned by iHeartRadio, notably: Radio 104.5 - Philadelphia's Alternative Rock. They are a large source of music discovery for me; however, in recent times I haven't been listening to the radio much. heart2spotify scrapes the 'Recently Played' list associated with iHeartRadio stations, determines which songs aren't in the playlist, and adds them. This means I can be free to discover new music from these stations at my leisure using my music player of choice.
Two playlists I run can be found here as a demonstration:
Documentation will be improved as I have more time. For now, see config.json.sample
for configuring the progrma. Configurations should be saved as config.json
.
One key caveat is this program is currently not a daemon for simplicitly reasons. It simply synchronizes on run and stops. I currently use systemd timers or cron to automate running it. On Windows, the task scheduler would probably be sufficient.
Python 3.6+
See requirements.txt
for an up-to-date list of dependencies (pip install -r requirements.txt
).
Licensed under the MIT license.
Happy listening!