Coder Social home page Coder Social logo

spotify-scanner's Introduction


Logo

Spotify Scanner

Automatically manage your local music library.

Explore the docs »

Report Bug . Request Feature

Contributors Forks Stargazers Issues License Languages Top Language

Table Of Contents

About The Project

Screen Shot

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.

Built With

This project is built with Python with the help of the following libraries:

Getting Started

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.

Prerequisites

To use this project, you need to install the following dependencies:

Installation

  1. Clone the repository

    git clone https://github.com/TaifAljaloo/spotify-scanner.git
    cd spotify-scanner
  2. Create a config file in the root folder

    touch config.cg
  3. 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"
  4. Run the script

    python3 main.py

Usage

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.

Contributing

Feel free to contribute to this project if you want to help me improve it.Please make sure to check your spelling and grammar.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Authors

  • TaifAljaloo - Comp Sci Student - TaifAljaloo - The main dev

spotify-scanner's People

Contributors

taifaljaloo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.