From 032f0687cc64351c84e823f07dd3a69e0765837d Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sun, 17 Apr 2022 12:49:19 -0700 Subject: [PATCH] Add basic SpotDL docs --- docs/SpotDL.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docs/SpotDL.md diff --git a/docs/SpotDL.md b/docs/SpotDL.md new file mode 100644 index 0000000..5cdd37a --- /dev/null +++ b/docs/SpotDL.md @@ -0,0 +1,21 @@ +# Basic Usage +To download a track, album, or artist from Spotify, use: +`spotdl ` + +This is non-interactive and works programmatically. + +# Music Library Integration +To make updating my library easier, each "Artist" folder has a file called `spot.txt` which contains only the Spotify URL for that artist. This makes it possible to run a loop similar to the following: + +```sh +cd /path/to/music/library/artists +for artist in */; do + cd "$(pwd)/$artist" && + spotdl $(cat spot.txt) && + cd .. +done +``` + +# Links +[coritsky/spotdl on Dockerhub](https://hub.docker.com/r/coritsky/spotdl) +[Spotdl on GitHub](https://github.com/spotDL/spotify-downloader/) \ No newline at end of file