Installasi dan konfigurasi
Install mpd, mpc dan ncmpcpp nya, jalankan perintah berikut :
sudo apt-get install mpd mpc ncmpcppkemudian konfigurasi aplikasi mpd ,jalankan perintah berikut :
mkdir ~/.mpdmasih difolder mpd,dan jalankan perintah berikut :
cd .mpd
touch mpd.log mpd.pid mpd.db mpdstate
gedit mpd.conflalu copy paste code dibawah ini :
music_directory "/home/user/Music"Catatan:"/home/user/Music" adalah tempat saya menyimpan musiknya,jadi sesuaikan tempat penyimpanan musik kalian.
playlist_directory "/home/user/Music"
db_file "/home/user/.mpd/mpd.db"
log_file "/home/user/.mpd/mpd.log"
pid_file "/home/user/.mpd/mpd.pid"
state_file "/home/user/.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"
kalau sudah selesai konfigurasi mpd,selanjutnya konfigurasi ncmpcpp nya dengan membuat folder dan file konfigurasi nya.
mkdir ~/.ncmpcppmasukan script dibawah ini :
gedit ~/.ncmpcpp/config
% egrep -v '^#' .ncmpcpp/configCatatan:"/home/user/Music" adalah tempat saya menyimpan musiknya,jadi sesuaikan tempat penyimpanan musik kalian.
mpd_music_dir = "/home/user/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 = "cyan"
mpd_host = "127.0.0.1"
mpd_port = "6601"
mouse_list_scroll_whole_page = "yes"
lines_scrolled = "1"
ask_before_clearing_main_playlist = "yes"
enable_window_title = "yes"
song_columns_list_format = "(25)[cyan]{a} (40)[]{f} (30)[red]{b} (7f)[green]{l}"
kalau sudah save.
Selesai,untuk menjalankan ncmpcpp nya,ketikkan perintah dibawah ini :
sudo killall mpdUntuk penggunaan nya pencet aja F1 atau tombol anggka 1 ntar juga muncul menu-menu nya.
sudo mpd
sudo ncmpcpp
Oke,sekian..
0 komentar:
Post a Comment