Ncmpcpp - Music Player Daemon Client
Ncmpcpp is a highly configurable Music Player Daemon (MPD) client that offers a user interface similar to ncmpc but with enhanced features. It is also compatible with Mopidy, a music server that can play music from various sources, including local files, YouTube, Spotify, and more.
Ncmpcpp Configuration
To get started with ncmpcpp, you'll need to create a configuration directory and set up your preferences. This typically involves specifying the MPD host, port, and the directory where your music is stored.
# ncmpcpp
# An mpd client (compatible with mopidy) with a UI very similar to ncmpc, but
# it provides new useful features such as support for regular expressions for
# library searches, extended song format, items filtering, the ability to
# sort playlists, and a local filesystem browser.
# configure ncmpcpp
mkdir ~/.ncmpcpp
cat <<EOF > ~/.ncmpcpp/config
ncmpcpp_directory = "~/.ncmpcpp"
mpd_host = "127.0.0.1"
mpd_port = "6600"
mpd_music_dir = "/var/lib/mpd/music/"
EOF
Ncmpcpp Keybindings Overview
Ncmpcpp provides an extensive set of keyboard shortcuts to control playback, manage playlists, navigate the interface, and interact with the media library. Mastering these keybindings can significantly enhance your workflow.
Global Controls
These commands affect the overall playback and application state.
s: Stop playbackp: Pause/Resume playback>: Next track<: Previous trackCtrl-H Backspace: Replay the current songf: Seek forward in the current songb: Seek backward in the current song- Left: Decrease volume by 2%Right +: Increase volume by 2%t: Toggle space mode (select/add)T: Toggle add mode (add or remove/always add)|: Toggle mouse supportv: Reverse selectionV: Remove selectionB: Select all songs of the album around the cursora: Add selected items to the playlist`: Add random items to the playlistr: Toggle repeat modez: Toggle random modey: Toggle single modeR: Toggle consume modeY: Toggle replay gain mode#: Toggle bitrate visibilityZ: Shuffle the playlistx: Toggle crossfade modeX: Set crossfade durationu: Start music database update:: Execute a commandCtrl-F: Apply a filter to the current view/: Find item forward?: Find item backward,: Jump to the previous found item.: Jump to the next found itemw: Toggle find mode (normal/wrapped)G: Locate the current song in the browser~: Locate the current song in the media libraryCtrl-L: Lock/unlock the current screenLeft h: Switch to the master screen (move left)Right l: Switch to the slave screen (move right)E: Locate the current song in the tag editorP: Toggle display mode\: Toggle user interface!: Toggle displaying separators between albumsg: Jump to a given position in the current song (formats: mm:ss, x%)i: Show song informationI: Show artist informationL: Toggle lyrics fetcherF: Toggle fetching lyrics for playing songs in the backgroundq: Quit ncmpcpp
Movement Keys
Navigate through lists and views efficiently.
Up k: Move cursor upDown j: Move cursor down[: Move cursor up one album]: Move cursor down one album{: Move cursor up one artist}: Move cursor down one artistPage Up: Page upPage Down: Page downHome: Go to the top of the listEnd: Go to the bottom of the listTab: Switch to the next screen in sequenceShift-Tab: Switch to the previous screen in sequenceF1: Show help1: Show playlist screen2: Show browser screen3: Show search engine screen4: Show media library screen5: Show playlist editor screen6: Show tag editor screen7: Show outputs screen8: Show music visualizer=: Show clock@: Show server info
Playlist Screen Controls
Manage your current playback queue.
Enter: Play the selected itemDelete: Delete selected item(s) from the playlistc: Clear the entire playlistC: Clear the playlist except for selected item(s)Ctrl-P: Set priority for selected itemsCtrl-K m: Move selected item(s) upn Ctrl-J: Move selected item(s) downM: Move selected item(s) to the cursor positionA: Add item to the playliste: Edit song metadataS: Save the current playlistCtrl-V: Sort the playlistCtrl-R: Reverse the playlist ordero: Jump to the currently playing songU: Toggle playing song centering
Browser Screen Controls
Navigate your music files and MPD database.
Enter: Enter directory / Add item to playlist and play itSpace: Add item to playlist / Select ite: Edit song metadata / directory name / playlist name2: Browse MPD database / local filesystem`: Toggle sort modeo: Locate the currently playing songCtrl-H Backspace: Jump to the parent directoryDelete: Delete selected items from diskG: Jump to the playlist editor (for playlists only)
Search Engine Screen Controls
Find music based on various criteria.
Enter: Add item to playlist and play it / change optionSpace: Add item to playliste: Edit song metadatay: Start searching3: Reset search constraints and clear results
Media Library Screen Controls
Browse your music library organized by tags and albums.
4: Switch between two/three columns modeLeft h: Previous columnRight l: Next columnEnter: Add item to playlist and play itSpace: Add item to playliste: Edit song metadata / tag (left column) / album (middle/right column)`: Toggle the type of tag used in the left columnm: Toggle sort mode
Playlist Editor Screen Controls
Create, edit, and manage playlists.
Left h: Previous columnRight l: Next columnEnter: Add item to playlist and play itSpace: Add item to playlist / select ite: Edit song metadata / playlist nameCtrl-K m: Move selected item(s) upn Ctrl-J: Move selected item(s) downDelete: Delete selected playlists (left column) / Delete selected item(s) from playlist (right column)c: Clear the playlistC: Clear playlist except for selected itemsCtrl-P: Set priority for selected itemsM: Move selected item(s) to the cursor positionA: Add item to the playlistS: Save the current playlistCtrl-V: Sort the playlistCtrl-R: Reverse the playlist ordero: Jump to the currently playing songU: Toggle playing song centering
Lyrics Screen Controls
Manage lyrics for your songs.
Space: Toggle reloading lyrics upon song changee: Open lyrics in an external editor`: Refetch lyrics
Tiny Tag Editor Controls
Quickly edit tags.
Enter: Edit tagy: Save changes
Tag Editor Screen Controls
Edit metadata for songs, albums, and tags.
Enter: Edit tag / filename of selected item (left column)Enter: Perform operation on all/selected items (middle column)Space: Switch to albums/directories view (left column)Space: Select item (right column)Left h: Previous columnRight l: Next columnCtrl-H Backspace: Jump to parent directory (left column, directories view)