> ## Content Index
> Fetch the complete content index at: https://www.thecollation.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# I Fixed My Largest Spotify Annoyance with One Simple Shortcut (And You Can Too)
- URL: https://www.thecollation.com/i-fixed-my-largest-spotify-annoyance-with-one-simple-shortcut-and-you-can-too/
- Published: 2026-06-20T23:16:54.000Z
- Updated: 2026-06-21T14:40:45.000Z
- Description: If you love music but you’re constantly breaking your focus to open Spotify and hit "Add to Liked Songs" on new tracks, there’s finally a better way. Here's how to build a keyboard shortcut that Adds to Liked Songs while Spotify remains in the background and your flow remains uninterrupted.
- Author: Colin Budd
- Tags: Tutorial

I love music. Moreover I love *discovering* new music. I have nearly 30k Liked Songs on Spotify and an embarrassingly high "Time Spent Listening" metric each year on Spotify Wrapped. 

I "Like" (Add to Liked Songs) a ton of songs - but I really do not *like* having to break my flow to open Spotify and click "Add to Liked Songs" each time I want to do so. 

So I fixed this once and for all. 

Now it's as simple as pressing one key - even when Spotify is minimized.   
I absolutely love it and, moreover, love that my flow no longer needs to be broken.

Let me show you how to do this too in just 15 minutes. 

## **Wait… how?**

