danielfm / smudge

Control the Spotify app from within Emacs.
https://asciinema.org/a/218654
GNU General Public License v3.0
317 stars 47 forks source link

Liked Songs support #96

Open orbekk opened 10 months ago

orbekk commented 10 months ago

Adds support for adding and removing the currently playing song from the Liked Songs list.

The naming for Liked Songs is a bit confusing. The official Spotify client calls them Liked Songs, but the API docs calls them "songs saved in the 'Your Music' library". Happy to modify this change based on naming suggestions.

It would probably be nice to have the ability to add/remove marked songs from Linked Songs as well. But it seems a bit confusing to have two sets of functions for this. What do you think of introducing something like smudge-save-track-to-library-dwim: If smudge-track-search-mode is active, it will save the track at point. Otherwise it will save the currently playing track.

Fixes #69.