How do I make a playlist with all my likes?

The Spotify Liked Songs feature allows individual songs to be liked by simply clicking the heart icon, and presents them in a playlist-like view within the app. However, this cannot be made public or shared with other users.

My use case is to use n8n to replicate my Liked Songs into a playlist which I can then share with my friends or even make public.

It turns out that n8n already has most of the building blocks for this Spotify playlists can be created and tracks can be both added to and removed from them [although there seems to be a small bug here which allows only the first track to be removed]. However it cannot currently read the list of Liked Songs from Spotify. Once it has this ability, some simple function code could be used as glue to diff the Liked Songs with those in the playlist, and add/remove tracks accordingly.

I have already gone ahead and created a PR to support fetching Liked Songs [as well as a minor bug fix to allow removing tracks from playlists at an arbitrary position]: //github.com/n8n-io/n8n/pull/1472. However I am still looking for someone to merge this PR if there are no outstanding issues to resolve.

I also have locally created a workflow which does what I describe in this post, and would gladly submit it to the website once my changes have been released.

Video liên quan

Chủ Đề