Automate the organization of your liked songs on Spotify by automatically splitting them into playlists within Spotify's playlist track count limit (10,000). This is ideal for easily sharing your liked songs with others.
- A Spotify account
- Python 3.x
- pip (Python package installer)
-
Clone the repository:
git clone https://github.com/szalovszky/spotify-likes-to-playlist.git
-
Navigate to the project directory:
cd spotify-likes-to-playlist
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure your Spotify API credentials by creating a
.env
file with the following content:SPOTIFY_CLIENT_ID=your_spotify_client_id SPOTIFY_CLIENT_SECRET=your_spotify_client_secret SPOTIFY_REDIRECT_URI=your_redirect_uri
Replace
your_spotify_client_id
andyour_spotify_client_secret
with your actual Spotify API credentials. Also, provide a validSPOTIFY_REDIRECT_URI
. This should be the URI where the Spotify API will redirect the user after authentication. Make sure it matches the redirect URI you specified when registering your Spotify application.
-
Run the application:
python main.py
-
Follow the on-screen instructions to authenticate the app with your Spotify account.
-
Once authenticated, the app will create playlist(s) from your liked songs.
spotify-likes-to-playlist is licensed under the MIT License - see the LICENSE file for details.
For bug reports, feature requests, or contributions, please open an issue or submit a pull request on the GitHub repository.