LSD (Linux Spotify Downloader)
LSD (Linux Spotify Downloader) is a command line tool for downloading or rather recording content on Spotify.
Dependencies
- Python 3.6 or higher
- any Linux distribution with PulseAudio as its sound server
- git, ffmpeg and pip
Installation and preparation
-
Clone this git-repository:
git clone https://github.com/DevEmperor/lsd.git
-
install the dependencies (python libraries):
pip3 install -r requirements.txt
-
visit https://developer.spotify.com/dashboard/ and create a new app, then copy the "Client ID" and "Client Secret" and add them into the configuration section of "lsd.py"
Usage
- Run LSD with "python3 lsd.py"
- Enter the path to your output directory. (If you always want to export to the same folder, you can also enter the path in the configuration section of "lsd.py".)
- Open the Spotify Application and wait a few seconds until LSD has initialized the recording interface using PulseAudio
- Now you can play a playlist, audiobook, podcast or individual tracks. Everything is recorded and then separated and tagged fully automatically. LSD only records the audio output from Spotify, but you should still make sure that you don't fast-forward tracks or record multiple times, otherwise the program won't work properly when exporting.
- Close Spotify as soon as you are finished recording.
License
Fastr is under the terms of the Apapche 2.0 license, following all clarifications stated in the license file