aboutsummaryrefslogtreecommitdiff
path: root/playlist-get
diff options
context:
space:
mode:
Diffstat (limited to 'playlist-get')
-rwxr-xr-xplaylist-get5
1 files changed, 3 insertions, 2 deletions
diff --git a/playlist-get b/playlist-get
index a6d5b02..f184061 100755
--- a/playlist-get
+++ b/playlist-get
@@ -49,7 +49,8 @@ elif [ "$BASENAME" == "playlist-copy" ]; then
elif [ "$DEST" == "adb" ]; then
APP="adb"
action="push"
- DEST="/storage/emulated/0/Music"
+ #DEST="/storage/emulated/0/Music"
+ DEST="/sdcard/Music"
else
DEST="--to $DEST"
action="copy"
@@ -71,7 +72,7 @@ cat $PLAYLISTS/$PLAYLIST.m3u | while read file; do
$APP $action "$file"
elif [ "$APP" == "adb" ]; then
prefix="/$(dirname "$file")"
- $APP shell mkdir -p "$DEST$prefix" &> /dev/null
+ echo mkdir -p \"$DEST$prefix\" | adb shell
$APP $action "$file" "$DEST$prefix"
else
$APP $action "$file" $DEST