Open itgoyo opened 5 years ago
mpd_host = localhost mpd_port = 6600 mpd_crossfade_time = 2 visualizer_fifo_path = /tmp/mpd.fifo visualizer_output_name = "Visualizer feed" visualizer_in_stereo = no
visualizer_sync_interval = 30 visualizer_type = spectrum visualizer_look = ●┃ visualizer_color = cyan, green, yellow, magenta, red
song_list_format = "{{%a - %t}|{%f}}{$R%l}"
song_status_format = "{{%a{ $2//$9 %b{, %y}} $2//$9 }{%t$/b}}|{$b%f$/b}"
song_library_format = {{%a - %t} (%b)}|{%f}
now_playing_prefix = "$5" now_playing_suffix = "$9"
playlist_display_mode = classic
autocenter_mode = yes
progressbar_look = "─╼ "
header_visibility = no statusbar_visibility = no titles_visibility = no
follow_now_playing_lyrics = no
enable_window_title = no external_editor = nano colors_enabled = yes empty_tag_color = red header_window_color = yellow volume_color = yellow state_line_color = magenta state_flags_color = yellow main_window_color = default color1 = red color2 = red main_window_highlight_color = white progressbar_color = black progressbar_elapsed_color = red statusbar_color = default alternative_ui_separator_color = magenta active_column_color = red window_border_color = yellow active_window_border = magenta
execute_on_song_change = notify-send "Now Playing ♫" "$(mpc current)"
ncmpcpp_directory = "~/.ncmpcpp" mpd_host = "localhost" mpd_port = "6600" mpd_music_dir = "~/Music" mpd_connection_timeout = 5
user_interface = "alternative" alternative_header_first_line_format = "$(white)─┤ $b$(magenta)%a$(end)$/b ├─$(end)" alternative_header_second_line_format = "$(16)%t (%y)$(end)" alternative_ui_separator_color = "cyan"
song_columns_list_format = "$L (10)[white]{n} $1│$7 (20)[magenta]{a} $1│$7 (20)[white]{b} $1│$7 (20)[magenta]{t} $1│$7 (20)[white]{l}" now_playing_prefix = "$b" centered_cursor = "no" cyclic_scrolling = "yes" mouse_list_scroll_whole_page = "no"
autocenter_mode = "yes" display_bitrate = "yes" header_visibility = "yes" statusbar_visibility = "yes" progressbar_look = "▃▃▃"
visualizer_output_name = "FIFO" visualizer_in_stereo = "no" visualizer_fifo_path = "/tmp/mpd.fifo" visualizer_sync_interval = "10" visualizer_type = "spectrum" visualizer_look = "▋▋"
color1 = "white" color2 = "red" discard_colors_if_item_is_selected = "yes" main_window_color = "white" header_window_color = "4" progressbar_color = "cyan" statusbar_color = "red" volume_color = "4" window_border_color = "white" active_window_border = "4"
db_file "~/.config/mpd/database" auto_update "yes" log_file "~/.config/mpd/log" music_directory "~/Music" playlist_directory "~/.config/mpd/playlists" pid_file "~/.config/mpd/pid" state_file "~/.config/mpd/state" sticker_file "~/.config/mpd/sticker.sql"
bind_to_address "127.0.0.1" restore_paused "yes" max_output_buffer_size "16384"
audio_output { type "alsa" name "ALSA" device "hw:0,0" # optional mixer_type "hardware" # optional mixer_device "default" # optional mixer_control "Master" # optional 注意此处 mixer_index "0" # optional }
audio_output { type "fifo" name "toggle_visualizer" path "/tmp/mpd.fifo" format "44100:16:2" }
ncmpcpp快捷键大全:https://pkgbuild.com/~jelle/ncmpcpp/
http://dotshare.it/ 配置分享
sudo systemctl status mpd.service
If it shows the service enabled and active, then you need to stop it.
sudo systemctl stop mpd.service
sudo systemctl disable mpd.service