3 ncmpcpp \- An ncurses Music Player Daemon (MPD) client.
8 ncmpcpp is an ncurses client for MPD (Music Player Daemon), inspired by ncmpc.
10 Read more about MPD at http://www.musicpd.org
13 Connect to server at host [localhost]
16 Connect to server at port [6600]
19 Use alternative configuration file
21 .B \-s, \-\-screen <name>
22 Specify the startup screen (<name> may be: help, playlist, browser, search_engine, media_library, playlist_editor, tag_editor, outputs, visualizer, clock)
24 .B \-S, \-\-slave-screen <name>
25 Specify the startup slave screen (<name> may be: help, playlist, browser, search_engine, media_library, playlist_editor, tag_editor, outputs, visualizer, clock)
31 Display version information.
34 When ncmpcpp starts, it tries to read user's settings from $HOME/.ncmpcpp/config and $XDG_CONFIG_HOME/ncmpcpp/config files. If no configuration is found, ncmpcpp uses its default configuration. An example configuration file containing all default values is provided with ncmpcpp and can be usually found in /usr/share/doc/ncmpcpp (exact location may depend on used distribution or configure prefix).
36 Note: Configuration option values can either be enclosed in quotation marks or not.
37 - If they are enclosed, the leftmost and the rightmost quotation marks are treated as delimiters, therefore it is not necessary to escape quotation marks you use within the value itself.
38 - If they are not, any whitespace characters between = and the first printable character of the value, as well as whitespace characters after the last printable character of the value are trimmed.
40 Therefore the rule of thumb is: if you need whitespaces at the beginning or at the end of the value, enclose it in quotation marks. Otherwise, don't.
42 Note: COLOR has to be the name (not a number) of one of colors 1-8 from SONG FORMAT section.
44 Supported configuration options:
46 .B ncmpcpp_directory = PATH
47 Directory for storing ncmpcpp related files. Changing it is useful if you want to store everything somewhere else and provide command line setting for alternative location to config file which defines that while launching ncmpcpp.
49 .B lyrics_directory = PATH
50 Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other MPD clients (eg. ncmpc) also use that location.
53 Connect to MPD running on specified host/unix socket. When HOST starts with a '/', it is assumed to be a unix socket.
56 Connect to MPD on the specified port.
58 .B mpd_music_dir = PATH
59 Search for files in specified directory. This is needed for tag editor to work.
61 .B mpd_connection_timeout = SECONDS
62 Set connection timeout to MPD to given value.
64 .B mpd_crossfade_time = SECONDS
65 Default number of seconds to crossfade, if enabled by ncmpcpp.
67 .B visualizer_fifo_path = PATH
68 Path to mpd fifo output. This is needed to make music visualizer work (note that output sound format of this fifo has to be either 44100:16:1 or 44100:16:2, depending on whether you want mono or stereo visualization)
70 .B visualizer_output_name = NAME
71 Name of output that provides data for visualizer. Needed to keep sound and visualization in sync.
73 .B visualizer_in_stereo = yes/no
74 Should be set to 'yes', if fifo output's format was set to 44100:16:2.
76 .B visualizer_sample_multiplier = NUMBER
77 Multiply received samples by given value. Very useful for proper visualization of quiet music.
79 .B visualizer_sync_interval = SECONDS
80 Defines interval between syncing visualizer and audio outputs.
82 .B visualizer_type = spectrum/wave/wave_filled/ellipse
83 Defines default visualizer type (spectrum is available only if ncmpcpp was compiled with fftw support).
85 .B visualizer_look = STRING
86 Defines visualizer's look (string has to be exactly 2 characters long: first one is for wave whereas second for frequency spectrum).
88 .B visualizer_color = COLORS
89 Comma separated list of colors to be used in music visualization.
91 .B system_encoding = ENCODING
92 If you use encoding other than utf8, set it in order to handle utf8 encoded strings properly.
94 .B playlist_disable_highlight_delay = SECONDS
95 Delay for highlighting playlist since the last key was pressed. If set to 0, highlighting never fades away.
97 .B message_delay_time = SECONDS
98 Delay for displayed messages to remain visible.
101 Format for songs' list.
103 .B song_status_format
104 Song's format for statusbar.
106 .B song_library_format
107 .B alternative_header_first_line_format = TEXT
108 Now playing song format for the first line in alternative user interface header window.
110 .B alternative_header_second_line_format = TEXT
111 Now playing song format for the second line in alternative user interface header window.
113 .B now_playing_prefix = TEXT
114 Prefix for currently playing song.
116 .B now_playing_suffix = TEXT
117 Suffix for currently playing song.
119 .B browser_playlist_prefix = TEXT
120 Prefix for playlists in Browser.
122 .B selected_item_prefix = TEXT
123 Prefix for selected items.
125 .B selected_item_suffix = TEXT
126 Suffix for selected items.
128 .B modified_item_prefix = TEXT
129 Prefix for modified item (tag editor).
132 Determines sort mode for browser. Possible values are "name", "mtime", "format" and "noop".
134 .B browser_sort_format
135 Format to use for sorting songs in browser. For this option to be effective, browser_sort_mode must be set to "format".
137 .B song_window_title_format
138 Song format for window title.
140 .B song_columns_list_format
141 Format for songs' list displayed in columns.
143 .B execute_on_song_change = COMMAND
144 Shell command to execute on song change.
146 .B playlist_show_mpd_host = yes/no
147 If enabled, current MPD host will be shown in playlist.
149 .B playlist_show_remaining_time = yes/no
150 If enabled, time remaining to end of playlist will be shown after playlist statistics.
152 .B playlist_shorten_total_times = yes/no
153 If enabled, total/remaining playlist time displayed in statusbar will be shown using shortened units' names (d:h:m:s instead of days:hours:minutes:seconds).
155 .B playlist_separate_albums = yes/no
156 If enabled, separators will be placed between albums.
158 .B playlist_display_mode = classic/columns
159 Default display mode for Playlist.
161 .B browser_display_mode = classic/columns
162 Default display mode for Browser.
164 .B search_engine_display_mode = classic/columns
165 Default display mode for Search engine.
167 .B playlist_editor_display_mode = classic/columns
168 Default display mode for Playlist editor.
170 .B discard_colors_if_item_is_selected = yes/no
171 Indicates whether custom colors of tags have to be discarded if item is selected or not.
173 .B incremental_seeking = yes/no
174 If enabled, seek time will increment by one each second of seeking.
176 .B seek_time = SECONDS
177 Base seek time to begin with.
179 .B volume_change_step = NUMBER
180 Number of percents volume has to be increased/decreased by in volume_up/volume_down.
182 .B autocenter_mode = yes/no
183 Default state for autocenter mode at start.
185 .B centered_cursor = yes/no
186 If enabled, currently highlighted position in the list will be always centered.
188 .B progressbar_look = TEXT
189 This variable defines the look of progressbar. Note that it has to be exactly two or three characters long.
191 .B progressbar_boldness = yes/no
192 This variable defines whether progressbar should be displayed in bold or not.
194 .B default_place_to_search_in = database/playlist
195 If set to "playlist", Search engine will perform searching in current MPD playlist rather than in music database.
197 .B user_interface = classic/alternative
198 Default user interface used by ncmpcpp at start.
200 .B data_fetching_delay = yes/no
201 If enabled, there will be a 250ms delay between refreshing position in media library or playlist editor and fetching appropriate data from MPD. This limits data fetched from the server and is particularly useful if ncmpcpp is connected to a remote host.
203 .B media_library_primary_tag = artist/date/genre/composer/performer
204 Default tag type for leftmost column in media library.
206 .B default_find_mode = wrapped/normal
207 If set to "wrapped", going from last found position to next will take you to the first one (same goes for the first position and going to previous one), otherwise no actions will be performed.
209 .B default_tag_editor_pattern = TEXT
210 Default pattern used by Tag editor's parser.
212 .B header_visibility = yes/no
213 If enabled, header window will be displayed, otherwise hidden.
215 .B statusbar_visibility = yes/no
216 If enabled, statusbar will be displayed, otherwise hidden.
218 .B titles_visibility = yes/no
219 If enabled, column titles will be displayed, otherwise hidden.
221 .B header_text_scrolling = yes/no
222 If enabled, text in header window will scroll if its length is longer then actual screen width, otherwise it won't.
224 .B cyclic_scrolling = yes/no
225 If enabled, cyclic scrolling is used (e.g. if you press down arrow being at the end of list, it'll take you to the beginning)
227 .B lines_scrolled = NUMBER
228 Number of lines that are scrolled with mouse wheel.
230 .B follow_now_playing_lyrics = yes/no
231 If enabled, lyrics will be switched at song's change to currently playing one's (Note: this works only if you are viewing lyrics of item from Playlist).
233 .B fetch_lyrics_for_current_song_in_background = yes/no
234 If enabled, each time song changes lyrics fetcher will be automatically run in background in attempt to download lyrics for currently playing song.
236 .B store_lyrics_in_song_dir = yes/no
237 If enabled, lyrics will be saved in song's directory, otherwise in ~/.lyrics. Note that it needs properly set mpd_music_dir.
239 .B generate_win32_compatible_filenames = yes/no
240 If set to yes, filenames generated by ncmpcpp (with tag editor, for lyrics, artists etc.) will not contain the following characters: \\?*:|"<> - otherwise only slash (/) will not be used.
242 .B allow_for_physical_item_deletion = yes/no
243 If set to yes, it will be possible to physically delete files and directories from the disk in the browser.
245 .B lastfm_preferred_language = ISO 639 alpha-2 language code
246 If set, ncmpcpp will try to get info from last.fm in language you set and if it fails, it will fall back to english. Otherwise it will use english the first time.
248 .B show_hidden_files_in_local_browser = yes/no
249 Trigger for displaying in local browser files and directories that begin with '.'
251 .B screen_switcher_mode = SWITCHER_MODE
252 If set to "previous", key_screen_switcher will switch between current and last used screen. If set to "screen1,...screenN" (a list of screens) it will switch between them in a sequence. Syntax clarification can be found in example config file.
254 .B startup_screen = SCREEN_NAME
255 Screen that has to be displayed at start (playlist by default).
257 .B startup_slave_screen = SCREEN_NAME
258 Slave screen that has to be displayed at start (nothing by default).
260 .B startup_slave_screen_focus = yes/no
261 If set to yes, slave screen will be the active one after startup. Otherwise master screen will be.
263 .B locked_screen_width_part = 20-80
264 If you want to lock a screen, ncmpcpp asks for % of locked screen's width to be reserved before that and provides a default value, which is the one you can set here.
266 .B ask_for_locked_screen_width_part = yes/no
267 If enabled, ncmpcpp will ask for % of locked screen's width each time you want to lock a screen. If you disable that, it'll silently attempt to use default value.
269 .B jump_to_now_playing_song_at_start = yes/no
270 If enabled, ncmpcpp will jump at start to now playing song if mpd is playing or paused.
272 .B ask_before_clearing_playlists = yes/no
273 If enabled, user will be asked if he really wants to clear the playlist after pressing key responsible for that.
275 .B clock_display_seconds = yes/no
276 If enabled, clock will display time in format hh:mm:ss, otherwise hh:mm.
278 .B display_volume_level = yes/no
279 If enabled, volume level will be displayed in statusbar, otherwise not.
281 .B display_bitrate = yes/no
282 If enabled, bitrate of currently playing song will be displayed in statusbar.
284 .B display_remaining_time = yes/no
285 If enabled, remaining time of currently playing song will be be displayed in statusbar instead of elapsed time.
287 .B regular_expressions = none/basic/extended/perl
288 Type of currently used regular expressions.
290 .B ignore_leading_the = yes/no
291 If enabled, word "the" at the beginning of tags/filenames/sort format will be ignored while sorting items.
293 .B block_search_constraints_change_if_items_found = yes/no
294 If enabled, fields in Search engine above "Reset" button will be blocked after successful searching, otherwise they won't.
296 .B mouse_support = yes/no
297 If set to yes, mouse support will be enabled.
299 .B mouse_list_scroll_whole_page = yes/no
300 If enabled, mouse wheel will scroll the whole page of item list at a time, otherwise the number of lines specified by lines_scrolled variable.
302 .B empty_tag_marker = TEXT
303 Text that will be displayed, if requested tag is not set.
305 .B tags_separator = TEXT
306 Separator that is placed between tags. Also interpreted by tag editor which splits input string into separate tags using it.
308 .B tag_editor_extended_numeration = yes/no
309 If enabled, tag editor will number tracks using format xx/yy (where xx is the current track and yy is total amount of all numbered tracks), not plain xx.
311 .B media_library_sort_by_mtime = yes/no
312 If enabled, media library will be sorted by modification time. Otherwise lexicographic sorting is used.
314 .B enable_window_title = yes/no
315 If enabled, ncmpcpp will override current window title with its own one.
317 .B search_engine_default_search_mode = MODE_NUMBER
318 Number of default mode used in search engine.
320 .B external_editor = PATH
321 Path to external editor used to edit lyrics.
323 .B use_console_editor = yes/no
324 If your external editor is console application, you need to enable it.
326 .B colors_enabled = yes/no
327 No need to describe it, huh?
329 .B empty_tag_color = COLOR
330 Color of empty tag marker.
332 .B header_window_color = COLOR
333 Color of header window.
335 .B volume_color = COLOR
336 Color of volume state.
338 .B state_line_color = COLOR
339 Color of lines separating header and statusbar from main window.
341 .B state_flags_color = COLOR
342 Color of MPD status flags.
344 .B main_window_color = COLOR
345 Color of main window.
348 One of colors used in Song info, Tiny tag editor and Search engine.
351 One of colors used in Song info, Tiny tag editor and Search engine.
353 .B main_window_highlight_color = COLOR
354 Color of main window's highlight.
356 .B progressbar_color = COLOR
357 Color of progressbar.
359 .B progressbar_elapsed_color = COLOR
360 Color of part of progressbar that represents elapsed time.
362 .B statusbar_color = COLOR
365 .B alternative_ui_separator_color = COLOR
366 Color of separators used in alternative user interface.
368 .B active_column_color = COLOR
369 Color of active column's highlight.
371 .B window_border_color = BORDER
372 Border color of pop-up windows. If set to 'none', no border will be shown.
374 .B active_window_border = COLOR
375 Color of active window's border.
378 When ncmpcpp starts, it tries to read user's bindings from ~/.ncmpcpp/bindings file. If no bindings file is found, ncmpcpp uses the defaults. An example bindings file with the default values can be found usually in /usr/share/doc/ncmpcpp (exact location may depend on used distribution or configure prefix).
380 You can view current keybindings by pressing F1.
383 For song format you can use:
393 %n - track number (01/12 -> 01)
394 %N - full track info (01/12 -> 01/12)
401 $R - begin right alignment
403 You can also put them in { } and then they will be displayed only if all requested values are available and/or define alternate value with { }|{ } e.g. {%a - %t}|{%f} will check if artist and title tags are available and if they are, display them. Otherwise it'll display filename.
405 \fBNote\fR: If you want to set limit on maximal length of a tag, just put the appropriate number between % and character that defines tag type, e.g. to make album take max. 20 terminal cells, use '%20b'.
407 \fBNote\fR: Format that is similar to "%a - %t" (i.e. without any additional braces) is equal to "{%a - %t}", so if one of the tags is missing, you'll get nothing.
409 Text can have different color than the main window, e.g. if you want length to be green, write $3%l$9.
411 Available values for colors:
413 - 0 - default window color (discards all other colors)
422 - 9 - end of current color
424 \fBNote\fR: colors can be nested, so if you write $2some$5text$9, it'll disable only usage of blue color and make red the current one.
427 Report bugs on http://www.musicpd.org/mantis/
429 Since MPD uses UTF\-8, ncmpcpp needs to convert characters to the charset used by the local system. If you get character conversion errors while you are running ncmpcpp, you probably need to set up your locale. This is done by setting LANG and LC_ALL/LC_CTYPE environment variables (LC_CTYPE only affects character handling).
431 -> http://unkart.ovh.org/ncmpcpp