summaryrefslogtreecommitdiff
path: root/songgrab
diff options
context:
space:
mode:
Diffstat (limited to 'songgrab')
-rwxr-xr-xsonggrab14
1 files changed, 14 insertions, 0 deletions
diff --git a/songgrab b/songgrab
index 879baac..82040e4 100755
--- a/songgrab
+++ b/songgrab
@@ -12,6 +12,19 @@ for i in $@; do
[ -n "$GETTRACKNUM" ] && TRACKNUM="$i" && unset GETTRACKNUM
[ -n "$GETYEAR" ] && YEAR="$i" && unset GETYEAR
case "$i" in
+ "-h")
+ printf "Grabs music (either individual songs or albums) and formats it.\n"
+ printf "\n"
+ printf " -s | downloads and formats a single song.\n"
+ printf " -l | downloads and formats a whole album.\n"
+ printf " -p | downloads and formats an album (via a playlist).\n"
+ printf " -u | the url to download.\n"
+ printf " -a | the artist name (to tag every song with).\n"
+ printf " -A | the album name (to tag every song with).\n"
+ printf " -t | the title of the song (if downloading a single song).\n"
+ printf " -T | the number of the track in its album (if downloading a single song).\n"
+ printf " -y | the year of release.\n"
+ exit 0 ;;
"-s")
SPLITTER_SELECTION="s"
;;
@@ -45,6 +58,7 @@ done
ARTIST=`echo $ARTIST | sed 's/^ //'`
ALBUM=`echo $ALBUM | sed 's/^ //'`
TITLE=`echo $TITLE | sed 's/^ //'`
+
printf "Received Tags:
Artist: $ARTIST
Album: $ALBUM