Takes local files on a device and adds them to your selected playlist on your favorite music streaming application.
Getting Started
Installing
- Download the repository
- Change the working directory to the downloaded repository
- Initiate a virtual environment (or don't...up to you)
- pip install mutagen, spotipy (necessary for song metadata and accessing Spotify)
Before Using
- Create an app through https://developer.spotify.com
- Create a config file in the repo called
config.ini
- In the config file add these lines, replacing the brackets and the text in the brackets with the correct values:
[DEFAULT] client_id= [INSERT YOUR APP's CLIENT ID HERE] client_secret= [INSERT YOUR APP's CLIENT SECRET HERE]
How to Use
- Run migratory.py and the login screen will load.
- Enter your username and a link will open in the browser to log in with Spotify.
- Log in and copy and paste the url you are redirected to into the terminal.
- Press "Search for Files" and upload music files
- Press "Add to Playlist" or "Add to Your Music" and watch either your selected playlist or the Songs playlist (depending on your button choice) update with the newly added tracks
Built With
Spotipy - used to add tracks to playlists
Mutagen - used to retrieve music metadata for searching
Author
- Dysron Marshall