Skip to content

feat: add remove command to delete downloaded songs from a playlist#2518

Open
khushipy wants to merge 1 commit intospotDL:masterfrom
khushipy:feat/2382-remove-command
Open

feat: add remove command to delete downloaded songs from a playlist#2518
khushipy wants to merge 1 commit intospotDL:masterfrom
khushipy:feat/2382-remove-command

Conversation

@khushipy
Copy link

@khushipy khushipy commented Oct 5, 2025

Title

feat: add remove command to delete downloaded songs from a playlist

Description

Added a new remove command that allows users to delete downloaded songs from a Spotify playlist. The implementation includes:

  • New remove.py console command handler
  • Integration with the existing downloader system
  • Support for removing multiple tracks at once
  • Proper error handling and user feedback

Related Issue

Closes #2382

Motivation and Context

This feature was requested by users who want to manage their downloaded music library directly from the command line. It provides a convenient way to remove songs that are no longer needed, helping users save disk space.

How Has This Been Tested?

  • Tested with various playlist sizes (small, medium, large)
  • Verified file deletion from the filesystem
  • Tested error cases (invalid paths, missing files, permission issues)
  • Confirmed proper cleanup of metadata

Types of Changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the CONTRIBUTING document
  • I have added tests to cover my changes
  • All new and existing tests passed

Hacktoberfest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

option to delete downloaded audio using a url

2 participants