spotted-on-spotify

Youtube/SoundCloud to Spotify python command line application.


Keywords
spotify, youtube, soundcloud, audio, fingerprint
License
MIT
Install
pip install spotted-on-spotify==1.0.0

Documentation

Spotted on Spotify

Command Line Application

Build Status

Have you ever gone back and forth between YouTube/SoundCloud trying to add songs to your Spotify playlist, only to waste time and find that the song is not available on Spotify? Look no further!

Requirements

From the AcoustID documentation:

The Chromaprint fingerprinting library makes use of the fpcalc command-line tool. The static binaries for the fpcalc tool can be found here.

Set the FPCALC environment variable to the location of the operating system appropriate version of the downloaded executable.

Setup

  • pip install spotted-on-spotify
  • Run spotted-on-spotify once to prompt the user authentication which will take you here.
  • Paste the link into the command line.

That's it! You're authenticated and ready to go!

Usage

$ spotted-on-spotify [ URL ]

When you have a specific YouTube or SoundCloud URL that you would like to search on Spotify, run the script with the URL (or wait to enter the URL while in the application), and let the magic happen!

Running the script allows the creation and modification of a public Spotify playlist appropriately named "Spotted on Spotify" where successful searches will be saved.

TODO

  • Catch invalid URL error from youtube_dl
  • Use/create a more efficient search/mapping from MusicBrainz to Spotify:
    • MBSpotify for direct matching between MusicBrainz Identifiers and Spotify URIs
  • Include fpcalc with package