I hacked together a little python script(Windows only for now) that logs songs playing on an internet radio station to excel,sqlite db, and adds the songs to a Spotify playlist.
It started out as a way to test xlwings.
https://github.com/thedangler/vlc-log-radio-songs
It's a work in progress. See to do list in the readme to find our what will happen next.
Happy Hacking.