bin/mp: mpd adjustments
This commit is contained in:
parent
b73b3b32cd
commit
76f8c36f57
|
@ -7,7 +7,7 @@
|
|||
MPD_CONF=${XDG_CONFIG_HOME:-$HOME/.config}/mpd/mpd.conf
|
||||
MUSIC="${MUSIC:-$(cat $MPD_CONF | grep music_directory | cut -d'"' -f2 | sed "s|~|$HOME|")}"
|
||||
PLAYLISTS="$(cat $MPD_CONF | grep playlist_directory | cut -d'"' -f2 | sed "s|~|$HOME|" || echo "$MUSIC/Playlists")"
|
||||
LINKS="$MUSIC/links"
|
||||
LINKS="$MUSIC/.links"
|
||||
if test "$1" = "-r"
|
||||
then shift
|
||||
test "$1" = "-v" && verbose=-v && set -x && shift
|
||||
|
|
|
@ -5,3 +5,8 @@ cd $XDG_CONFIG_HOME/mpd
|
|||
mv *template ..
|
||||
mv ../*template .
|
||||
systemctl --user restart mpd
|
||||
# https://mpd.readthedocs.io/en/latest/user.html#cross-fading
|
||||
mpc crossfade 4
|
||||
mpc mixrampdelay 1
|
||||
mpc mixrampdb -17
|
||||
#mpc mixramp_analyzer "yes"
|
||||
|
|
Loading…
Reference in New Issue