diff options
-rwxr-xr-x | playlist-get | 4 |
1 files changed, 3 insertions, 1 deletions
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 |