From f6b7ec492d19d0e12b5882aef6fbd214e289659f Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Wed, 21 Sep 2016 16:53:41 +0200 Subject: [PATCH] clean up mpd --- music/.config/mpd/mpd.conf | 12 ++++++------ music/.ncmpcpp/cover.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/music/.config/mpd/mpd.conf b/music/.config/mpd/mpd.conf index 5532ffb..711acaf 100644 --- a/music/.config/mpd/mpd.conf +++ b/music/.config/mpd/mpd.conf @@ -1,7 +1,6 @@ db_file "~/.config/mpd/database" log_file "~/.config/mpd/log" -# Optional music_directory "/mnt/data/music" playlist_directory "~/.config/mpd/playlists" pid_file "~/.config/mpd/pid" @@ -18,16 +17,17 @@ follow_inside_symlinks "yes" input { plugin "curl" -# proxy "proxy.isp.com:8080" -# proxy_user "user" -# proxy_password "password" } audio_output { type "pulse" name "My Pulse Output" -# server "remote_server" # optional -# sink "remote_server_sink" # optional +} + +audio_output { + type "cgi-output" + name "CGI Output" + command "/home/mrl/projects/mpdcgilog/mpdcgilog.py" } audio_output { diff --git a/music/.ncmpcpp/cover.sh b/music/.ncmpcpp/cover.sh index 6d56ac9..755429a 100755 --- a/music/.ncmpcpp/cover.sh +++ b/music/.ncmpcpp/cover.sh @@ -4,5 +4,5 @@ shopt -s nullglob file="$(mpc --format /mnt/data/music/%file% current)" printf "\e]20;;100x100+1000+1000\a" for c in "${file%/*}/cover."*; do - printf "\e]20;$c;30x30+1+94:op=keep-aspect\a" + printf "\e]20;$c;50x50+1+94:op=keep-aspect\a" done -- 2.20.1