Hacker News new | ask | show | jobs
by jez 1281 days ago
In the past, another tool I’ve used is this bash script that interacts with Spotify over dbus:

https://gist.github.com/wandernauta/6800547

It’s nowhere near a fully featured Spotify client, but for little scripts or UI things where I just want to see the current song it’s pretty lightweight and already works with the Spotify app I have installed (obviously this means it has a different end goal in mind than Spotifyd).

1 comments

If you're interested in a better version of that I have a project that works with all players that support the MPRIS DBus interface: https://github.com/mariusor/mpris-ctl. I'm using it for keybindings to play/pause and show song information with a tiling windows manager.