Giter VIP home page Giter VIP logo

localspotifyimporter's Introduction

LocalSpotifyImporter

This is a very quick project (made in Python) that helps you import songs from a local directory into a Spotify playlist of your choosing. Could be useful for people migrating from a local song library over to Spotify.

This requires you to create an application via Spotify's developer dashboard and place the correct details in a config.json - refer to config.json.example and the "How to use" section.

How to use

  • Open a text editor (or duplicate the config.json.example as config.json) to note the details you will need for this to work
  • Create an application through Spotify's developer dashboard with any details you want
    • Add http://localhost:8888/callback to the "Redirect URIs" setting
    • (Optional) Select "Web API" under `"Which API/SDKs are you planning to use?"
  • Once the app is created, click "Settings" and copy the "Client ID" and "Client Secret" (click on "View client secret")
  • Open your Spotify's Account settings, click "Edit profile", and copy "Username"
  • Open the Spotify playlist you want to import the songs to and copy its playlist ID
    • It is found at the end of the playlist URL: https://open.spotify.com/playlist/PLAYLIST_ID_HERE
  • Configure your config.json with the details you've noted (refer to config.json.example for format)
  • Open a terminal and install the dependencies with pip install -r requirements.txt
  • Finally, run the script and provide the directory you want to import songs from (e.g. python3 importer.py)

License

This package is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

localspotifyimporter's People

Contributors

jovannmc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.