1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
|
.TH "ncmpcpp" "1"
.SH "NAME"
ncmpcpp \- An ncurses Music Player Daemon (MPD) client.
.SH "SYNOPSIS"
.B ncmpcpp
[options]
.SH "DESCRIPTION"
ncmpcpp is an ncurses client for MPD (Music Player Daemon), inspired by ncmpc.
Read more about MPD at http://www.musicpd.org
.SH "OPTIONS"
.B \-h
Connect to server at host [localhost]
.TP
.B \-?, \-\-help
Connect to server at port [6600]
.TP
.B \-?, \-\-help
Display help.
.TP
.B \-v, \-\-version
Display version information.
.TP
.B play
Start playing and exit.
.TP
.B pause
Pause and exit.
.TP
.B toggle
Toggle playing and exit.
.TP
.B stop
Stop playing and exit.
.TP
.B next
Switch to next song and exit.
.TP
.B prev
Switch to previous song and exit.
.TP
.B volume [+-]<number>
Raise/lower volume by given number of percents and exit.
.TP
.SH "CONFIGURATION"
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).
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.
Note: COLOR has to be the name (not a number) of one of colors 1-8 from SONG FORMAT section.
Supported configuration options:
.TP
.B mpd_host = HOST
Connect to MPD running on specified host/unix socket.
.TP
.B mpd_music_dir = PATH
Search for files in specified directory. This is needed for tag editor to work.
.TP
.B mpd_port = PORT
Connect to MPD on the specified port.
.TP
.B mpd_connection_timeout = SECONDS
Set connection timeout to MPD to given value.
.TP
.B mpd_crossfade_time = SECONDS
Default number of seconds to crossfade, if enabled by ncmpcpp.
.TP
.B visualizer_fifo_path = PATH
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)
.TP
.B visualizer_type = spectrum/wave
Defines default visualizer type.
.TP
.B system_encoding = ENCODING
If you use encoding other than utf8, set it in order to handle utf8 encoded strings properly.
.TP
.B seek_time = SECONDS
Base seek time to begin with.
.TP
.B playlist_disable_highlight_delay = SECONDS
Delay for highlighting playlist since the last key was pressed. If set to 0, highlighting never fades away.
.TP
.B message_delay_time = SECONDS
Delay for displayed messages to remain visible.
.TP
.B song_list_format
Format for songs' list.
.TP
.B song_columns_list_format
Format for songs' list displayed in columns.
.TP
.B song_status_format
Song's format for statusbar.
.TP
.B song_library_format
Format for songs in Media library.
.TP
.B tag_editor_album_format
Format for albums' list in Tag editor.
.TP
.B song_window_title_format
Song format for window title.
.TP
.B external_editor = PATH
Path to external editor used to edit lyrics.
.TP
.B browser_playlist_prefix = TEXT
Prefix for playlists in Browser.
.TP
.B default_tag_editor_pattern = TEXT
Deafult pattern used by Tag editor's parser.
.TP
.B selected_item_prefix = TEXT
Prefix for selected items.
.TP
.B selected_item_suffix = TEXT
Suffix for selected items.
.TP
.B alternative_header_first_line_format = TEXT
Now playing song format for the first line in alternative user interface header window.
.TP
.B alternative_header_second_line_format = TEXT
Now playing song format for the second line in alternative user interface header window.
.TP
.B color1 = COLOR
One of colors used in Song info, Tiny tag editor and Search engine.
.TP
.B color2 = COLOR
One of colors used in Song info, Tiny tag editor and Search engine.
.TP
.B colors_enabled = yes/no
No need to describe it, huh?
.TP
.B header_text_scrolling = yes/no
If enabled, text in header window will scroll if its length is longer then actual screen width, otherwise it won't.
.TP
.B fancy_scrolling = yes/no
If enabled, content of other columns will be updated immediately while scrolling, otherwise only after you stop scrolling.
.TP
.B cyclic_scrolling = yes/no
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)
.TP
.B lines_scrolled = NUMBER
Number of lines that are scrolled with mouse wheel.
.TP
.B playlist_show_remaining_time = yes/no
If enabled, time remaining to end of playlist will be shown after playlist's statistics.
.TP
.B playlist_display_mode = classic/columns
Default display mode for Playlist.
.TP
.B browser_display_mode = classic/columns
Default display mode for Browser.
.TP
.B search_engine_display_mode = classic/columns
Default display mode for Search engine.
.TP
.B header_visibility = yes/no
If enabled, header window will be displayed, otherwise hidden.
.TP
.B statusbar_visibility = yes/no
If enabled, statusbar will be displayed, otherwise hidden.
.TP
.B autocenter_mode = yes/no
Default state for autocenter mode at start.
.TP
.B progressbar_look = TEXT
This variable defines the look of progressbar. Note that it has to be exactly two characters long.
.TP
.B default_find_mode = wrapped/normal
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.
.TP
.B default_space_mode = select/add
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).
.TP
.B default_tag_editor_left_col = albums/dirs
If set to "albums", tag editor will display list of all albums from database, otherwise it'll allow you to browse the database.
.TP
.B incremental_seeking = yes/no
If enabled, seek time will increment by one each second of seeking.
.TP
.B follow_now_playing_lyrics = yes/no
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).
.TP
.B ncmpc_like_songs_adding = yes/no
If enabled, pressing space on item, which is already in playlist will remove it, otherwise add it again.
.TP
.B show_hidden_files_in_local_browser = yes/no
Trigger for displaying in local browser files and directories that begin with '.'
.TP
.B default_place_to_search_in = database/playlist
If set to "playlist", Search engine will perform searching in current MPD playlist rather than in music database.
.TP
.B display_screens_numbers_on_start = yes/no
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.
.TP
.B jump_to_now_playing_song_at_start = yes/no
If enabled, ncmpcpp will jump at start to now playing song if mpd is playing or paused.
.TP
.B ask_before_clearing_main_playlist = yes/no
If enabled, user will be asked if he really wants to clear the main playlist after pressing key responsible for that.
.TP
.B clock_display_seconds = yes/no
If enabled, clock will display time in format hh:mm:ss, otherwise hh:mm.
.TP
.B display_bitrate = yes/no
If enabled, bitrate of currently playing song will be displayed in statusbar.
.TP
.B display_remaining_time = yes/no
If enabled, remaining time of currently playing song will be be displayed in statusbar instead of elapsed time.
.TP
.B ignore_leading_the = yes/no
If enabled, word "the" at the beginning of tags/filenames will be ignored while sorting items.
.TP
.B use_console_editor = yes/no
If your external editor is console application, you need to enable it.
.TP
.B block_search_constraints_change_if_items_found = yes/no
If enabled, fields in Search engine above "Reset" button will be blocked after succesful searching, otherwise they won't.
.TP
.B mouse_support = yes/no
Self-descriptive, isn't it?
.TP
.B allow_physical_files_deletion = yes/no
If enabled, ncmpcpp will be able to delete files using its browser screen.
.TP
.B allow_physical_directories_deletion = yes/no
If enabled, ncmpcpp will be able to delete directories using its browser screen.
.TP
.B enable_window_title = yes/no
If enabled, ncmpcpp will override current window title with its own one.
.TP
.B regular_expressions = basic/extended
Type of currently used regular expressions.
.TP
.B lyrics_database = NUMBER
Number of lyrics database in use. Currently supported DBs are:
1 - lyricsplugin.com
.TP
.B user_interface = classic/alternative
Default user interface used by ncmpcpp at start.
.TP
.B media_library_left_column = a/y/g/c/p
Default tag type for left column in media library. Legend for possible letters is in SONG FORMAT section.
.TP
.B empty_tag_marker = TEXT
Text that will be displayed, if requested tag is not set.
.TP
.B empty_tag_color = COLOR
Color of empty tag marker.
.TP
.B header_window_color = COLOR
Color of header window.
.TP
.B volume_color = COLOR
Color of volume state.
.TP
.B state_line_color = COLOR
Color of lines separating header and statusbar from main window.
.TP
.B state_flags_color = COLOR
Color of MPD status flags.
.TP
.B main_window_color = COLOR
Color of main window.
.TP
.B main_window_highlight_color = COLOR
Color of main window's highlight.
.TP
.B progressbar_color = COLOR
Color of progressbar.
.TP
.B statusbar_color = COLOR
Color of statusbar.
.TP
.B active_column_color = COLOR
Color of active column's highlight.
.TP
.B active_window_border = COLOR
Color of active window's border.
.TP
.SH "KEYS"
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).
You can view current ncmpcpp's keybindings by pressing '1' (Help).
.SH "SONG FORMAT"
For song format you can use:
%l - length
%f - filename
%D - directory
%a - artist
%t - title
%b - album
%y - year
%n - track number
%g - genre
%c - composer
%p - performer
%d - disc
%C - comment
$R - begin right alignment
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.
Text can have different color than the main window, e.g. if you want length to be green, write $3%l$9.
Available values for colors:
- 0 - default window color (discards all other colors)
- 1 - black
- 2 - red
- 3 - green
- 4 - yellow
- 5 - blue
- 6 - magenta
- 7 - cyan
- 8 - white
- 9 - end of current color
\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.
.SH "BUGS"
Report bugs on http://www.musicpd.org/mantis/
.SH "NOTE"
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).
.SH "HOMEPAGE"
-> http://unkart.ovh.org/ncmpcpp
.SH "SEE ALSO"
mpc(1), mpd(1)
|