Automatically manage your local music library.
Explore the docs »
Report Bug
.
Request Feature
This project was initially created as a way to manage my local music library. I wanted to be able to automatically switch to music streaming services such as Spotify, but I also wanted to be able to keep my local music library up to date by automatically classifying and organizing my music files as well as updating their metadata. This project is still in its early stages, but I hope to be able to add more features in the future. Feel free to contribute to this project if you want to help me improve it.
This project is built with Python with the help of the following libraries:
First of all, you need to install the dependencies listed down below. Then, you need to create a Spotify application and a Spotify user account. You can follow the instructions on the Spotify for Developers website to create a Spotify application. Once you have created your Spotify application, you need to save the client ID and the client secret somewhere safe because you will need them later. To get a local copy up and running follow these simple example steps.
To use this project, you need to install the following dependencies:
-
Clone the repository
git clone https://github.com/TaifAljaloo/spotify-scanner.git cd spotify-scanner
-
Create a config file in the root folder
touch config.cg
-
Add the following lines to the config file and replace the values with the values of your Spotify application:
client_id = "your_client_id" client_secret = "your_client_secret" username = "your_spotify_username"
-
Run the script
python3 main.py
This project is still in its early stages, but you can use it to automatically classify and organize your local music library. You can also use it to automatically update the metadata of your music files. To do so, you need to run the script, pick an option from the menu. eg: 1. Scan local music library. Then, you need to pick a config file from the ones you created before. eg: 1. config.cg. The script will till if the config file is valid or not. If the config file is valid, the script will ask you to enter the path of the folder you want to scan. eg: /home/user/Music. Then, the script will ask you to enter the name of the Spotify playlist you want to create. eg: My playlist. If you dont enter a playlist name the script will create one for you. Finally let the script do its job. Once the script is done, you will find the new playlist in your Spotify account. You will also find a log file of the application output aswell as a not_found folder that contains the music files that the script was not able to find on Spotify.
Feel free to contribute to this project if you want to help me improve it.Please make sure to check your spelling and grammar.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- TaifAljaloo - Comp Sci Student - TaifAljaloo - The main dev