From: Silvio Rhatto Date: Mon, 19 May 2014 01:17:09 +0000 (-0300) Subject: Fixing playlist-get X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=33a9e66447ce8a808669f879ccadadd04e0c00aa;p=scripts.git Fixing playlist-get --- diff --git a/playlist-get b/playlist-get index 5aea297..170f6be 100755 --- a/playlist-get +++ b/playlist-get @@ -57,7 +57,9 @@ cat $PLAYLISTS/$PLAYLIST.m3u | while read file; do prefix="/$(dirname "$file")" mkdir -p "$DEST$prefix" $APP $action "$file" "$DEST$prefix" - else + elif [ "$action" == "get" ]; then $APP $action "$file" + else + $APP $action "$file" $DEST fi done