config/shell: Update music directory locations
This commit is contained in:
parent
53ce395cc7
commit
73821cd1ea
|
@ -1,6 +1,6 @@
|
||||||
MUSIC="/home/janek/daten/music"
|
MUSIC="$HOME/daten/music"
|
||||||
AUDIO="/home/janek/daten/audio"
|
AUDIO="$HOME/daten/audio"
|
||||||
MUSIC_RAW="$audio_folder/songs/_raw"
|
MUSIC_RAW="$AUDIO/songs/_raw"
|
||||||
|
|
||||||
edpl() {
|
edpl() {
|
||||||
$EDITOR $(find $MUSIC/Playlists -iname "$1\.*" | grep . || find $MUSIC/Playlists -iname "$1*")
|
$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
|
i=1; while test $i -le ${1:-9}; do makePl "${2:-Ω}$i" "empty$i"; ((i++)); done
|
||||||
}
|
}
|
||||||
fixPl() {
|
fixPl() {
|
||||||
sed -i 's/\/storage\/AAAA-AAAA\/musik/../g' *
|
sed -i 's/.*\/musi[kc]/../g' *
|
||||||
}
|
}
|
||||||
plCd() {
|
plCd() {
|
||||||
dir=${2:-cd}
|
dir=${2:-cd}
|
||||||
|
@ -24,7 +24,7 @@ findsongs() {
|
||||||
}
|
}
|
||||||
|
|
||||||
addmix() {
|
addmix() {
|
||||||
mv -v "$1.cue" "$audio_folder/recordings/cues"
|
mv -v "$1.cue" "$AUDIO/recordings/cues"
|
||||||
addsong "$1.flac" Mixes
|
addsong "$1.flac" Mixes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue