From 6d958494ffaf4dbeee9f406c13488e33868f367b Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 13 Jun 2019 17:17:44 -0500 Subject: [PATCH] jptgdp: Correct dependencies, adjust help text --- jptgdp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/jptgdp b/jptgdp index daa3cdc..b5071c3 100755 --- a/jptgdp +++ b/jptgdp @@ -57,15 +57,17 @@ helptext() { cat << EOF Usage: $_name [OPTION] Use youtube-dl and audacious to queue up a playlist given a file of only search -queries. - -f The playlist file to load +queries. The first result found is the one that will be downloaded. Downloaded +files are cached in your Music folder under "JPTGDP Songs" for offline use. + -f The playlist file to load. The file should be plaintext + containing a YouTube search query on each line -c Clears the cache (which can become quite large) -d Download only; don't queue anything up -s Shuffle the playlist -r Start up rofi, if installed, and present a listing of - all .ytp files in the given directory + all .gdp files in the given directory -h Print this help text @@ -115,7 +117,7 @@ playlist() { # Main main() { # Boostrapping and setup - validatedeps basename mktemp || error "Critical dependency $_return was not met" 1 + validatedeps youtube-dl basename || error "Critical dependency $_return was not met" 1 mkdir -p "$_tmpdir" mkdir -p "$_musicdir" trap trapexit EXIT