1 ####################################################
2 ## this is example configuration file, copy it to ##
3 ## ~/.ncmpcpp/config and set up your preferences ##
4 ####################################################
6 ##### connection settings #####
8 ## set it in order to make tag editor and renaming files work properly
10 #mpd_host = "localhost"
16 #mpd_connection_timeout = "5"
18 #mpd_crossfade_time = "5"
20 #mpd_communication_mode = "polling" (polling/notifications)
22 ##### music visualizer #####
24 ## Note: In order to make music visualizer work you'll
25 ## need to use mpd fifo output, whose format parameter
26 ## has to be set to 44100:16:1. Example configuration:
27 ## (it has to be put into mpd.conf)
32 ## path "/tmp/mpd.fifo"
33 ## format "44100:16:1"
37 #visualizer_fifo_path = ""
40 ## Note: Below parameter is needed for ncmpcpp
41 ## to determine which output provides data for
42 ## visualizer and thus allow syncing between
43 ## visualization and sound as currently there
44 ## are some problems with it.
47 #visualizer_output_name = ""
50 ## Note: Below parameter defines how often ncmpcpp
51 ## has to "synchronize" visualizer and audio outputs.
52 ## 30 seconds is optimal value, but if you experience
53 ## synchronization problems, set it to lower value.
54 ## Keep in mind that sane values start with >=10.
57 #visualizer_sync_interval = "30"
60 ## Note: To enable spectrum frequency visualization
61 ## you need to compile ncmpcpp with fftw3 support.
64 #visualizer_type = "wave" (spectrum/wave)
66 ##### system encoding #####
68 ## ncmpcpp should detect your charset encoding
69 ## but if it failed to do so, you can specify
70 ## charset encoding you are using here.
72 ## Note: You can see whether your ncmpcpp build
73 ## supports charset detection by checking output
74 ## of `ncmpcpp --version`.
76 ## Note: Since MPD uses utf8 by default, setting
77 ## this option makes sense only if your encoding
85 ## delay after playlist highlighting will be disabled (0 = don't disable)
87 #playlist_disable_highlight_delay = "5"
89 ## defines how long various messages are supposed to be visible
91 #message_delay_time = "4"
93 ##### song format #####
95 ## for song format you can use:
105 ## %n - track number (01/12 -> 01)
106 ## %N - full track info (01/12 -> 01/12)
112 ## $R - begin right alignment
114 ## you can also put them in { } and then it will be displayed
115 ## only if all requested values are available and/or define alternate
116 ## value with { }|{ } eg. {%a - %t}|{%f}
118 ## Note: Format that is similar to "%a - %t" (i.e. without any additional
119 ## braces) is equal to "{%a - %t}", so if one of the tags is missing,
120 ## you'll get nothing.
122 ## text can also have different color than the main window has,
123 ## eg. if you want length to be green, write $3%l$9
127 ## - 0 - default window color (discards all other colors)
136 ## - 9 - end of current color
138 ## Note: colors can be nested.
141 #song_list_format = "{%a - }{%t}|{$8%f$9}$R{$3(%l)$9}"
143 #song_status_format = "{{%a{ \"%b\"{ (%y)}} - }{%t}}|{%f}"
145 #song_library_format = "{%n - }{%t}|{%f}"
147 #tag_editor_album_format = "{(%y) }%b"
150 ## Note: Below variables are for alternative version of user's interface.
151 ## Their syntax supports all tags and colors listed above plus some extra
152 ## markers used for text attributes. They are followed by character '$'.
153 ## After that you can put:
156 ## - u - underline text
157 ## - r - reverse colors
158 ## - a - use alternative character set
160 ## If you don't want to use an attribute anymore, just put it again, but
161 ## this time insert character '/' between '$' and attribute character,
162 ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename
163 ## with reversed colors.
166 #alternative_header_first_line_format = "$b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b"
168 #alternative_header_second_line_format = "{{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}"
171 ## Note: Below variables also supports
172 ## text attributes listed above.
175 #now_playing_prefix = "$b"
177 #now_playing_suffix = "$/b"
179 #browser_playlist_prefix = "$2playlist$9 "
181 #selected_item_prefix = "$6"
183 #selected_item_suffix = "$9"
185 ## colors are not supported for below variable
187 #song_window_title_format = "{%a - }{%t}|{%f}"
189 ##### columns settings #####
191 ## syntax of song columns list format is "column column etc."
193 ## - syntax for each column is:
195 ## (width of column)[column's color]{displayed tag}
197 ## Note: Width is by default in %, if you want a column to
198 ## have fixed size, add 'f' after the value, e.g. (10)[white]{a}
199 ## will be the column that take 10% of screen (so the real column's
200 ## width will depend on actual screen size), whereas (10f)[white]{a}
201 ## will take 10 terminal cells, no matter how wide the screen is.
203 ## - color is optional (if you want the default one, type [])
205 ## Note: You can give a column additional attributes by putting appropriate
206 ## character after displayed tag character. Available attributes are:
208 ## - r - column will be right aligned
209 ## - E - if tag is empty, empty tag marker won't be displayed
211 ## E.g. {lr} will give you right aligned column of lengths.
214 #song_columns_list_format = "(7f)[green]{l} (25)[cyan]{a} (40)[]{t} (30)[red]{b}"
216 ##### various settings #####
219 ## Note: Custom command that will be executed each
220 ## time song changes. Useful for notifications etc.
222 ## Attention: It doesn't support song format anymore.
223 ## Use `ncmpcpp --now-playing SONG_FORMAT` instead.
225 #execute_on_song_change = ""
227 #playlist_show_remaining_time = "no"
229 #playlist_display_mode = "classic" (classic/columns)
231 #browser_display_mode = "classic" (classic/columns)
233 #search_engine_display_mode = "classic" (classic/columns)
235 #discard_colors_if_item_is_selected = "yes"
237 #incremental_seeking = "yes"
241 #autocenter_mode = "no"
243 #centered_cursor = "no"
245 #progressbar_look = "=>"
247 #default_place_to_search_in = "database" (database/playlist)
249 #user_interface = "classic" (classic/alternative)
251 #media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
253 #default_find_mode = "wrapped" (wrapped/normal)
255 #default_space_mode = "add" (add/select)
257 #default_tag_editor_left_col = "albums" (albums/dirs)
259 #default_tag_editor_pattern = "%n - %t"
261 #header_visibility = "yes"
263 #statusbar_visibility = "yes"
265 #header_text_scrolling = "yes"
267 #fancy_scrolling = "yes"
269 #cyclic_scrolling = "no"
271 #lines_scrolled = "2"
273 #follow_now_playing_lyrics = "no"
275 #ncmpc_like_songs_adding = "no" (enabled - add/remove, disabled - always add)
277 #show_hidden_files_in_local_browser = "no"
279 #display_screens_numbers_on_start = "yes"
282 ## How shall key_screen_switcher work?
284 ## - "previous" - switch between current and last used screen
285 ## - "sequence: 2 -> 9 -> 5" - switch between given sequence of screens.
287 ## Screen numbers you can use after 'sequence' keyword are:
292 ## - 4 - search engine
293 ## - 5 - media library
294 ## - 6 - playlist editor
300 ## As you can see, above example will switch between
301 ## playlist, visualizer and media library screens.
303 #screen_switcher_mode = "sequence: 2 -> 3"
306 ## Note: You can define startup screen for ncmpcpp
307 ## by choosing screen number from the list above.
309 #startup_screen = "2"
311 #jump_to_now_playing_song_at_start = "yes"
313 #ask_before_clearing_main_playlist = "no"
315 #clock_display_seconds = "no"
317 #display_bitrate = "no"
319 #display_remaining_time = "no"
321 #regular_expressions = "basic" (basic/extended)
324 ## Note: If below is enabled, ncmpcpp will ignore leading
325 ## "The" word while sorting items in browser, tags in
326 ## media library, etc.
328 #ignore_leading_the = "no"
330 #block_search_constraints_change_if_items_found = "yes"
332 #mouse_support = "yes"
334 #mouse_list_scroll_whole_page = "yes"
336 #empty_tag_marker = "<empty>"
338 #tag_editor_extended_numeration = "no"
340 #media_library_display_date = "yes"
342 #media_library_disable_two_column_mode = "no"
344 #enable_window_title = "yes"
347 ## Note: You can choose default search mode for search
348 ## engine. Available modes are:
350 ## - 1 - use mpd built-in searching (no regexes, pattern matching)
351 ## - 2 - use ncmpcpp searching (pattern matching with support for regexes,
352 ## but if your mpd is on a remote machine, downloading big database
353 ## to process it can take a while
354 ## - 3 - match only exact values (this mode uses mpd function for searching
355 ## in database and local one for searching in current playlist)
358 #search_engine_default_search_mode = "1"
361 ## Note: These triggers will allow you to phisically remove
362 ## files and directories from your hdd using ncmpcpp's
366 #allow_physical_files_deletion = "no"
368 #allow_physical_directories_deletion = "no"
370 ##### lyrics support #####
372 ## supported lyrics databases:
374 ## - 1 - lyricsplugin.com
377 #lyrics_database = "1"
379 #external_editor = ""
381 #use_console_editor = "no" (set to yes, if your editor is console app)
383 ##### colors definitions #####
385 #colors_enabled = "yes"
387 #empty_tag_color = "cyan"
389 #header_window_color = "default"
391 #volume_color = "default"
393 #state_line_color = "default"
395 #state_flags_color = "default"
397 #main_window_color = "yellow"
403 #main_window_highlight_color = "yellow"
405 #progressbar_color = "default"
407 #statusbar_color = "default"
409 #alternative_ui_separator_color = "black"
411 #active_column_color = "red"
413 #window_border_color = "green"
415 #active_window_border = "red"