editing lyrics shouldn't require mpd_music_dir variable to be set
[ncmpcpp.git] / doc / config
blob0d5b575aec5a882c35ffa4c56e883a5de94e1617
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"
12 #mpd_port = "6600"
14 #mpd_music_dir = ""
16 #mpd_connection_timeout = "5"
18 #mpd_crossfade_time = "5"
20 ##### music visualizer #####
22 ## Note: In order to make music visualizer work you'll
23 ## need to use mpd fifo output, whose format parameter
24 ## has to be set to 44100:16:1. Example configuration:
25 ## (it has to be put into mpd.conf)
27 ## audio_output {
28 ##        type            "fifo"
29 ##        name            "My FIFO"
30 ##        path            "/tmp/mpd.fifo"
31 ##        format          "44100:16:1"
32 ## }
35 #visualizer_fifo_path = ""
38 ## Note: To enable spectrum frequency visualization
39 ## you need to compile ncmpcpp with fftw3 support.
42 #visualizer_type = "wave" (spectrum/wave)
44 ##### system encoding #####
46 ## ncmpcpp should detect your charset encoding
47 ## but if it failed to do so, you can specify
48 ## charset encoding you are using here.
50 ## Note: You can see whether your ncmpcpp build
51 ## supports charset detection by checking output
52 ## of `ncmpcpp --version`.
54 ## Note: Since MPD uses utf8 by default, setting
55 ## this option makes sense only if your encoding
56 ## is different.
59 #system_encoding = ""
61 ##### delays #####
63 ## delay after playlist highlighting will be disabled (0 = don't disable)
65 #playlist_disable_highlight_delay = "5"
67 ## defines how long various messages are supposed to be visible
69 #message_delay_time = "4"
71 ##### song format #####
73 ## for song format you can use:
75 ## %l - length
76 ## %f - filename
77 ## %D - directory
78 ## %a - artist
79 ## %t - title
80 ## %b - album
81 ## %y - year
82 ## %n - track number (01/12 -> 01)
83 ## %N - full track info (01/12 -> 01/12)
84 ## %g - genre
85 ## %c - composer
86 ## %p - performer
87 ## %d - disc
88 ## %C - comment
89 ## $R - begin right alignment
91 ## you can also put them in { } and then it will be displayed
92 ## only if all requested values are available and/or define alternate
93 ## value with { }|{ } eg. {%a - %t}|{%f}
95 ## Note: Format that is similar to "%a - %t" (i.e. without any additional
96 ## braces) is equal to "{%a - %t}", so if one of the tags is missing,
97 ## you'll get nothing.
99 ## text can also have different color than the main window has,
100 ## eg. if you want length to be green, write $3%l$9
102 ## available values:
104 ## - 0 - default window color (discards all other colors)
105 ## - 1 - black
106 ## - 2 - red
107 ## - 3 - green
108 ## - 4 - yellow
109 ## - 5 - blue
110 ## - 6 - magenta
111 ## - 7 - cyan
112 ## - 8 - white
113 ## - 9 - end of current color
115 ## Note: colors can be nested.
118 #song_list_format = "{%a - }{%t}|{$8%f$9}$R{$3(%l)$9}"
120 #song_status_format = "{{%a{ \"%b\"{ (%y)}} - }{%t}}|{%f}"
122 #song_library_format = "{%n - }{%t}|{%f}"
124 #tag_editor_album_format = "{(%y) }%b"
127 ## Note: Below variables are for alternative version of user's interface.
128 ## Their syntax supports all tags and colors listed above plus some extra
129 ## markers used for text attributes. They are followed by character '$'.
130 ## After that you can put:
132 ## - b - bold text
133 ## - u - underline text
134 ## - r - reverse colors
135 ## - a - use alternative character set
137 ## If you don't want to use an attribute anymore, just put it again, but
138 ## this time insert character '/' between '$' and attribute character,
139 ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename
140 ## with reversed colors.
143 #alternative_header_first_line_format = "$b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b"
145 #alternative_header_second_line_format = "{{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}"
148 ## Note: Below variables also supports
149 ## text attributes listed above.
152 #now_playing_prefix = "$b"
154 #now_playing_suffix = "$/b"
156 #browser_playlist_prefix = "$2playlist$9 "
158 #selected_item_prefix = "$6"
160 #selected_item_suffix = "$9"
162 ## colors are not supported for below variable
164 #song_window_title_format = "{%a - }{%t}|{%f}"
166 ##### columns settings #####
168 ## syntax of song columns list format is "column column etc."
170 ## - syntax for each column is:
172 ## (width of column)[column's color]{displayed tag}
174 ## Note: Width is by default in %, if you want a column to
175 ## have fixed size, add 'f' after the value, e.g. (10)[white]{a}
176 ## will be the column that take 10% of screen (so the real column's
177 ## width will depend on actual screen size), whereas (10f)[white]{a}
178 ## will take 10 terminal cells, no matter how wide the screen is.
180 ## - color is optional (if you want the default one, type [])
182 ## Note: You can give a column additional attributes by putting appropriate
183 ## character after displayed tag character. Available attributes are:
185 ## - r - column will be right aligned
186 ## - E - if tag is empty, empty tag marker won't be displayed
188 ## E.g. {lr} will give you right aligned column of lengths.
191 #song_columns_list_format = "(7f)[green]{l} (25)[cyan]{a} (40)[]{t} (30)[red]{b}"
193 ##### various settings #####
196 ## Note: Custom command that will be executed each
197 ## time song changes. Useful for notifications etc.
199 ## Attention: It doesn't support song format anymore.
200 ## Use `ncmpcpp --now-playing SONG_FORMAT` instead.
202 #execute_on_song_change = ""
204 #playlist_show_remaining_time = "no"
206 #playlist_display_mode = "classic" (classic/columns)
208 #browser_display_mode = "classic" (classic/columns)
210 #search_engine_display_mode = "classic" (classic/columns)
212 #incremental_seeking = "yes"
214 #seek_time = "1"
216 #autocenter_mode = "no"
218 #progressbar_look = "=>"
220 #default_place_to_search_in = "database" (database/playlist)
222 #user_interface = "classic" (classic/alternative)
224 #media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
226 #default_find_mode = "wrapped" (wrapped/normal)
228 #default_space_mode = "add" (add/select)
230 #default_tag_editor_left_col = "albums" (albums/dirs)
232 #default_tag_editor_pattern = "%n - %t"
234 #header_visibility = "yes"
236 #statusbar_visibility = "yes"
238 #header_text_scrolling = "yes"
240 #fancy_scrolling = "yes"
242 #cyclic_scrolling = "no"
244 #lines_scrolled = "2"
246 #follow_now_playing_lyrics = "no"
248 #ncmpc_like_songs_adding = "no" (enabled - add/remove, disabled - always add)
250 #show_hidden_files_in_local_browser = "no"
252 #display_screens_numbers_on_start = "yes"
254 #jump_to_now_playing_song_at_start = "yes"
256 #ask_before_clearing_main_playlist = "no"
258 #clock_display_seconds = "no"
260 #display_bitrate = "no"
262 #display_remaining_time = "no"
264 #regular_expressions = "basic" (basic/extended)
267 ## Note: If below is enabled, ncmpcpp will ignore leading
268 ## "The" word while sorting items in browser, tags in
269 ## media library, etc.
271 #ignore_leading_the = "no"
273 #block_search_constraints_change_if_items_found = "yes"
275 #mouse_support = "yes"
277 #empty_tag_marker = "<empty>"
279 #enable_window_title = "yes"
282 ## Note: These triggers will allow you to phisically remove
283 ## files and directories from your hdd in using ncmpcpp's
284 ## browser screen.
287 #allow_physical_files_deletion = "no"
289 #allow_physical_directories_deletion = "no"
291 ##### lyrics support #####
293 ## supported lyrics databases:
295 ## - 1 - lyricsplugin.com
298 #lyrics_database = "1"
300 #external_editor = ""
302 #use_console_editor = "no" (set to yes, if your editor is console app)
304 ##### colors definitions #####
306 #colors_enabled = "yes"
308 #empty_tag_color = "cyan"
310 #header_window_color = "default"
312 #volume_color = "default"
314 #state_line_color = "default"
316 #state_flags_color = "default"
318 #main_window_color = "yellow"
320 #color1 = "white"
322 #color2 = "green"
324 #main_window_highlight_color = "yellow"
326 #progressbar_color = "default"
328 #statusbar_color = "default"
330 #alternative_ui_separator_color = "black"
332 #active_column_color = "red"
334 #window_border_color = "green"
336 #active_window_border = "red"