.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, \-\-host Connect to server at host [localhost] .TP .B \-p, \-\-port Connect to server at port [6600] .TP .B \-c, \-\-config Use alternative configuration file .TP .B \-s, \-\-screen Specify the startup screen ( may be: help, playlist, browser, search-engine, media-library, playlist-editor, tag-editor, outputs, visualizer, clock) .TP .B \-?, \-\-help Display help. .TP .B \-v, \-\-version Display version information. .TP .B \-\-now\-playing Display now playing song [{{(%l) }{{%a - }%t}}|{%f}}] .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 [+-] 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 ncmpcpp_directory = PATH 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. .TP .B lyrics_directory = PATH Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other MPD clients (eg. ncmpc) also use that location. .TP .B mpd_host = HOST Connect to MPD running on specified host/unix socket. When HOST starts with a '/', it is assumed to be a 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 mpd_communication_mode = MODE 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 may cause some trouble with - otherwise only slash (/) will not be used. .TP .B lastfm_preferred_language = ISO 639 alpha-2 language code 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. .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 screen_switcher_mode = SWITCHER_MODE 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. .TP .B locked_screen_width_part = 20-80 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. .TP .B ask_for_locked_screen_width_part = yes/no 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. .TP .B startup_screen = SCREEN_NUMBER Screen that has to be displayed at start (playlist by default). .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_volume_level = yes/no If enabled, volume level will be displayed in statusbar, otherwise not. .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/sort format 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 successful searching, otherwise they won't. .TP .B mouse_support = yes/no Self-descriptive, isn't it? .TP .B tag_editor_extended_numeration = yes/no 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. .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 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 tags_separator = TEXT Separator that is placed between tags. Also interpreted by tag editor which splits input string into separate tags using it. .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 progressbar_elapsed_color = COLOR Color of part of progressbar that represents elapsed time. .TP .B statusbar_color = COLOR Color of statusbar. .TP .B alternative_ui_separator_color = COLOR Color of separators used in alternative user interface. .TP .B active_column_color = COLOR Color of active column's highlight. .TP .B visualizer_color = COLOR Color of visualization. .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 %A - album artist %t - title %b - album %y - date %n - track number (01/12 -> 01) %N - full track info (01/12 -> 01/12) %g - genre %c - composer %p - performer %d - disc %C - comment %P - priority $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. \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'. \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. 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 environment variables (LC_CTYPE only affects character handling). .SH "HOMEPAGE" -> http://unkart.ovh.org/ncmpcpp .SH "SEE ALSO" mpc(1), mpd(1)