Ecommerce Redesign
January 2025

Spotify Playlist Cleaner

Python
Spotify API
Data Processing
Automation

A Python application that helps users recover their Spotify libraries after unauthorized access by selectively removing unwanted songs in bulk.

Project Overview

This project was created to solve a specific problem: when unwanted songs are added to your Spotify library after unauthorized access. Spotify doesn't provide a native way to remove songs in bulk or filter by range, making manual cleaning extremely tedious.

Key Features

Selective removal by date range: Removes all songs between a "first hacked song" and a "last legitimate song"
Smart pagination: Properly manages all liked songs, even with thousands of tracks
API limit handling: Implements pauses and retries to avoid rate limit errors
Automatic backup: Saves a CSV file of all removed songs for future reference
Safety confirmation: Displays songs to be removed and asks for confirmation before executing

Technical Implementation

Architecture

Modular Python application with separation of concerns
Configuration management via external config file
Spotify Web API integration using Spotipy library
Robust error handling and rate limiting management

Security Considerations

Secure credential management
Non-destructive operations with confirmation steps
Comprehensive logging and backup functionality

Results

The tool has helped multiple users recover their Spotify libraries after unauthorized access, saving hours of manual work and frustration. It demonstrates practical problem-solving and API integration skills while providing a genuinely useful utility.

Project Image 1
Project Image 2

Project Details

Project Type

Ecommerce Redesign

Completed

January 2025

Technologies

PythonSpotify APIData ProcessingAutomation