use Info::Tags in tag editor
[ncmpcpp.git] / doc / config
blob26177b9608ea173a50b334daf6fd876fafdb93ad
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 #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)
29 ## audio_output {
30 ##        type            "fifo"
31 ##        name            "My FIFO"
32 ##        path            "/tmp/mpd.fifo"
33 ##        format          "44100:16:1"
34 ## }
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: To enable spectrum frequency visualization
51 ## you need to compile ncmpcpp with fftw3 support.
54 #visualizer_type = "wave" (spectrum/wave)
56 ##### system encoding #####
58 ## ncmpcpp should detect your charset encoding
59 ## but if it failed to do so, you can specify
60 ## charset encoding you are using here.
62 ## Note: You can see whether your ncmpcpp build
63 ## supports charset detection by checking output
64 ## of `ncmpcpp --version`.
66 ## Note: Since MPD uses utf8 by default, setting
67 ## this option makes sense only if your encoding
68 ## is different.
71 #system_encoding = ""
73 ##### delays #####
75 ## delay after playlist highlighting will be disabled (0 = don't disable)
77 #playlist_disable_highlight_delay = "5"
79 ## defines how long various messages are supposed to be visible
81 #message_delay_time = "4"
83 ##### song format #####
85 ## for song format you can use:
87 ## %l - length
88 ## %f - filename
89 ## %D - directory
90 ## %a - artist
91 ## %A - album artist
92 ## %t - title
93 ## %b - album
94 ## %y - year
95 ## %n - track number (01/12 -> 01)
96 ## %N - full track info (01/12 -> 01/12)
97 ## %g - genre
98 ## %c - composer
99 ## %p - performer
100 ## %d - disc
101 ## %C - comment
102 ## $R - begin right alignment
104 ## you can also put them in { } and then it will be displayed
105 ## only if all requested values are available and/or define alternate
106 ## value with { }|{ } eg. {%a - %t}|{%f}
108 ## Note: Format that is similar to "%a - %t" (i.e. without any additional
109 ## braces) is equal to "{%a - %t}", so if one of the tags is missing,
110 ## you'll get nothing.
112 ## text can also have different color than the main window has,
113 ## eg. if you want length to be green, write $3%l$9
115 ## available values:
117 ## - 0 - default window color (discards all other colors)
118 ## - 1 - black
119 ## - 2 - red
120 ## - 3 - green
121 ## - 4 - yellow
122 ## - 5 - blue
123 ## - 6 - magenta
124 ## - 7 - cyan
125 ## - 8 - white
126 ## - 9 - end of current color
128 ## Note: colors can be nested.
131 #song_list_format = "{%a - }{%t}|{$8%f$9}$R{$3(%l)$9}"
133 #song_status_format = "{{%a{ \"%b\"{ (%y)}} - }{%t}}|{%f}"
135 #song_library_format = "{%n - }{%t}|{%f}"
137 #tag_editor_album_format = "{(%y) }%b"
140 ## Note: Below variables are for alternative version of user's interface.
141 ## Their syntax supports all tags and colors listed above plus some extra
142 ## markers used for text attributes. They are followed by character '$'.
143 ## After that you can put:
145 ## - b - bold text
146 ## - u - underline text
147 ## - r - reverse colors
148 ## - a - use alternative character set
150 ## If you don't want to use an attribute anymore, just put it again, but
151 ## this time insert character '/' between '$' and attribute character,
152 ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename
153 ## with reversed colors.
156 #alternative_header_first_line_format = "$b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b"
158 #alternative_header_second_line_format = "{{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}"
161 ## Note: Below variables also supports
162 ## text attributes listed above.
165 #now_playing_prefix = "$b"
167 #now_playing_suffix = "$/b"
169 #browser_playlist_prefix = "$2playlist$9 "
171 #selected_item_prefix = "$6"
173 #selected_item_suffix = "$9"
175 ## colors are not supported for below variable
177 #song_window_title_format = "{%a - }{%t}|{%f}"
179 ##### columns settings #####
181 ## syntax of song columns list format is "column column etc."
183 ## - syntax for each column is:
185 ## (width of column)[column's color]{displayed tag}
187 ## Note: Width is by default in %, if you want a column to
188 ## have fixed size, add 'f' after the value, e.g. (10)[white]{a}
189 ## will be the column that take 10% of screen (so the real column's
190 ## width will depend on actual screen size), whereas (10f)[white]{a}
191 ## will take 10 terminal cells, no matter how wide the screen is.
193 ## - color is optional (if you want the default one, type [])
195 ## Note: You can give a column additional attributes by putting appropriate
196 ## character after displayed tag character. Available attributes are:
198 ## - r - column will be right aligned
199 ## - E - if tag is empty, empty tag marker won't be displayed
201 ## E.g. {lr} will give you right aligned column of lengths.
204 #song_columns_list_format = "(7f)[green]{l} (25)[cyan]{a} (40)[]{t} (30)[red]{b}"
206 ##### various settings #####
209 ## Note: Custom command that will be executed each
210 ## time song changes. Useful for notifications etc.
212 ## Attention: It doesn't support song format anymore.
213 ## Use `ncmpcpp --now-playing SONG_FORMAT` instead.
215 #execute_on_song_change = ""
217 #playlist_show_remaining_time = "no"
219 #playlist_display_mode = "classic" (classic/columns)
221 #browser_display_mode = "classic" (classic/columns)
223 #search_engine_display_mode = "classic" (classic/columns)
225 #incremental_seeking = "yes"
227 #seek_time = "1"
229 #autocenter_mode = "no"
231 #centered_cursor = "no"
233 #progressbar_look = "=>"
235 #default_place_to_search_in = "database" (database/playlist)
237 #user_interface = "classic" (classic/alternative)
239 #media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
241 #default_find_mode = "wrapped" (wrapped/normal)
243 #default_space_mode = "add" (add/select)
245 #default_tag_editor_left_col = "albums" (albums/dirs)
247 #default_tag_editor_pattern = "%n - %t"
249 #header_visibility = "yes"
251 #statusbar_visibility = "yes"
253 #header_text_scrolling = "yes"
255 #fancy_scrolling = "yes"
257 #cyclic_scrolling = "no"
259 #lines_scrolled = "2"
261 #follow_now_playing_lyrics = "no"
263 #ncmpc_like_songs_adding = "no" (enabled - add/remove, disabled - always add)
265 #show_hidden_files_in_local_browser = "no"
267 #display_screens_numbers_on_start = "yes"
270 ## How shall key_screen_switcher work?
272 ## - yes - always switch between browser and playlist
273 ## - no  - switch between current and last used screen
275 #screen_switcher_browser_only = "yes"
277 #jump_to_now_playing_song_at_start = "yes"
279 #ask_before_clearing_main_playlist = "no"
281 #clock_display_seconds = "no"
283 #display_bitrate = "no"
285 #display_remaining_time = "no"
287 #regular_expressions = "basic" (basic/extended)
290 ## Note: If below is enabled, ncmpcpp will ignore leading
291 ## "The" word while sorting items in browser, tags in
292 ## media library, etc.
294 #ignore_leading_the = "no"
296 #block_search_constraints_change_if_items_found = "yes"
298 #mouse_support = "yes"
300 #mouse_list_scroll_whole_page = "yes"
302 #empty_tag_marker = "<empty>"
304 #tag_editor_extended_numeration = "no"
306 #media_library_display_date = "yes"
308 #enable_window_title = "yes"
311 ## Note: You can choose default search mode for search
312 ## engine. Available modes are:
314 ## - 1 - use mpd built-in searching (no regexes, pattern matching)
315 ## - 2 - use ncmpcpp searching (pattern matching with support for regexes,
316 ##       but if your mpd is on a remote machine, downloading big database
317 ##       to process it can take a while
318 ## - 3 - match only exact values (this mode uses mpd function for searching
319 ##       in database and local one for searching in current playlist)
322 #search_engine_default_search_mode = "1"
325 ## Note: These triggers will allow you to phisically remove
326 ## files and directories from your hdd using ncmpcpp's
327 ## browser screen.
330 #allow_physical_files_deletion = "no"
332 #allow_physical_directories_deletion = "no"
334 ##### lyrics support #####
336 ## supported lyrics databases:
338 ## - 1 - lyricsplugin.com
341 #lyrics_database = "1"
343 #external_editor = ""
345 #use_console_editor = "no" (set to yes, if your editor is console app)
347 ##### colors definitions #####
349 #colors_enabled = "yes"
351 #empty_tag_color = "cyan"
353 #header_window_color = "default"
355 #volume_color = "default"
357 #state_line_color = "default"
359 #state_flags_color = "default"
361 #main_window_color = "yellow"
363 #color1 = "white"
365 #color2 = "green"
367 #main_window_highlight_color = "yellow"
369 #progressbar_color = "default"
371 #statusbar_color = "default"
373 #alternative_ui_separator_color = "black"
375 #active_column_color = "red"
377 #window_border_color = "green"
379 #active_window_border = "red"