Without getting too technical, Spotify opens up its backend via an [API](https://developer.spotify.com/documentation/web-api?ref=thecollation.com) that lets you do and build some pretty great things.

So I used the API to build a tiny shortcut that basically says:

> *“Hey Spotify, what’s playing?* 
> *Cool. Add that to Liked Songs.”*

That’s the whole workflow. 

Runs locally on your Mac using Apple Shortcuts, a script, and your unique token from Spotify. 

(Read: No subscriptions. No third party app. No monthly fee to automate clicking.)

Best of all, I've done the hard work for you so it takes around 15 minutes to set up. 

Let's dive in.

## **Build Your Own (in just 15 minutes)**

Quick note: You do not need to know how to code to do this. You do need to be comfortable copying and pasting some code into Terminal to get things rolling.

### **Before you start**

**You’ll need:**

- A Mac
- Spotify (Premium account for API)
- Node.js installed (we’ll check this in a minute)
- \~15 minutes of your time

**Our Goal:**  
*Press one keyboard shortcut to add current Spotify song to Liked Songs.* 

---

### **Step 1: Make sure Node is installed**

[Node](https://nodejs.org/en/about?ref=thecollation.com) is just the thing that lets your Mac run the tiny script.

Open **Terminal** (press Command + Space and type *Terminal*).

Paste:

```bash
node -v
```

If you see something like:

```bash
v23.6.1
```

Perfect. Move on. 

If Terminal says command not found:

Install Node:

```bash
brew install node
```

Then rerun:

```bash
node -v
```

---

### **Step 2: Create your Spotify app**

Go to [Spotify for Developers](https://developer.spotify.com/dashboard?ref=thecollation.com) and set up your account. 

Click on **Create an App** then use the following:

App name:

```text
Add to Liked Shortcut
```

Description:

```text
Personal shortcut to like currently playing songs
```

Redirect URI:

```text
http://127.0.0.1:8888/callback
```

Now hit Save.

Spotify will give you a special Client ID. Keep this page open - you'll need it soon.

---

### **Step 3: Create the project folder**

We're going to create a folder on your Mac to hold the scripts that will run for this shortcut. 

The code below will create a new folder for you in your Documents called "Projects" and then within that it will create a sub-folder called "Spotify\_Like" where we'll store our code.

Feel free to adjust the path to wherever makes the most sense for your set up. 

Open Terminal. 

Paste:

```bash
mkdir -p ~/Documents/Projects/Spotify_Like
cd ~/Documents/Projects/Spotify_Like
```

Now you have a folder for the shortcut's script. Take a second to open it in Finder - we'll be moving our project files in here in the next step.

---

### **Step 4: Download the project files**

You don't need to write a single line of this yourself. You can grab my exact script configuration via the files below. (A perk for members of The Collation. Free to join if you haven't yet!)

## Join The Collation (Free) to Access

Subscribe to unlock the GitHub repository link, along with weekly, signal-rich tutorials built for AI founders, builders, and creative leaders.

Get the Files 

Email sent! Check your inbox to complete your signup. 

No spam. Unsubscribe anytime.

Click:

```text
Code
```

Then:

```text
Download ZIP
```

Your Mac will download a ZIP file - save it to a place you'll remember, such as Downloads.

Double click the ZIP file to extract it in place. 

Move the extracted files into the folder we created earlier, which can be found at:

```text
Documents/Projects/Spotify_Like
```

Now your Spotify\_Like folder should contain the following files: 

```text
README.md
config.example.json
like-current-spotify-song.mjs
package.json
```

---

### **Step 5: Configure the shortcut**

Duplicate:

```text
config.example.json
```

Rename the copy:

```text
config.json
```

Open:

```text
config.json
```

Find:

```text
YOUR_CLIENT_ID
```

Replace it with the **Client ID** from your Spotify App created in Step 2.

Save.

Close.

---

### **Step 6: Run it once**

Open Spotify and start playing a song.

Open Terminal and paste this exactly (using the directory you used to save your files if different):

```bash
cd ~/Documents/Projects/Spotify_Like && npm install && npm start
```

Press Enter.

Your browser should open with an authorization page from Spotify asking:   
Allow access?

Press Allow.

Switch back to Terminal.

If everything worked, you should see something like the following with the name of the currently playing song and artist:

```text
Opening Spotify login...

Liked: Reckoner - Radiohead
```

If you see that:

You’re done with the hard part! 

You can close Terminal.

---

### **Step 7: Turn it into a keyboard shortcut** 

Open the **Shortcuts** app on your Mac.

Create a new shortcut and give it a name such as:

```text
Like Spotify Song
```

Add the following action from the Actions panel:

```text
Run Shell Script
```

Paste:

```bash
cd ~/Documents/Projects/Spotify_Like && npm start
```

Add add the following action from the Actions panel:

```text
Show notification
```

Click the right caret next in the Action to expand the options. 

Uncheck Play Sound.

Open Shortcut Details (click the 'i'-in-circle button on right pane).

Assign a keyboard shortcut by clicking in the field next to 'Run with:' and then type the following keys together:

```text
⌃ Control + ⌥ Option + ⌘ Command  + ;
```

In my testing, this is an unused keyboard shortcut that works even while using keyboard-oriented power apps like Photoshop

Make sure you see that in the field.

Save.

---

### **Step 8: Test the Shortcut**

Play something in Spotify and - for grand effect - minimize Spotify.

Press your shortcut on your keyboard.

A notification should now appear.

![](https://storage.ghost.io/c/38/48/3848c230-359c-4a4d-8e13-326805c6add3/content/images/2026/06/Screenshot-2026-06-20-at-20.44.36-1.png)

Example of notification when you activate the shortcut

Switch back to Spotify and check...

The song should now be in your Liked Songs

Done.

---

### **Bonus: One-Key Magic** 

To really make it as easy as pausing or skipping a track (one key press), you can assign it to a special or function key on your keyboard by using a 3rd party app or accessory keyboard. 

For instance, on my Logitech MX Keys S, I've set the Emoji key (F6) to activate the keyboard shortcut. Now I just press that one key and my shortcut runs.

You can also assign your Function (Fn) keys on your Mac using popular aftermarket apps. 

Worth looking into if you want to further simplify your flow and making "Add to Liked Songs" truly as easy as one key press - all while Spotify remains in the background or minimized. 

---

### **If something goes wrong**

#### **Browser never opens**

Run Step 6 again.

#### **Spotify says Redirect URI error**

Make sure this matches exactly:

```text
http://127.0.0.1:8888/callback
```

#### **JSON error**

Open:

```text
config.json
```

Make sure your Client ID is wrapped in quotation marks.

Correct:

```json
"clientId": "your_id_here"
```

Wrong:

```json
"clientId": your_id_here
```

---

### **That’s it**

From now on:

1. Hear a great song.
2. Press the shortcut.
3. Continue with your day.

Time well spent and well saved!

## **Why I like this more than I should**

I've always been a fan of simplicity and reducing friction in experiences.

When you repeat an action often - especially one that's low-level or "administrative" in nature - it should always raise the question:

> ***Is there an easier/better way?*** 

**And, if so, reimagine the flow from there.** 

Much of how I approach **AI Transformation** at an enterprise-wide scale can be reduced to exactly that same process:

Questioning the workflows we rely on today - especially where manual, repetitive, or otherwise flow-breaking and time-taking. 

Then reimagining them with AI (or, in this case, a simple script).

## Let Me Know Your Thoughts

How did you like this tutorial? 

Are you enjoying your new Spotify Like Shortcut? 

Run into any issues? 

Or maybe you're left wondering what you and your teams are doing often that could be reimagined for the AI era?

Feel free to reach out at [hello@thecollation.com](mailto:hello@thecollation.com). Here to help you think through the future of what's possible - for the AI era and beyond.

Thanks for reading and enjoy your new favorite shortcut!

## Sign up for The Collation

Never miss a signal.  
  
Notes, strategy, and emerging signals from the front row of AI - collated for leaders, founders, and builders.

Subscribe 

Email sent! Check your inbox to complete your signup. 

No spam. No hype. No noise. Unsubscribe anytime.