Control Rdio from Vim

Control Rdio from Vim Gabe Berke-Williams November 21, 2014 vim osx unix I recently spent a number of hours trying to get Rdio to play playlists from the command line. My solution is a neat hack, but there’s also value in seeing what didn’t work before seeing what did. My goal was to have Vim key bindings to play a specific playlist in Rdio. It turned out to be much more difficult than I expected. Here’s how I did it, but first a GIF of it in action: First I found Wynn Netherland ’s rdio-cli gem, which interacts with the Rdio desktop app via AppleScript. It’s great, it works, and if you use the Rdio desktop app, I recommend it. I considered it, but I use Rdio online, and I wanted to script that if possible. rdio-cli also doesn’t let you select a playlist. Onwards! Then I tried the Rdio API. I signed up for a developer key and browsed their docs , ...

Linked on 2014-11-21 20:08:13 | Similar Links