clean up mpd
authorMart Lubbers <mart@martlubbers.net>
Wed, 21 Sep 2016 14:53:41 +0000 (16:53 +0200)
committerMart Lubbers <mart@martlubbers.net>
Wed, 21 Sep 2016 14:53:41 +0000 (16:53 +0200)
music/.config/mpd/mpd.conf
music/.ncmpcpp/cover.sh

index 5532ffb..711acaf 100644 (file)
@@ -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 {
index 6d56ac9..755429a 100755 (executable)
@@ -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