You are not logged in.
It's amazing how many customization options the ncmpcpp devs have put into this application.
% egrep -v '^#' .ncmpcpp/config
mpd_music_dir = "~/mus"
visualizer_in_stereo = "yes
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "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"
allow_physical_files_deletion = "yes"
allow_physical_directories_deletion = "yes"
external_editor = "vim"
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"
Offline
Simple 2 colour classic layout
# ncmpcpp settings
mpd_music_dir = "/store/Music"
ncmpcpp_directory = "/home/meyithi/.ncmpcpp"
lyrics_directory = "/home/meyithi/.lyrics"
mpd_host = "localhost"
mpd_port = "6600"
# Format options
#
song_list_format = "$5[$9%n$5]$9 %t$R%a $5-$9 %b $5[$9%y$5]$9"
song_status_format = "$5[$9%n$5]$9 %t $5-$9 %a $5-$9 %b"
song_window_title_format = "[%n] %t - %a - %b"
# Interface options
#
autocenter_mode = "yes"
progressbar_look = "=>-"
user_interface = "classic"
fancy_scrolling = "yes"
display_screens_numbers_on_start = "no"
jump_to_now_playing_song_at_start = "yes"
# Colours
#
colors_enabled = "yes"
empty_tag_color = "blue"
state_line_color = "blue"
main_window_color = "white"
main_window_highlight_color = "blue"
progressbar_color = "blue"
active_column_color = "white"
Last edited by Meyithi (2013-02-02 19:52:50)
Offline
http://i.imgur.com/JNswWs.png
It's amazing how many customization options the ncmpcpp devs have put into this application.
What fonts are you using? I really like the Japanese font ...
mpd_music_dir = "/home/ranmaru/music"
song_columns_list_format = "(6f)[blue]{l} (25)[red]{a} (40)[green]{t|f} (30)[yellow]{b}"
now_playing_prefix = "$b"
now_playing_suffix = "$/b"
playlist_display_mode = "columns" (classic/columns)
autocenter_mode = "yes"
centered_cursor = "no"
ignore_leading_the = "yes"
song_status_format = "$2%a $7- $3%t $7- $4%b {(Disc %d) }$7($5%y$7)"
progressbar_look = "◾◾◽"
titles_visibility = "no"
browser_playlist_prefix = "$2plist »$9 "
browser_display_mode = "columns" (classic/columns)
song_window_title_format = "MPD: {%a > }{%t}{ [%b{ Disc %d}]}|{%f}"
search_engine_display_mode = "columns" (classic/columns)
follow_now_playing_lyrics = "yes"
display_screens_numbers_on_start = "no"
colors_enabled = "yes"
discard_colors_if_item_is_selected = "yes"
header_window_color = "black"
volume_color = "cyan"
state_line_color = "white"
state_flags_color = "yellow"
main_window_color = "white"
color1 = "default"
color2 = "green"
main_window_highlight_color = "yellow"
progressbar_color = "yellow"
statusbar_color = "black"
active_column_color = "red"
visualizer_color = "yellow"
song_window_title_format = "MPD: {%a > }{%t}{ [%b{ Disc %d}]}|{%f}"
Offline
MadCatMk2 wrote:http://i.imgur.com/JNswWs.png
It's amazing how many customization options the ncmpcpp devs have put into this application.What fonts are you using? I really like the Japanese font ...
This is what I used in my ~/.Xresources when that screenshot was taken:
xft:DejaVu LGC Sans Mono:pixelsize=11,xft:Ricty:size=9,xft:Baekmuk Batang:size=12
Last edited by MadCatMk2 (2012-06-21 18:52:21)
Offline
Thanks dipilibupap for his settings! The wiki said to inspire, No dipilibupap settings are just fine^^ Wow ncmpcpp is really something I didn't know all those customization were possible, even the mouse control.
Offline
Heh, I have used ncmpcpp for ages and it always looked so ugly for me. Well tonight I was unable to get any sleep so I just went back to my computer to customize things and here's the result.
/* ncmpcpp config */
/* MPD Settings */
mpd_crossfade_time = "3"
mpd_music_dir = "~/music"
/* Format */
song_list_format = " $3%a $1»$7»$8» $8%t"
song_status_format = "$8%a $7» $3%b $7» $8%t$1"
now_playing_prefix = " $b$1»$7»$8»"
now_playing_suffix = "$/b"
progressbar_look = "\u2500\u2591\u2500"
/* Colors */
colors_enabled = "yes"
color1 = "cyan"
color2 = "blue"
statusbar_color = "black"
empty_tag_color = "green"
main_window_color = "white"
main_window_highlight_color = "cyan"
header_window_color = "black"
volume_color = "black"
/* Misc */
display_screens_numbers_on_start = "no"
autocenter_mode = "yes"
centered_cursor = "yes"
titles_visibility = "no"
mouse_support = "no"
discard_colors_if_item_is_selected = "yes"
display_remaining_time = "no"
user_interface = "classic"
header_visibility = "no"
statusbar_visibility = "yes"
display_bitrate = "no"
display_remaining_time = "no"
display_volume_level = "yes"
/* Visualizer */
#visualizer_fifo_path = "/tmp/mpd.fifo"
#visualizer_output_name = "Visualizer"
#visualizer_type = "wave" (spectrum/wave)
#visualizer_sync_interval = "30"
#visualizer_color = "green"
Last edited by Shinryuu (2012-09-13 02:08:01)
Offline
Will share.
Config:
#=================================#
#|| ||#
#|| N C M P C P P C O N F I G ||#
#|| ||#
#=================================#
##
##### connection settings #####
mpd_host = "lloth"
mpd_port = "6600"
mpd_music_dir = "/media/extra/servermusic/music/"
mpd_connection_timeout = "5"
mpd_crossfade_time = "1"
mpd_communication_mode = "notifications" (polling/notifications)
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "1"
visualizer_type = "wave" (spectrum/wave)
system_encoding = "utf-8"
##### delays #####
playlist_disable_highlight_delay = "5"
message_delay_time = "4"
# Playlist
song_columns_list_format = "(7f)[cyan]{l} (25)[blue]{a} (40)[red]{t|f} (30)[magenta]{b}"
song_list_format = "{$3[%l]$9} {$5%a$9} - {$2%t$9} - {$6%f$9}"
now_playing_prefix = "$b$1» "
now_playing_suffix = "$/b"
playlist_display_mode = "columns" (classic/columns)
autocenter_mode = "yes"
centered_cursor = "yes"
cyclic_scrolling = "yes"
mouse_list_scroll_whole_page = "no"
# # Bars
song_status_format = "{%a - }{%t - }{%b}"
progressbar_look = "─╼ "
titles_visibility = "no"
header_visibility = "no"
statusbar_visibility = "yes"
# Browser
browser_playlist_prefix = "$2plist »$9 "
browser_display_mode = "classic" (classic/columns)
# Colors
discard_colors_if_item_is_selected = "yes"
header_window_color = "default"
volume_color = "cyan"
state_line_color = "white"
state_flags_color = "green"
main_window_color = "default"
color1 = "cyan"
color2 = "black"
main_window_highlight_color = "red"
progressbar_color = "cyan"
statusbar_color = "white"
active_column_color = "red"
visualizer_color = "cyan"
# Others
song_window_title_format = "MPD: {%a > }{%t}|{%f}"
search_engine_display_mode = "columns" (classic/columns)
follow_now_playing_lyrics = "yes"
display_screens_numbers_on_start = "no"
user_interface = "alternative" (classic/alternative)
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
Hi all ! I'm using ncmpcpp to control a remote mpd server (through the internet), and each time I launch ncmpcpp, I have to give the password configured in the remote mpd.conf.
I don't mind when I launch the whole application, but i can't use some commands like "ncmpcpp next" or "ncmpcpp pause" without passing the options "-h <pass@server.org> -p <port>".
Can I set the password in the ncmpcpp config ? because I can't find anything in the man or on google...
Help please ^^
EDIT! Problem finally solved, just set mpd_host "<password>@server.org". Next time I'll start by thinking before asking
Last edited by z3bra (2012-09-16 18:34:11)
Hobbes: Shouldn't we read the instructions?
Calvin: Do I look like a sissy ?
Offline
http://i.imgur.com/JNswWs.png
It's amazing how many customization options the ncmpcpp devs have put into this application.
How is that possible? To show playlist and browser view at the same time.
Offline
MadCatMk2 wrote:http://i.imgur.com/JNswWs.png
It's amazing how many customization options the ncmpcpp devs have put into this application.How is that possible? To show playlist and browser view at the same time.
It's not well documented information I believe. It can be done when you are in the playlist or in any view press "CTRL + L" -> type number between (20-80) for the width split = done!
Oh right, welcome to the forums buddy.
Last edited by Shinryuu (2012-09-21 02:39:09)
Offline
Is it possible to have multiple panels displayed by default? I'm thinking Library and Playlist.
Offline
Is it possible to have multiple panels displayed by default? I'm thinking Library and Playlist.
In ncmpcpp not AFAIK, but of course you can open multiple instances of ncmcpp, tmux it if you want to fix it. I just use multiple instances of urxvt and let my tiling WM take care of it.
Offline
Is it possible to have multiple panels displayed by default? I'm thinking Library and Playlist.
Yes it is, but with tmux.
Set a locked_screen_width_part in your ncmpcpp config file or hard-code it below (I use 60).
#!/bin/bash
SESSION=ncmpcpp
tmux -2 has-session -t $SESSION
if [ $? -eq 0 ]; then
tmux -2 attach -t $SESSION
exit 0;
fi
tmux -2 new-session -d -s $SESSION 'ncmpcpp -s playlist'
for i in "C-l" "Enter" "2"
do tmux -2 send-keys -t $SESSION:0.0 "$i"
done
tmux -2 set -t $SESSION -g status off
tmux -2 attach-session -t $SESSION
Here's the script I use myself to open a visualizer as well:
#!/bin/zsh
SESSION=ncmpcpp
tmux -2 has-session -t $SESSION
if [ $? -eq 0 ]; then
tmux -2 attach -t $SESSION
exit 0;
fi
tmux -2 new-session -d -s $SESSION 'ncmpcpp -s playlist'
tmux -2 split-window -d -t $SESSION:0 -p 45 'ncmpcpp -s visualizer'
tmux -2 select-pane -t $SESSION:0.1
tmux -2 select-pane -t $SESSION:0.0
# 1.1 is DOWN
for i in "\\"
do tmux -2 send-keys -t $SESSION:0.1 "$i"
done
# 1.0 is UP
for i in "C-l" "Enter" "2"
do tmux -2 send-keys -t $SESSION:0.0 "$i"
done
tmux -2 set -t $SESSION -g status off
tmux -2 attach-session -t $SESSION
Last edited by MadCatMk2 (2012-09-27 11:38:09)
Offline
####################################################
## this is example configuration file, copy it to ##
## ~/.ncmpcpp/config and set up your preferences ##
####################################################
##### connection settings #####
mpd_host = "localhost"
mpd_port = "6600"
mpd_music_dir = "~/music"
##### song format #####
song_list_format = "{$5%a $9}{$2%t$9}|{$7%f$9}$7$R{%b }{$3%4l$9}$9"
song_status_format = "$1{{$5%a$9{ $7%b$9{ $2%t$9}} }{($4%y$9)}}|{$7%f$9}$9"
song_library_format = "{$3%n $9}{$2%t$9}|{$7%f$9}"
tag_editor_album_format = "{%y }$7%b$9"
song_window_title_format = "{%a - }{%t}{ (%b)}|{%f} {[%l]}"
##### columns settings #####
song_columns_list_format = "(30)[blue]{a} (40)[red]{t|f} (30)[cyan]{br} (4f)[green]{lr}"
##### various settings #####
#progressbar_look = "━⊙"
progressbar_look = "─⊙╶"
header_visibility = "no"
titles_visibility = "no"
ask_before_clearing_main_playlist = "yes"
ignore_leading_the = "yes"
mouse_support = "no"
external_editor = "vim"
use_console_editor = "yes"
##### colors definitions #####
header_window_color = "red"
main_window_color = "white"
volume_color = "yellow"
state_line_color = "black"
state_flags_color = "red"
progressbar_color = "black"
statusbar_color = "green"
#alternative_ui_separator_color = "black"
main_window_highlight_color = "red"
active_column_color = "green"
window_border_color = "red"
Offline
Hello,m
I use media library, and the only thing i miss is Album artist support in media_library_left_column, I can put 'a' in it, but my compilation are spread across artists and if I put 'A', i have only album with albumartist tag on left column instead of "Album Artist | Artist" (I tried "A|a" in media_library_left_column, but it doesn't work).
How do you guys deal with compilation ?
Asked 2 years ago and still not answered. Been looking for this myself. Anyone?
The following seems to be ignored (only 'artists' is displayed):
media_library_left_column = "{A|a}"
or
media_library_left_column = "{A}|{a}"
Last edited by graysky (2012-11-13 17:59:16)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
m4rs wrote:Hello,m
I use media library, and the only thing i miss is Album artist support in media_library_left_column, I can put 'a' in it, but my compilation are spread across artists and if I put 'A', i have only album with albumartist tag on left column instead of "Album Artist | Artist" (I tried "A|a" in media_library_left_column, but it doesn't work).
How do you guys deal with compilation ?Asked 2 years ago and still not answered. Been looking for this myself. Anyone?
The following seems to be ignored (only 'artists' is displayed):
media_library_left_column = "{A|a}"
or
media_library_left_column = "{A}|{a}"
Yes, it seems that if the media_library_left_column is set to "A" and the Album Artist field of a given track is empty, then that track will be sorted under <empty>. It does not fall back to sorting by Artist. Personally, I use media_library_left_column = "a", and type `A when needing to add a compilation / multiple-artist album.
One feature I'd like is the ability to sort by Album Artist Sort Order, so people like 植松伸夫 would be sorted under "U". A bonus would be the ability to search by this field as well.
@archun: Intel® Core™ i5-4210M • [GPU] Intel® HD Graphics 4600 • [Kernel] linux-ck-haswell
Handmade.Network • GitLab
The Life and Times of Miblo del Carpio
Offline
A work around (which sucks) is to tag your collect with picard and MAKE SURE to use the albumartist tag therein set to 'various artists' for all of them. Then add this to your config and it works just fine.
media_library_left_column = "A"
There is this bug report from upstream that is set to fixed, but it is unclear if the fix is to use the program from extras he talks about. I opened a feature request against the Arch package to include that program. It sucks on two levels:
1) It'll jack with the DTS on the files (doesn't preserve them like picard does if you tell it to do so).
2) Only works on mp3/ogg/flac which leaves out aac and m4a.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I'm using ncmpcpp to control a mpd server over my local network. But I miss the visualisation, as named pipes doesn't work over NFS shares.
So, i'm using netcat to share it over the network:
Server-side: [c]netcat client_ip 1234 < /path/to/server/fifo[/c] send piped data to client_ip
Client-side: [c]netcat -lk 1234 > /path/to/client/fifo[/c] receive data from server, and pipe it to ncmpcpp
So, I start netcat + ncmpcpp on the client, and then, netcat on the server. But if I close ncmpcpp, I get a broken pipe and the server-side netcat is stopping.
How do you think I can handle this, so each time I start ncmpcpp, the connection between the two pipes can be established ?
Hobbes: Shouldn't we read the instructions?
Calvin: Do I look like a sissy ?
Offline
Offline
##### song format #####
##
## for song format you can use:
##
## %l - length
## %f - filename
## %D - directory
## %a - artist
## %A - album artist
## %t - title
## %b - album
## %y - year
## %n - track number (01/12 -> 01)
## %N - full track info (01/12 -> 01/12)
## %g - genre
## %c - composer
## %p - performer
## %d - disc
## %C - comment
## $R - begin right alignment
##
## 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}
##
## Note: 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'.
##
## Note: 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 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 (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(30)[red]{b}
##
## Note: colors can be nested.
##
song_list_format = "{$5%a $9}{$2%t$9}|{$7%f$9}$7$R{%b }{$3%4l$9}$9
song_status_format = "{{%a{ \"%b\"{ (%y)}} - }{%t}}|{%f}"
song_library_format = "{%N - }{%t}|{%f}"
tag_editor_album_format = "{(%y) }%b"
now_playing_prefix = "$b"
##
## Note: Below variables are for alternative version of user's interface.
## Their syntax supports all tags and colors listed above plus some extra
## markers used for text attributes. They are followed by character '$'.
## After that you can put:
##
## - b - bold text
## - u - underline text
## - r - reverse colors
## - a - use alternative character set
##
## If you don't want to use an attribute anymore, just put it again, but
## this time insert character '/' between '$' and attribute character,
## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename
## with reversed colors.
##
alternative_header_first_line_format = "$b$8$aqqu$/a$9 $2{%t}|{%f}$9 $8$atqq$/a$9$/b"
alternative_header_second_line_format = "$b$8$aqqu$/a$9 $3{%b}|{%f}$9 $8$atqq$/a$9$/b"
##
## syntax of song columns list format is "column column etc."
##
## - syntax for each column is:
##
## (width of column)[column's color]{displayed tag}
##
## Note: Width is by default in %, if you want a column to
## have fixed size, add 'f' after the value, e.g. (10)[white]{a}
## will be the column that take 10% of screen (so the real column's
## width will depend on actual screen size), whereas (10f)[white]{a}
## will take 10 terminal cells, no matter how wide the screen is.
##
## - color is optional (if you want the default one, type [])
##
## Note: You can give a column additional attributes by putting appropriate
## character after displayed tag character. Available attributes are:
##
## - r - column will be right aligned
## - E - if tag is empty, empty tag marker won't be displayed
##
## You can also:
##
## - give a column custom name by putting it after attributes,
## separated with character ':', e.g. {lr:Length} gives you
## right aligned column of lengths named "Length".
##
## - define sequence of tags, that have to be displayed in case
## predecessor is empty in a way similar to the one in classic
## song format, i.e. using '|' character, e.g. {a|c|p:Owner}
## creates column named "Owner" that tries to display artist
## tag and then composer and performer if previous ones are
## not available.
##
#
song_columns_list_format = "(4)[blue]{n:#} (25)[blue]{a} (40)[blue]{t|f} (30)[blue]{b} (7f)[blue] {l}"
#
##### various settings #####
#
##
## Note: Custom command that will be executed each
## time song changes. Useful for notifications etc.
##
## Attention: It doesn't support song format anymore.
## Use `ncmpcpp --now-playing SONG_FORMAT` instead.
##
playlist_show_remaining_time = "yes"
playlist_separate_albums = "yes"
playlist_display_mode = "columns" (classic/columns)
browser_display_mode = "columns" (classic/columns)
search_engine_display_mode = "columns" (classic/columns)
##
## Note: You can specify third character which will
## be used to build 'empty' part of progressbar.
##
progressbar_look = "✠❱•"
default_place_to_search_in = "database"
user_interface = "alternative"
media_library_left_column = "A"
header_visibility = "no"
titles_visibility = "yes"
##
## Note: If you set this variable, 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.
##
## Note: Language has to be expressed as an ISO 639 alpha-2 code.
##
show_hidden_files_in_local_browser = "no"
display_screens_numbers_on_start = "yes"
##
## How shall key_screen_switcher work?
##
## - "previous" - switch between current and last used screen
## - "sequence: 2 -> 9 -> 5" - switch between given sequence of screens.
##
## Screen numbers you can use after 'sequence' keyword are:
##
## - 1 - help
## - 2 - playlist
## - 3 - browser
## - 4 - search engine
## - 5 - media library
## - 6 - playlist editor
## - 7 - tag editor
## - 8 - outputs
## - 9 - visualizer
## - 10 - clock
##
## As you can see, above example will switch between
## playlist, visualizer and media library screens.
##
screen_switcher_mode = "sequence: 2 -> 3"
startup_screen = "3"
ask_before_clearing_main_playlist = "yes"
clock_display_seconds = "yes"
display_volume_level = "yes"
display_bitrate = "no"
display_remaining_time = "yes"
regular_expressions = "extended"
##
## 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"
mouse_support = "no"
media_library_display_date = "yes"
media_library_display_empty_tag = "yes"
media_library_disable_two_column_mode = "no"
enable_window_title = "yes"
##
## Note: Below variables can allow you to physically
## remove files and directories from your hdd using
## ncmpcpp's browser screen.
##
allow_physical_files_deletion = "no"
allow_physical_directories_deletion = "no"
external_editor = "vim"
use_console_editor = "yes"
##### colors definitions #####
colors_enabled = "yes"
header_window_color = "default"
main_window_color = "white"
progressbar_color = "green"
alternative_ui_separator_color = "red"
active_column_color = "red"
--------------------------------------
alcoves wonder creates the wonder unto the ages; never lose that.
Offline
Great ideas here - thanks!
Unfortunately for me "progressbar_look = "─⊙╶"" doesn't work, the ⊙ isn't displayed correctly. Other symboles like "|" do work. I guess its some sort of encoding problem, but where would you suspect the source of the problem(config-encoding, ncmpcpp, terminal)?
I'm using urxvt and normal utf8 settings.
Thanks in advance!
edit: Sorry jasonwryan! Problem already solved, was caused by the (bold?) terminal font.
Last edited by Isildur (2013-03-05 08:35:46)
Offline
Not a support thread: please start a new thread with more details, like the output of locale -a and the terminal emulator you use etc...
Offline
Hello I am wondering how can i use hexadecimal codes in ncmpcpp? There seems to be only a select amount of colors available.
Offline
Did you read the post above yours? This is not a support thread: it is for sharing screenshots...
Offline
Offline