diff options
-rwxr-xr-x | playlist-get | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/playlist-get b/playlist-get index 6c4dd51..5f69e8a 100755 --- a/playlist-get +++ b/playlist-get @@ -71,7 +71,8 @@ cat $PLAYLISTS/$PLAYLIST.m3u | while read file; do $APP $action "$file" elif [ "$action" == "adb" ]; then prefix="/$(dirname "$file")" - $APP push "$file" "$DEST$prefix" + $APP shell mkdir -p "$DEST$prefix" &> /dev/null + $APP push "$file" "$DEST$prefix" else $APP $action "$file" $DEST fi |