• Stars
    star
    774
  • Rank 56,665 (Top 2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 10 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Remove duplicates from your Spotify Playlists

Spotify Deduplicator

Greenkeeper badge

Have you ever wanted to remove duplicated songs from your Spotify library? Now you can find and remove them using Spotify Dedup.

This project uses the Spotify Web API for managing playlists. Just log in and it will traverse your playlists, finding songs that appear multiple times with the same identifier (Spotify URI) in a given playlist.

If it finds duplicates, they can be removed just pushing a button. And since it doesn't create a whole new playlist, it keeps all the information like creation date and subscribers.

Try it

You can check it out on https://spotify-dedup.com or run it locally.

Install and run

Install the dependencies:

yarn install

Run it:

yarn dev

Then open http://localhost:3000 in a browser

Testing

In order to test saved tracks, create duplicated tracks by executing the Web API request on https://developer.spotify.com/console/put-current-user-saved-tracks/?ids=2JZfTvWWtpaE8NohqRXqFr,1poUtf2dDdVUtWL8tn03Wd,6ADSaE87h8Y3lccZlBJdXH,2x45xqISlmmDJqxOqr8BuS,1iQ1BpOGF1Umd3lpTV4OPO.

About the tools used and implementation details

Spotify Web API and Promises

This app is a good example of how to traverse a user's library without incurring in rate limit. Have a look at the code and see how Promises and a Promise Queue are used to control the amount of requests sent to the Spotify Web API. If you are interested in throttling promises, check out promise-throttle.

More Repositories

1

spotify-web-api-js

A client-side JS wrapper for the Spotify Web API
TypeScript
1,838
star
2

beats-audio-api

Calculate the BPM of a song using the Audio API
JavaScript
388
star
3

c

A collaborative listening room using Spotify
JavaScript
368
star
4

linkedin-to-json-resume

An exporter from a LinkedIn profile to JSON Résumé
TypeScript
335
star
5

passport-spotify

Spotify authentication strategy for Passport and Node.js.
JavaScript
315
star
6

karaoke

Karaoke built with Web Audio API
JavaScript
207
star
7

contour

Draw an image with SVG
JavaScript
175
star
8

promise-throttle

A small library to throttle promises. Useful to avoid rate limiting when using REST APIs.
JavaScript
147
star
9

spotify-player

A wrapper around Spotify Connect to interact with the player
JavaScript
121
star
10

spotify-iquiz

iQuiz-like webapp using Spotify Web API
JavaScript
26
star
11

spotify-web-api-token

A simple Node.js app that exposes an access token to use the Spotify Web API
JavaScript
21
star
12

wpo-book

A collection of Website Performance Optimization Techniques
20
star
13

spotify-app-stats

A library to fetch the stats for your Spotify App from Spotify's developer site
JavaScript
19
star
14

jmperez.github.com

JMPerez Blog powered by Hexo
CSS
19
star
15

BigPipe

Facebook's BigPipe on ASP.Net MVC
C#
16
star
16

screenflow

Poor Man's Screenflow that records your screen and camera and outputs a video
JavaScript
15
star
17

sync-subs

Browser-based JS subtitles synchronizer
JavaScript
14
star
18

thirtiflux

A Spotify Web Player using the Web API, React and Flux
JavaScript
12
star
19

spotify-search

Polymer Web component to search Spotify items
HTML
10
star
20

spotify-dedup-mobile

Spotify Dedup - Mobile app version
JavaScript
10
star
21

extendify

Google Chrome Extension for appending Spotify Play Button to several sites like Wikipedia, Twitter
JavaScript
9
star
22

spotify-web-api-graphql

A proof-of-concept to create a graphql proxy for the Spotify Web API in javascript
JavaScript
8
star
23

spotify-web-api-js-poc

A universal JS wrapper for the Spotify Web API
JavaScript
7
star
24

geometrize-node

Generate SVGs from images
JavaScript
7
star
25

spotify-new-releases-demo-react

Demo of New Releases Spotify Web API endpoint (using React.js)
JavaScript
7
star
26

spotify-desktop-proxy

A desktop app that acts as a proxy for the Spotify Web API
JavaScript
6
star
27

spotify-most-followed-popular-artists-genres

A report with some insights from Spotify after making many requests to the Spotify Web API.
CSS
6
star
28

angularjs-spotify-apps-directives

AngularJS directives for Spotify Apps
JavaScript
5
star
29

raml2swagger

A RAML to Swagger converter in node.js
JavaScript
4
star
30

lazy-loading-talk

A talk about lazy-loading with React-like HOC
4
star
31

js-crusher

A Javascript packer that minifies JS code through string replacements
JavaScript
4
star
32

spotify-web-api-start-template

A basic template using implicit grant auth
JavaScript
3
star
33

spotify-play-with-voice

Using Speech recognition to play music
JavaScript
3
star
34

til

Things I learned today
2
star
35

card-surge

UI Playground for well-designed Cards
JavaScript
2
star
36

gatsby-starter-blog

JavaScript
2
star
37

spotify-logo-svg-drawing-animation

A proof of concept of the Spotify Logo in SVG using drawing animation
HTML
1
star
38

tw-fb-video

POC
HTML
1
star
39

perfreviews-gatsby

JavaScript
1
star
40

spotify-angular-app

A Spotify App built using AngularJS
JavaScript
1
star
41

spotify-save-as-playlist

Polymer Web component to save as a playlist
JavaScript
1
star
42

es6-template

A template for creating universal/isomorphic JS web apps
JavaScript
1
star
43

renderconf17

Slides for my presentation at Render Conf 2017
JavaScript
1
star
44

spotify-grid-play

Spotify sample app that plays a tracklist through multiple covers
JavaScript
1
star
45

lazy-load

Some examples of lazy-loading
JavaScript
1
star