by deekayw0n · 4y ago · 0 comments
Additionally, I've been meaning to simplify adding SomaFM tracks that I like to Spotify playlists. This post inspired some real-time action... one click in the SomaFM app would be peachy, but I can deal with a keyboard combo.
It's a bit difficult to be get the exact song without the DJ's providing the Spotify song id but the metadata SomaFM does provide in their icecast streams [or sqlite db or www song history] is good enough to formulate a pretty good Spotify search (e.g. `spotify:search:artist:Brazilian%20Girls+track:Homme`).
You can easily associate the following code to a keyboard shortcut via Automator and have it search for the LIKELY song in the Spotify app.
I present somafmToSpotify.js: https://gist.github.com/deekayw0n/ab96a596c16371e3968b7eea48...
Hope it helps with your #life-hacking
No comments yet.