
ncmpcpp merupakan music player pada linux maupun keluarga Bsd yang berbasiskan cli music player ini sangat mudah di kostumisasi. sedangkan mpd merupakan server penyedia layanan untuk lagu kita dan sebagai penghubung antara ncmpcpp dan music kita
cara install
Ubuntu & debian
$ sudo apt install install ncmpcpp mpd
Arch & manjaro
$ sudo pacman -S install ncmpcpp mpd
Fedora
$ sudo dnf install ncmpcpp mpd
Opensuse
$ sudo zypper in ncmpcpp mpd
konfigurasi mpd
$ mkdir .mpd
$ cd .mpd
$ touch mpd.log mpd.pid mpd.db mpdstate
$ nano mpd.conf
isi dengan kode berikut
music_directory "/home/ilham/Music"
playlist_directory "/home/ilham/Music"
db_file "/home/ilham/.mpd/mpd.db"
log_file "/home/ilham/.mpd/mpd.log"
pid_file "/home/ilham/.mpd/mpd.pid"
state_file "/home/ilham/.mpd/mpdstate"
audio_output {
type "pulse"
name "pulse audio"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
bind_to_address "127.0.0.1"
port "6601"
konfigurasi ncmpcpp
mkdir ncmpcpp
nano /ncmpcpp/config
isi dengan script berikut
% egrep -v '^#' .ncmpcpp/config
mpd_music_dir = "/home/ilham/Music"
visualizer_in_stereo = "yes"
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "30"
visualizer_type = "spectrum"
visualizer_look = "◆▋"
message_delay_time = "3"
playlist_shorten_total_times = "yes"
playlist_display_mode = "columns"
browser_display_mode = "columns"
search_engine_display_mode = "columns"
playlist_editor_display_mode = "columns"
autocenter_mode = "yes"
centered_cursor = "yes"
user_interface = "alternative"
follow_now_playing_lyrics = "yes"
locked_screen_width_part = "60"
display_bitrate = "yes"
external_editor = "nano"
use_console_editor = "yes"
header_window_color = "cyan"
volume_color = "red"
state_line_color = "yellow"
state_flags_color = "red"
progressbar_color = "yellow"
statusbar_color = "cyan"
visualizer_color = "red"
mpd_host = "127.0.0.1"
mpd_port = "6601"
mouse_list_scroll_whole_page = "yes"
lines_scrolled = "1"
enable_window_title = "yes"
song_columns_list_format = "(25)[cyan]{a} (40)[]{f} (30)[red]{b}
(7f)[green]{l}"
setelah itu jalankan perintah
mpd
kemudian
ncmpcpp
NB : dir music menyesuaikan yah


