Skip to main content

Easily delete your YouTube Music library

Project description

ytmusic-deleter: Delete your YouTube Music library

GitHub Downloads (all assets, all releases) PyPI - Downloads GitHub Release Discord

YTMusic Deleter is an installable program for performing batch delete operations on your YouTube Music library, since currently there is no built-in option to do this. This tool is faster than browser-based / Javscript-based tools because it uses the YouTube Music API to make rapid requests against your library instead of doing the deletion manually in your browser.

If this project helped you and you want to thank me, you can get me a beer!

Get help on Discord!

Features

  • Remove all songs from your Library
  • Delete all of your Uploads
    • Option to automatically add the corresponding album to your library from within YT Music
  • Delete all of your playlists
  • Reset all of your "Liked" ratings
  • Delete your play history
  • Sort your playlists

YTMusic Deleter screenshot

Installation

Easy Install (Windows Only)

Windows users can download an .exe to install the YTMusic Deleter GUI (Graphical User Interface).

Find the .exe file in the Releases area. Just click the latest release and look at the Assets section.

Please note you may get a browser warning when downloading the file, and a Windows warning for installing files from an unknown publisher. Click the "More Info" button, then the "Run Anyway" button to finish installing. This warning appears whenever you install something from an unsigned publisher.

(Advanced) Command-line interface for non-Windows users

See CLI README

Setup

Once installed and running, simply click the "Log In" button to authenticate to your YouTube Music account. You will see your Google account name and profile photo to ensure you are logged into the correct account.

This login process uses the Google API flow for TV devices and is handled by the ytmusicapi, which handles all of the API interaction in this app.

Video Tutorial on using YT Music Deleter

This video shows an older version of the UI. The authentication process has been simplified. New video coming soon!

Troubleshooting

Various exceptions may occur while running ytmusic-deleter because there is a wide swath of possible metadata on your library, and the YouTube Music backend is changing rapidly. Most errors deleting albums have been accounted for and you may just have to delete a couple albums manually that got left behind. If there are any errors that halt the entire program in the middle of deletion, please create an Issue and post the full error.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ytmusic_deleter-2.1.0.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

ytmusic_deleter-2.1.0-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page