Git Product home page Git Product logo

spotify2mp3's Introduction

Spotify2mp3

This script allows you (more or less easily) to download your favorite Spotify playlist.

Setup

  1. This script works thanks to spotdl. Make sure it is installed.
  2. You will then need to define the playlists, albums, songs, etc., to download. For that, the two text files must be modified.

playlists.txt

This file allows you to download playlists (or other things) by organizing them into folders (unlike 2DL.txt). The syntax is as follows:

FolderName;SpotifyLink
#For example:
PlugNRock;https://open.spotify.com/playlist/5XkjIzp66gB9nh7N6QjFbl

The script will first create the folder and then place all the songs from the playlist/album into it. There is no limit to folders, so enjoy :)

2DL.txt

2DL.txt (ToDownload.txt if you haven't understood) specifies items to download without sorting. Everything placed here will be downloaded into the "Music" folder (without duplicates). Links can be added in any order; they will all be processed at some point. Lines starting with "#" are considered comments and are not read (like the documentation in general). Here's an example with a single link; for the comprehensive example, check the file directly.

#Outer Wilds (Original Soundtrack)
https://open.spotify.com/album/1U0A6RPNJB05PtuBcaTM7o

Operation

Before running the script, you need to define $musicDir (first line) to specify the folder where the songs will be pirated downloaded. The script will then create the appropriate folders and place the right music in them (not good music if the text files aren't mine). Spotdl will handle tagging MP3s based on Spotify and downloading MP3s from YouTube Music. When everything is downloaded, the script will remove any songs that appears in the Playlists folder from the Music folder. That way you only have one of each file.

$musicDir
|-- Playlists
|   |-- Folder1
|   |   |-- manyFiles.mp3
|   |
|   |-- CringeMusic
|       |-- manyFiles.mp3
|
|-- Music
    |-- manyFiles.mp3

spotify2mp3's People

Contributors

simongendre avatar

Watchers

 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.