Skip to content

Folder2Spotify is a Python tool that converts songs stored in local folders into Spotify playlists. Migrate your old-school method of organizing songs in local folders to the new-age convenience of stream your songs on Spotify.

Notifications You must be signed in to change notification settings

emlopezr/Folder2Spotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Folder2Spotify

Spotify Python  Terminal

Table of Contents / Índice

English

Folder2Spotify is a Python tool that allows you to create Spotify playlists from songs stored in local folders. Say goodbye to manually adding songs to your playlists - Folder2Spotify automates the process for you!

This tool simplifies the process of creating Spotify playlists by converting your local music collection stored in folders into curated playlists on Spotify.

Español

Folder2Spotify es una herramienta en Python que te permite crear listas de reproducción en Spotify a partir de canciones almacenadas en carpetas locales. Di adiós a agregar manualmente canciones a tus listas de reproducción: ¡Folder2Spotify automatiza el proceso por ti!

Esta herramienta simplifica el proceso de creación de listas de reproducción en Spotify convirtiendo tu colección de música local almacenada en carpetas en listas de reproducción curadas en Spotify.

Tutorial

How to Use (English)

Prerequisites

  • Python installed on your system
  • A Spotify account
  • Spotify client ID and client secret (The proccess will be explained later)

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/emlopezr/Folder2Spotify.git
  2. Navigate to the project directory:

    cd Folder2Spotify

Virtual Environment Setup

  1. Install virtualenv:

    pip install virtualenv
  2. Create the Virtual Environment: Use any of this commands

    python -m venv .venv
    python3 -m venv .venv
    py -m venv .venv

    This will create a directory named .venv in your project folder containing all the necessary files for your virtual environment.

  3. Activate the Virtual Environment:

    • Windows: .venv\Scripts\activate
    • Linux / MacOS: source .venv/bin/activate
  4. Install Dependencies:

    pip install -r requirements.txt

Usage

  1. Go to Spotify for Developers Dashboard: https://developer.spotify.com/dashboard

  2. Create an app to get tokens: Screenshot_1 Screenshot_2

  3. Get the Client ID and Client secret: Screenshot_3 Screenshot_4 Screenshot_5 Screenshot_1

  4. Make a folder that contains all the songs: Screenshot_2

  5. Run the Python program: Use any of this commands

    python main.py
    python3 main.py
    py main.py

Cómo Usar (Español)

Requisitos Previos

  • Python instalado en tu sistema
  • Una cuenta de Spotify
  • ID de cliente y clave secreta de cliente de Spotify (El proceso se explicará más adelante)

Instalación

  1. Clona este repositorio en tu máquina local:

    git clone https://github.com/emlopezr/Folder2Spotify.git
  2. Navega al directorio del proyecto:

    cd Folder2Spotify

Configuración del Entorno Virtual

  1. Instala virtualenv:

    pip install virtualenv
  2. Crea el Entorno Virtual: Utiliza alguno de estos comandos

    python -m venv .venv
    python3 -m venv .venv
    py -m venv .venv

    Esto creará un directorio llamado .venv en la carpeta de tu proyecto que contendrá todos los archivos necesarios para tu entorno virtual.

  3. Activa el Entorno Virtual:

    • Windows: .venv\Scripts\activate
    • Linux / MacOS: source .venv/bin/activate
  4. Instala las Dependencias:

    pip install -r requirements.txt

Uso

  1. Ve al Panel de Control de Spotify para Desarrolladores: https://developer.spotify.com/dashboard

  2. Crea una aplicación para obtener tokens: Screenshot_1 Screenshot_2

  3. Obtén el ID de Cliente y la Clave Secreta de Cliente: Screenshot_3 Screenshot_4 Screenshot_5 Screenshot_1

  4. Crea una carpeta que contenga todas las canciones: Screenshot_2

  5. Ejecuta el programa Python: Utiliza alguno de estos comandos

    python main.py
    python3 main.py
    py main.py

About

Folder2Spotify is a Python tool that converts songs stored in local folders into Spotify playlists. Migrate your old-school method of organizing songs in local folders to the new-age convenience of stream your songs on Spotify.

Resources

Stars

Watchers

Forks

Languages