Music Player
This project is maintained by milosnowcat
Music Player
This project allows you to set up a Spotify API integration to fetch songs from a specified playlist and write them in a format of your choice. To get started with this project, follow the installation steps below.
Before using the project, ensure you have Python installed on your system. You can download Python from python.org.
You can download for windows without python here!
Clone the GitHub repository containing the Music.py project to your local machine using the following command:
git clone https://github.com/milosnowcat/music.py.git
Navigate to the music.py
directory:
cd music.py
Install the required Python packages using pip:
pip install -r requirements.txt
Run the main.py
script:
python main.py
The script will prompt you to set up your Spotify API credentials, including Client ID, Client Secret, Redirect URI, Spotify username, and Playlist ID.
You can also set the format for writing the songs (default is “/play”).
The script will count down and start writing the songs from the specified playlist in the chosen format.
To stop the script, press Ctrl + C
in your terminal.
That’s it! You have successfully installed and used the Music.py project to fetch and write songs from a Spotify playlist.
The Music.py project allows you to set up a Spotify API integration to fetch songs from a specified playlist and write them in a format of your choice. Follow these steps to use the project.
Ensure you have followed the installation steps mentioned in the “Installation of the Music.py Project” section.
Run the main.py
script:
python main.py
You can also set the format for writing the songs (default is “/play”).
The script will count down and start writing the songs from the specified playlist in the chosen format.
Ctrl + C
in your terminal.That’s it! You have successfully used the Music.py project to fetch and write songs from a Spotify playlist using your Spotify API credentials.