DEV Community

Cover image for Effortlessly update Your Spotify Playlists daily with This Simple Tool
YOGESHWARAN R
YOGESHWARAN R

Posted on

6

Effortlessly update Your Spotify Playlists daily with This Simple Tool

What I built

I built a tool that can automate the process of updating Spotify playlists, making it easier for users to maintain their music collections. It runs the python script to update playlist every day using GitHub Actions.

Users can configure the tool to update tracks on playlist based on different categories like Top tracks, top artists, recently played and tracks. This eliminates the need for manual playlist management, saving time and effort for users who want to keep their music collections organized.

Category Submission:

This is a random tool that uses GitHub Actions so it belongs to Wacky Wildcards

App Link

Checkout this on GitHub

Screenshots

Local working demo of this tool

demo

Description

This is simple Python script to update the given playlist with recommended tracks of User. Tracks added to the playlist can be customizable by different categories. Currently, it supports

  • TopArtist()
  • TopTracks()
  • TopMix() - It mix both TopArtist and TopTracks
  • RecentlyPlayed()
  • Mix() - If you need a playlist with particular artists, tracks or genre, you can mix up to 5 parameters like Artist, Genre and Track. Only 5 parameters are allowed

The number of tracks added to the playlist is also configurable. Checkout Readme for more information and usage details.

It uses the GitHub Actions to runs the script every day to update playlist.

Link to Source Code

Source Code of this tool is found at GitHub

Permissive License

Distributed under the MIT license.

Background

Firstly, I love Music.
I got this idea from my previous project to convert Spotify playlist into YouTube playlist. In a previous project I automated the process of YouTube playlist creation. Next, I need to automate the process of Spotify playlist. So, this is a tool I finally got at end.

How I built it

I used to spotipy Python library which is Python wrapper of the Spotify web API. A wrote script to update playlist using Python and finally I used to GitHub actions to run the script every day to update playlist

Additional Resources/Info

Thank you,

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post →

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

Best practices for optimal infrastructure performance with Magento

Running a Magento store? Struggling with performance bottlenecks? Join us and get actionable insights and real-world strategies to keep your store fast and reliable.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️