Welcome to the Music Playlist Randomizer project! This tool helps you create random playlists from your music library.
- Randomly generate playlists from your music library.
- Supports multiple music platforms.
- Easy to configure and use.
- Python 3.x
- Spotify Developer Account
-
Fork the Repository
Click on the "Fork" button at the top right of this repository to create your own copy.
-
Clone Your Fork
git clone https://github.com/your-username/music-playlist-randomizer.git cd music-playlist-randomizer
-
Create a Spotify Developer Account
- Go to the Spotify Developer Dashboard.
- Create a new application.
- Set the callback URL to:
http://localhost:8080/callback/
.
-
Configure Environment Variables
Create a
.env
file in the root directory and add your Spotify credentials:SPOTIPY_CLIENT_ID='your-client-id' SPOTIPY_CLIENT_SECRET='your-client-secret' SPOTIPY_REDIRECT_URI='http://localhost:8080/callback/'
-
Set Up Virtual Environment and Install Dependencies
Create a virtual environment and install the necessary modules from
requirements.txt
:python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate` pip install -r requirements.txt
After configuring the environment variables, run the main script:
python3 main.py
We welcome all types of contributions—whether you're fixing a bug, improving documentation, or adding new features. Please read our contributing guidelines for more details.
Thank you for checking this out! Happy Hacktoberfest!