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]
22 Display version information.
25 Display now playing song [{{(%l) }{{%a - }%t}}|{%f}}]
28 Start playing and exit.
34 Toggle playing and exit.
37 Stop playing and exit.
40 Switch to next song and exit.
43 Switch to previous song and exit.
45 .B volume [+-]<number>
46 Raise/lower volume by given number of percents and exit.
49 When ncmpcpp starts, it tries to read user's settings from the ~/.ncmpcpp/config file. If no user's configuration is found, ncmpcpp uses its default configuration. An example configuration file containing all default values is provided with ncmpcpp and can be found usually in /usr/share/doc/ncmpcpp (exact location may depend on used distribution/OS/configure prefix).
51 Note: Each config option value must be enclosed in quotation marks (var = "example"). If you want to use quotation mark inside config option, prepend character '\\' to it.
53 Note: COLOR has to be the name (not a number) of one of colors 1-8 from SONG FORMAT section.
55 Supported configuration options:
58 Connect to MPD running on specified host/unix socket.
60 .B mpd_music_dir = PATH
61 Search for files in specified directory. This is needed for tag editor to work.
64 Connect to MPD on the specified port.
66 .B mpd_connection_timeout = SECONDS
67 Set connection timeout to MPD to given value.
69 .B mpd_crossfade_time = SECONDS
70 Default number of seconds to crossfade, if enabled by ncmpcpp.
72 .B mpd_communication_mode = MODE
73 If set to 'polling', ncmpcpp will constantly poll mpd for its status. If set to 'notifications', ncmppcp will make use of 'idle' command and wait for events. This is more efficient and responsive, but kinda experimental. If you decide to use it, you may want to run the latest mpd version available.
75 .B visualizer_fifo_path = PATH
76 Path to mpd fifo output. This is needed to make music visualizer work (note that output sound format of this fifo has to be 44100:16:1)
78 .B visualizer_output_name = NAME
79 Name of output that provides data for visualizer. Needed to keep sound and visualization in sync.
81 .B visualizer_sync_interval = SECONDS
82 Defines interval between syncing visualizer and audio outputs.
84 .B visualizer_type = spectrum/wave
85 Defines default visualizer type (spectrum is available only if ncmpcpp was compiled with fftw support).
87 .B system_encoding = ENCODING
88 If you use encoding other than utf8, set it in order to handle utf8 encoded strings properly.
90 .B seek_time = SECONDS
91 Base seek time to begin with.
93 .B playlist_disable_highlight_delay = SECONDS
94 Delay for highlighting playlist since the last key was pressed. If set to 0, highlighting never fades away.
96 .B message_delay_time = SECONDS
97 Delay for displayed messages to remain visible.
100 Format for songs' list.
102 .B song_columns_list_format
103 Format for songs' list displayed in columns.
105 .B song_status_format
106 Song's format for statusbar.
108 .B song_library_format
109 Format for songs in Media library.
111 .B tag_editor_album_format
112 Format for albums' list in Tag editor.
114 .B song_window_title_format
115 Song format for window title.
117 .B external_editor = PATH
118 Path to external editor used to edit lyrics.
120 .B browser_playlist_prefix = TEXT
121 Prefix for playlists in Browser.
123 .B default_tag_editor_pattern = TEXT
124 Deafult pattern used by Tag editor's parser.
126 .B now_playing_prefix = TEXT
127 Prefix for currently playing song.
129 .B now_playing_suffix = TEXT
130 Suffix for currently playing song.
132 .B selected_item_prefix = TEXT
133 Prefix for selected items.
135 .B selected_item_suffix = TEXT
136 Suffix for selected items.
138 .B alternative_header_first_line_format = TEXT
139 Now playing song format for the first line in alternative user interface header window.
141 .B alternative_header_second_line_format = TEXT
142 Now playing song format for the second line in alternative user interface header window.
145 One of colors used in Song info, Tiny tag editor and Search engine.
148 One of colors used in Song info, Tiny tag editor and Search engine.
150 .B colors_enabled = yes/no
151 No need to describe it, huh?
153 .B header_text_scrolling = yes/no
154 If enabled, text in header window will scroll if its length is longer then actual screen width, otherwise it won't.
156 .B fancy_scrolling = yes/no
157 If enabled, content of other columns will be updated immediately while scrolling, otherwise only after you stop scrolling.
159 .B cyclic_scrolling = yes/no
160 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)
162 .B mouse_list_scroll_whole_page = yes/no
163 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.
165 .B lines_scrolled = NUMBER
166 Number of lines that are scrolled with mouse wheel.
168 .B search_engine_default_search_mode = MODE_NUMBER
169 Number of default mode used in search engine.
171 .B playlist_show_remaining_time = yes/no
172 If enabled, time remaining to end of playlist will be shown after playlist's statistics.
174 .B playlist_display_mode = classic/columns
175 Default display mode for Playlist.
177 .B browser_display_mode = classic/columns
178 Default display mode for Browser.
180 .B search_engine_display_mode = classic/columns
181 Default display mode for Search engine.
183 .B discard_colors_if_item_is_selected = yes/no
184 Indicates whether custom colors of tags have to be discarded if item is selected or not.
186 .B header_visibility = yes/no
187 If enabled, header window will be displayed, otherwise hidden.
189 .B statusbar_visibility = yes/no
190 If enabled, statusbar will be displayed, otherwise hidden.
192 .B autocenter_mode = yes/no
193 Default state for autocenter mode at start.
195 .B centered_cursor = yes/no
196 If enabled, currently highlighted position in the list will be always centered.
198 .B progressbar_look = TEXT
199 This variable defines the look of progressbar. Note that it has to be exactly two characters long.
201 .B default_find_mode = wrapped/normal
202 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.
204 .B default_space_mode = select/add
205 If set to "select", space will select items instead of adding them to playlist (although selecting by space is default and the only one action for space in Playlist).
207 .B default_tag_editor_left_col = albums/dirs
208 If set to "albums", tag editor will display list of all albums from database, otherwise it'll allow you to browse the database.
210 .B incremental_seeking = yes/no
211 If enabled, seek time will increment by one each second of seeking.
213 .B follow_now_playing_lyrics = yes/no
214 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).
216 .B ncmpc_like_songs_adding = yes/no
217 If enabled, pressing space on item, which is already in playlist will remove it, otherwise add it again.
219 .B show_hidden_files_in_local_browser = yes/no
220 Trigger for displaying in local browser files and directories that begin with '.'
222 .B default_place_to_search_in = database/playlist
223 If set to "playlist", Search engine will perform searching in current MPD playlist rather than in music database.
225 .B display_screens_numbers_on_start = yes/no
226 If enabled, screens' names and their keybindings will be shown in header window until key is pressed, otherwise they won't be displayed at all.
228 .B screen_switcher_previous = SWITCHER_MODE
229 If set to "previous", key_screen_switcher will switch between current and last used screen. If set to "sequence: user_defined_sequence", it will switch between given sequence of screens. Syntax clarification can be found in example config file.
231 .B startup_screen = SCREEN_NUMBER
232 Screen that has to be displayed at start (playlist by default).
234 .B jump_to_now_playing_song_at_start = yes/no
235 If enabled, ncmpcpp will jump at start to now playing song if mpd is playing or paused.
237 .B ask_before_clearing_main_playlist = yes/no
238 If enabled, user will be asked if he really wants to clear the main playlist after pressing key responsible for that.
240 .B clock_display_seconds = yes/no
241 If enabled, clock will display time in format hh:mm:ss, otherwise hh:mm.
243 .B display_bitrate = yes/no
244 If enabled, bitrate of currently playing song will be displayed in statusbar.
246 .B display_remaining_time = yes/no
247 If enabled, remaining time of currently playing song will be be displayed in statusbar instead of elapsed time.
249 .B ignore_leading_the = yes/no
250 If enabled, word "the" at the beginning of tags/filenames will be ignored while sorting items.
252 .B use_console_editor = yes/no
253 If your external editor is console application, you need to enable it.
255 .B block_search_constraints_change_if_items_found = yes/no
256 If enabled, fields in Search engine above "Reset" button will be blocked after succesful searching, otherwise they won't.
258 .B mouse_support = yes/no
259 Self-descriptive, isn't it?
261 .B allow_physical_files_deletion = yes/no
262 If enabled, ncmpcpp will be able to delete files using its browser screen.
264 .B allow_physical_directories_deletion = yes/no
265 If enabled, ncmpcpp will be able to delete directories using its browser screen.
267 .B tag_editor_extended_numeration = yes/no
268 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.
270 .B media_library_display_date = yes/no
271 If enabled, dates of albums in media library will be displayed and respected in searching, otherwise not.
273 .B media_library_disable_two_column_mode = yes/no
274 If enabled, pressing the key for the media library twice won't switch it to two column mode.
276 .B enable_window_title = yes/no
277 If enabled, ncmpcpp will override current window title with its own one.
279 .B regular_expressions = basic/extended
280 Type of currently used regular expressions.
282 .B lyrics_database = NUMBER
283 Number of lyrics database in use. Currently supported DBs are:
286 .B user_interface = classic/alternative
287 Default user interface used by ncmpcpp at start.
289 .B media_library_left_column = a/y/g/c/p
290 Default tag type for left column in media library. Legend for possible letters is in SONG FORMAT section.
292 .B empty_tag_marker = TEXT
293 Text that will be displayed, if requested tag is not set.
295 .B empty_tag_color = COLOR
296 Color of empty tag marker.
298 .B header_window_color = COLOR
299 Color of header window.
301 .B volume_color = COLOR
302 Color of volume state.
304 .B state_line_color = COLOR
305 Color of lines separating header and statusbar from main window.
307 .B state_flags_color = COLOR
308 Color of MPD status flags.
310 .B main_window_color = COLOR
311 Color of main window.
313 .B main_window_highlight_color = COLOR
314 Color of main window's highlight.
316 .B progressbar_color = COLOR
317 Color of progressbar.
319 .B statusbar_color = COLOR
322 .B alternative_ui_separator_color = COLOR
323 Color of separators used in alternative user interface.
325 .B active_column_color = COLOR
326 Color of active column's highlight.
328 .B active_window_border = COLOR
329 Color of active window's border.
332 When ncmpcpp starts, it tries to read user's keybindings from ~/.ncmpcpp/keys file. If no user's keybindings is found, ncmpcpp uses its default keybindings. An example keybindings file containing all default values is provided with ncmpcpp and can be found usually in /usr/share/doc/ncmpcpp (exact location may depend on used distribution/OS/configure prefix).
334 You can view current ncmpcpp's keybindings by pressing '1' (Help).
337 For song format you can use:
347 %n - track number (01/12 -> 01)
348 %N - full track info (01/12 -> 01/12)
354 $R - begin right alignment
356 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.
358 \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.
360 Text can have different color than the main window, e.g. if you want length to be green, write $3%l$9.
362 Available values for colors:
364 - 0 - default window color (discards all other colors)
373 - 9 - end of current color
375 \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.
378 Report bugs on http://www.musicpd.org/mantis/
380 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 enviroment variables (LC_CTYPE only affects character handling).
382 -> http://unkart.ovh.org/ncmpcpp