Spotify retired Daily Drive on 17 March 2026, at least in the form I'd been using it. No more automatically updated mix of news, podcasts and music. Just gone.
So I went looking for an alternative. I found dailydrive by patdeg, a small Node.js tool that rebuilds my own version of the playlist automatically.
Historical setup: This is what I used in March 2026. Spotify developer permissions, rate limits, API endpoints and the project's installation process can change. Check the current documentation before following these examples.
What dailydrive does
It recreates the basic idea of Spotify's old “Your Daily Drive”:
- Pulls the latest episodes from selected podcasts
- Adds music from top tracks, genres or playlists
- Arranges episodes and songs into a configurable pattern
- Replaces the contents of a dedicated Spotify playlist
- Runs automatically from cron or a systemd timer
Set it up once and a small JavaScript application can build a new commuting playlist every day.
What you need
I used a Spotify Premium account, a Spotify developer account and a Linux machine. A Raspberry Pi is plenty. You'll also need to be reasonably comfortable with SSH and a terminal.
Spotify changed developer-app requirements during 2026; verify the current account and user limits rather than assuming mine still apply.
Installation
Clone the repository:
git clone https://github.com/patdeg/dailydrive.git
cd dailydrive
Then run its installer:
chmod +x install.sh
./install.sh
The script was designed to install Node.js if necessary, fetch dependencies and prepare a config.yaml template.
Read installation scripts before executing them, especially if they install packages system-wide.
Create a Spotify app
The tool needs its own Spotify developer application to work with your playlists.
I created an app with a name such as “Daily Drive”, a description and the redirect URI:
http://127.0.0.1:8888/callback
For the version I used, 127.0.0.1 rather than localhost mattered.
I enabled the required Web API permissions and added my own Spotify account under the app's user management. Otherwise playlist updates could fail with a 403 error.
Keep the Client ID and Client Secret private.
Create the destination playlist
In Spotify, create an empty playlist called something like “My Daily Drive”.
Copy its share link and extract the playlist ID — the part after /playlist/.
That's where dailydrive will write the results.
Edit config.yaml
Copy the configuration template:
cp config.example.yaml config.yaml
nano config.yaml
The settings define your Spotify app credentials, playlist ID, podcast shows, music sources and mixing pattern.
For example, my top-tracks section looked like:
music:
top_tracks:
enabled: true
time_range: "short_term" # ~4 Wochen
count: 30
Genre discovery could be configured like this:
music:
genres:
- dance pop
- pop rock
- electropop
In the version I tested, using both top tracks and genres produced a mix of familiar tracks and new discoveries.
Finding IDs
For podcasts, open the show in Spotify, choose Share → Copy link and use the section after /show/.
For playlists, the ID follows /playlist/ in the share URL.
How the mix pattern works
The pattern uses P for a podcast episode and M for a song.
| Pattern | Result |
|---|---|
| PMMM | One podcast, three songs, repeat |
| PMMMM | One podcast, four songs, repeat |
| PMMPMMM | Podcast, two songs, podcast, three songs |
| PM | Alternate between podcast and music |
| MMMPMMMM | Three songs, podcast, four songs |
You can also put certain shows, such as short news bulletins, at the very beginning using position: first:
podcasts:
- name: "NPR News Now"
id: "6BRSvIBNQnB68GuoXJRCnQ"
episodes: 1
position: first
Authenticate once
Run:
npm run setup
The tool opens a small local web server on 127.0.0.1:8888, where I log in to Spotify and approve access.
The resulting token is stored in .spotify-token.json. Treat that file as a credential and keep it out of version control.
Running it on a headless server
An SSH port forward lets you complete the browser-based authentication from your own machine:
ssh -L 8888:127.0.0.1:8888 user@dein-server
npm run setup
Open the local callback URL to finish the process. The exact command location depends on your setup.
Build the first playlist
Run:
npm start
Then open the target playlist in Spotify and check the mix.
For a test without changing the playlist:
npm test
That shows which songs and episodes would be included.
Automate the updates
Cron
Open crontab:
crontab -e
My example ran twice daily, at 04:00 and 16:00:
0 4,16 * * * cd /home/$USER/dailydrive && /usr/bin/node index.js >> /tmp/dailydrive.log 2>&1
Check the Node.js path, working directory and environment variables. Cron doesn't necessarily inherit your interactive shell's settings.
systemd timer
For a more manageable setup, the repository included service and timer files:
sudo cp systemd/dailydrive.service /etc/systemd/system/dailydrive@.service
sudo cp systemd/dailydrive.timer /etc/systemd/system/dailydrive@.timer
sudo systemctl daemon-reload
sudo systemctl enable dailydrive@YOUR_USERNAME.timer
sudo systemctl start dailydrive@YOUR_USERNAME.timer
The schedule can be adjusted with:
sudo systemctl edit dailydrive@YOUR_USERNAME.timer
In my version, the default times were 04:00 and 16:00. Check the repository's current unit files before using these commands.
AI taste profiles
The tool also offered an optional feature that inferred genre preferences from my top tracks using an external LLM service.
After configuring the provider's API key securely, I could run:
npm run taste
The result was a set of genre tags for config.yaml.
I haven't copied the sample API-key string here because secret formats and providers vary. Never commit a real key.
Technical background
The project used the Spotify Web API, OAuth 2.0 and spotify-web-api-node.
It fetched show episodes and music recommendations or playlist tracks, then updated the destination playlist.
State caching in state.json helped avoid unnecessary updates when no new podcast episodes were available.
Spotify API endpoint names and authorisation rules have changed over time. The project's current README is the source of truth for implementation details.
Common problems
Not authenticated: Run npm run setup and check the saved token.
config.yaml missing: Copy and edit config.example.yaml.
Token expired: Retry authentication if token refresh isn't working.
403 Forbidden: Check developer-app permissions, approved users, the account and playlist ownership.
Empty playlist: Run npm test, inspect the configured source IDs and confirm the shows and playlists actually return items.
Why this is better for me
Spotify used to decide which podcasts and music went into Daily Drive.
Now I choose the shows, number of episodes, musical sources, mixing pattern and update times.
And if Spotify removes another feature, at least I have a way to rebuild the bit I actually need.
Conclusion
If you miss Daily Drive and don't want to assemble podcasts and music by hand every morning, dailydrive is a neat little open-source project.
It can run quietly on an ordinary Linux box. Configure it once, get in the car, hit Play and let the script do its work.
That's how it should be.