Skip to content

A very simple python project for finding duplicate songs in deezer playlists

License

Notifications You must be signed in to change notification settings

red-dragon65/DeezLists

Repository files navigation

Stupid Simple Deezer Playlist Comparer

This code allows you to download public playlist data from a public deezer profile and then compare playlists against eachother.

No login required.

Built on the deezer-python api wrapper package.


Features

  • Compare one playlist against another playlist
  • Compare one playlist against multiple playlists
  • Comparing shows you the duplicate songs found in each playlist

Usage

Edit main.py as needed!

First: Install the deezer api wrapper package dependency pip install deezer-python



Second: download the playlist data:

import getPlaylistData
getPlaylistData.downloadPlayListData(DEEZER_USER_ID)

Note: the DEEZER_USER_ID can be found by navigating to your deezer profile and copying the id from the url

  • Example:
  • https://www.deezer.com/us/profile/4063572262/playlists
  • The DEEZER_USER_ID is 4063572262

Note: the only data saved is songID, title, artistName



Third: compare the playlist data

Comparing one file against another

comparePlaylists.findDuplicates("some_playlist", "another_playlist")

Comparing one file against multiple

ignoreFiles = ["mix_tape1", "some_other_mix_tape"]
comparePlaylists.massCompare("songs_I_think_I_have", ignoreFiles)
  • Note: massCompare() will compare songs_I_think_I_have against all files in the PlayListData directory that is generated.

  • To specify playlist files to ignore, pass a list of the file names ignoreFiles = ["mix-tape_1", "some_other_mix_tape"]


Screen shot

Example output of running massCompare()

About

A very simple python project for finding duplicate songs in deezer playlists

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages