From 73821cd1ea1eaab3ca01c43c3c1a1029407618a9 Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Sat, 3 Oct 2020 11:40:28 +0200 Subject: [PATCH] config/shell: Update music directory locations --- .config/shell/music | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/shell/music b/.config/shell/music index 4592ab4..526e446 100644 --- a/.config/shell/music +++ b/.config/shell/music @@ -1,6 +1,6 @@ -MUSIC="/home/janek/daten/music" -AUDIO="/home/janek/daten/audio" -MUSIC_RAW="$audio_folder/songs/_raw" +MUSIC="$HOME/daten/music" +AUDIO="$HOME/daten/audio" +MUSIC_RAW="$AUDIO/songs/_raw" edpl() { $EDITOR $(find $MUSIC/Playlists -iname "$1\.*" | grep . || find $MUSIC/Playlists -iname "$1*") @@ -11,7 +11,7 @@ makePls() { i=1; while test $i -le ${1:-9}; do makePl "${2:-Ω}$i" "empty$i"; ((i++)); done } fixPl() { - sed -i 's/\/storage\/AAAA-AAAA\/musik/../g' * + sed -i 's/.*\/musi[kc]/../g' * } plCd() { dir=${2:-cd} @@ -24,7 +24,7 @@ findsongs() { } addmix() { - mv -v "$1.cue" "$audio_folder/recordings/cues" + mv -v "$1.cue" "$AUDIO/recordings/cues" addsong "$1.flac" Mixes }