From 33a9e66447ce8a808669f879ccadadd04e0c00aa Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 18 May 2014 22:17:09 -0300 Subject: Fixing playlist-get --- playlist-get | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '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 -- cgit v1.2.3