config/shell: Update music directory locations

This commit is contained in:
xerus2000 2020-10-03 11:40:28 +02:00
parent 53ce395cc7
commit 73821cd1ea
1 changed files with 5 additions and 5 deletions

View File

@ -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
}