diff --git a/.local/bin/scripts/mp b/.local/bin/scripts/mp index 2a9ac8b..14bd9ce 100755 --- a/.local/bin/scripts/mp +++ b/.local/bin/scripts/mp @@ -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 diff --git a/.local/bin/scripts/mpdr b/.local/bin/scripts/mpdr index cefaebd..4f57d85 100755 --- a/.local/bin/scripts/mpdr +++ b/.local/bin/scripts/mpdr @@ -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"