Install mpd, mpc dan ncmpcpp di archlinux


ncmpcpp-
newbie only,mastah jangan ngakak😀

$ sudo pacman -S mpd mpc ncmpcpp
$ mkdir .mpd
$ mkdir -p ~/.mpd/playlists
$ touch ~/.mpd/{database,log,pid,state}
$ cp /usr/share/doc/mpd/mpdconf.example ~/.mdp/.mpdconf

mpd config   :

$ nano ~/.mdp/mpd.conf

lalu isi config filenya,

music_directory "/home/ariyasa/Music" # music directory
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/database"
log_file "~/.mpd/log"
#error_file "~/.mpd/state"
pid_file "~/.mpd/pid"

user "ariyasa"

<span style="line-height:1.5em;">audio_output {</span>

type "alsa" # kalau pakai ubuntu rubah "alsa" dengan "pulse"
name "myalsa"
mixer_type "software" # optional
mixer_device "default" # optional
mixer_control "PCM" # optional
mixer_index "0" # optional
}

audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}

menambahkan MPD pada group audio (optional):

$ sudo gpasswd -a mpd audio

 ================ 2 ===============
ncmpcpp config :

$ nano ~/.ncmpcpp/config

contoh config :

#The best config
##### connection settings #####
#
## set it in order to make tag editor and renaming files work properly
#
mpd_host = "localhost"
#
mpd_port = "6600"
#
mpd_music_dir = "/home/ariyasa/Music/"

mpd_connection_timeout = "5"

mpd_crossfade_time = "5"
#
##### delays #####
#
## delay after playlist highlighting will be disabled (0 = don't disable)
#
playlist_disable_highlight_delay = "0"
#
## defines how long various messages are supposed to be visible
#
#message_delay_time = "4"
#
##### song format #####
##
## for song format you can use:
##
## %l - length
## %f - short filename
## %F - full filename
## %a - artist
## %t - title
## %b - album
## %y - year
## %n - track number
## %g - genre
## %c - composer
## %p - performer
## %d - disc
## %C - comment
## %r - begin right align
##
## you can also put them in { } and then it will be displayed
## only if all requested values are available and/or define alternate
## value with { }|{ } eg. {%a - %t}|{%f}
##
## text can also have different color than the main window has,
## eg. if you want length to be green, write $3%l$9
##
## available values:
##
## - 0 - default window color
## - 1 - black
## - 2 - red
## - 4 - green
## - 4 - yellow
## - 5 - yellow
## - 6 - magenta
## - 7 - cyan
## - 8 - white
## - 9 - end of current color
##
## Note: colors can be nested.
##

song_list_format = "{$8(%l)$9 }{%a - }{%t}|{$8%f$9}"

song_library_format = "{%n - }{%t}|{%f}"

media_library_album_format = "{(%y) }%b"

tag_editor_album_format = "{(%y) }%b"

browser_playlist_prefix = "$7playlist$9 "

selected_item_prefix = "$8"

selected_item_suffix = "$9"
#
## colors are not supported for below veriables
#
#song_status_format = "{(%l) }{%a - }{%t}|{%f}"
#
#song_window_title_format = "{%a - }{%t}|{%f}"
#
##### columns settings #####
##
## syntax of song columns list format is "column column etc."
##
## - syntax for each column is:
##
## (width of column in %)[column's color]{displayed tag}
##
## - color is optional (if you want the default one, type [])
##
#
song_columns_list_format = "(6)[white]{l} (15)[yellow]{a} (35)[white]{b} (53)[yellow]{t}"
#
##### various settings #####
#
playlist_display_mode = "columns"
#
browser_display_mode = "columns"
#
#search_engine_display_mode = "classic" (classic/columns)
#
incremental_seeking = "yes"
#
#seek_time = "1"
#
autocenter_mode = "yes"
#
#repeat_one_mode = "no"
#
#default_place_to_search_in = "database" (database/playlist)
#
#media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
#
#default_find_mode = "wrapped" (wrapped/normal)
#
#default_space_mode = "add" (add/select)
#
#default_tag_editor_left_col = "albums" (albums/dirs)
#
#default_tag_editor_pattern = "%n - %t"
#
header_visibility = "yes"
#
statusbar_visibility = "yes"
#
fancy_scrolling = "yes"
#
follow_now_playing_lyrics = "yes"
#
#ncmpc_like_songs_adding = "no" (enabled - add/remove, disabled - always add)
#
display_screens_numbers_on_start = "yes"
#
#clock_display_seconds = "no"
#
##
## Note: If below is enabled, ncmpcpp will ignore leading
## "The" word while sorting items in browser, tags in
## media library, etc.
##
ignore_leading_the = "yes"
#
#enable_window_title = "yes"
#
##### lyrics support #####
##
## supported lyrics databases:
##
## - 1 - lyricwiki.org
## - 2 - lyricsplugin.com
##
#
#lyrics_database = "1"
lyrics_database = "2"
#
##### colors definitions #####
#
colors_enabled = "yes"
#
empty_tag_color = "white"
#
header_window_color = "white"
#
volume_color = "white"
#
state_line_color = "yellow"
#
state_flags_color = "yellow"
#
main_window_color = "yellow"
#
color1 = "yellow"
#
color2 = "cyan"
#
main_window_highlight_color = "white"
#
progressbar_color = "yellow"
progressbar_look = "&amp;gt;&amp;gt;"
#
statusbar_color = "white"
#
active_column_color = "white"
#
window_border_color = "white"
#
active_window_border = "magenta"
#visualizer
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "1"
#visualizer_type = "wave" (spectrum/wave)
visualizer_type = "spectrum" (spectrum/wave)
visualizer_look = "=="
display_bitrate = "yes"
visualizer_in_stereo = "yes"

selesai..  buka terminal

$  mpd
$ ncmpcpp

notes :
– bila lyrics tidak muncul, install “ncmpcpp” versi GIT,akses terminal :

$ sudo pacman -R ncmpcpp
$ yaourt ncmpcpp

3 aur/ncmpcpp-git 1:1545.819d8ba-1
pilih "3"

– untuk streaming radio online , akses terminal   (kaskus radio dan saya baru coba *.pls  saja)

$ mpc load http://us.kradio.in:8888/listen.pls

kaskus radio

kaskus radio

sumber :
https://wiki.archlinux.org/index.php/ncmpcpp
http://www.sharons.org.uk/2013/09/01/setting-up-ncmpcpp/

link :
.ncmpcpp/config
mpd.conf

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s