Ncmpcpp help

Does anyone know how to make the text stop being offset by the “now playing” indicator?

@philT

@Dobbie03 I do, I just need to remember how I did it. Give me a tick…

Cheers!

@Dobbie03

I think its easiest if you could please post your config, and I’ll compare it to mine and I’ll figure it out from there.

I remember is was a royal pain in the arse to figure out, but simple in the end.

LOL that’s what I have been doing already. I’ll chip away at it man, if I get nowhere I’ll give you a heads up.

Cheers,

check that you have:

playlist_display_mode = “columns”

1 Like

PLEASE let me know if you sort this out before I get back to you. Its driving me nuts now too.

1 Like

Okay, firstly this should not be this difficult to achieve!!! :smiley:

playlist_display_mode = “columns” is already enabled for me. I changed it to classic and I could offset the first column from the now-playing prefix with this:

song_list_format = " $2%n $5%A $8%t $R$5%b $7%y $6%l"

But! It still offsets that line to the right.

This is driving me batshit. It feels like it is a simple thing I am missing.

Yep, this was me too trying to figure it out some time ago. Bare with me.

I’m trying everything, its so very very frustrating.

Can you replace your lines with these and see if there is any change:

song_list_format = “$5· $5{%a}|{%D}$5 · $5%t $R $5l”
song_status_format = “{{{$5%a$9}} $8-$9 {$8%t$9}|{$0%f$9} { $8-$9 $3%b$9}}}”

same thing man,

I’m about ready to give up. If you could get it to work and I used your config then theoritically it should work for me to?

Dam, man.

Yeah, it should work.

Addys config looks pretty tidy, and doesnt have the offset.
You try from scratch and see how that goes.

Another thought is this:

That because I dont have speak marks or dots as a prefix, my prefix symbols on “now playing” fit into that column space so there is no need to offset it. Try removing your music not symbol and test to see if it still offsets itself.
Or increase the column width for the first column.
Just a thought, but thats the only difference I can see at this point.

Yeah I am dense. I should removed the speech marks.

I have tried from scratch already lol. I dunno. I’m done. I’ve spent far too long already.

Thanks for your help man. I’m gonna move on, though this will probably nag me in the back of my mind all day.

I’ll keep lookng into it. Watch this space.

Cheers Man, just in case here is my config. It’s a little all over the show while I have been playing with it


#███╗   ██╗ ██████╗███╗   ███╗██████╗  ██████╗ ██████╗ ██████╗ 
#████╗  ██║██╔════╝████╗ ████║██╔══██╗██╔════╝ ██╔══██╗██╔══██╗
#██╔██╗ ██║██║     ██╔████╔██║██████╔╝██║      ██████╔╝██████╔╝
#██║╚██╗██║██║     ██║╚██╔╝██║██╔═══╝ ██║      ██╔═══╝ ██╔═══╝ 
#██║ ╚████║╚██████╗██║ ╚═╝ ██║██║     ╚███████╗██║     ██║     
#╚═╝  ╚═══╝ ╚═════╝╚═╝     ╚═╝╚═╝       ╚═════╝╚═╝     ╚═╝       

# MPD Settings .. 
mpd_music_dir = "/home/dobbie/Music"

#execute_on_song_change = ~/.config/ncmpcpp/mpdnotify

# Display ..

alternative_header_first_line_format = "{$5%t$/b}"
alternative_header_second_line_format = "$7{$b%a$/b}$9 - $5{%b}$9 $8{(%y)}"

song_list_format = "       $2%n $5%A $8%t $R$5%b $7%y $6%l"

song_columns_list_format ="       (10)[red]{n} (20)[cyan]{a} (45)[blue]{t} (20)[white]{b} (5)[cyan]{y} (7)[magenta]{l}"

song_status_format = "$b $8%A $8•$3• $3%t $3•$5• $5%b $5•$2• $2%y" (bold)
#song_status_format = "$8%A $8•$3• $3%t $3•$5• $5%b $5•$2• $2%y $2•$8• $8%g"   (regular)

playlist_display_mode = "classic" (classic/columns)
browser_display_mode = "columns" (classic/columns)
search_engine_display_mode = "columns" (classic/columns)

# Colours
## - 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
## - b - bold text
## - u - underline text

# Items
## %l - length
## %f - filename
## %D - directory
## %a - artist
## %A - album artist
## %t - title
## %b - album
## %y - date
## %n - track number (01/12 -> 01)
## %N - full track info (01/12 -> 01/12)
## %g - genre
## %c - composer
## %p - performer
## %d - disc
## %C - comment
## %P - priority
## $R - begin right alignment

# Now Playing ..

#now_playing_prefix = "$b$8»$2»$4»$3» "
now_playing_prefix = $b$8♫
#now_playing_suffix = "$8$/b"
#now_playing_prefix = "$b$2⟩$3⟩ "
#now_playing_suffix = "$8$/b"
#now_playing_suffix = {$b%t$/b}|{$r%f$/r}

# Playlist ..

browser_playlist_prefix = "$2 ♥ $0 "


# Delays .. 

playlist_disable_highlight_delay = "1"
#playlist_disable_highlight_delay = "0"
message_delay_time= "1"


# Progress Bar ..

progressbar_look = "─╼"
#progressbar_look ="─⊙┄"
#progressbar_look = "┅┅┄"
#progressbar_look = "─➞─"
#progressbar_look = "─┅─"
#progressbar_look = "▁▁▁"
#progressbar_look = "≈►·"
#progressbar_look = "→→"
progressbar_color = "blue"
progressbar_elapsed_color = "white"


# Colors ..

colors_enabled = "yes"
empty_tag_color = "red"
statusbar_color = "blue"
state_line_color = "black"
state_flags_color = "blue"
main_window_color = "blue" 
header_window_color = "white"
main_window_highlight_color = "blue"


# Misc ..   

display_bitrate = "yes"
autocenter_mode = "yes"
centered_cursor = "yes"
titles_visibility = "no"
statusbar_visibility = "yes"
empty_tag_marker=" -- ‼ -- " 
mouse_support = "yes"
header_visibility = "no"
display_remaining_time = "no"
ask_before_clearing_playlists = "yes"
discard_colors_if_item_is_selected = "yes"
user_interface = "classic" (classic/alternative)
default_find_mode = "wrapped"
lyrics_directory = "~/.lyrics"
follow_now_playing_lyrics = "yes"
store_lyrics_in_song_dir = "no"
ignore_leading_the = "yes"
lines_scrolled = 1
mouse_list_scroll_whole_page = no
startup_screen = playlist
execute_on_song_change="/usr/bin/mpd-popup"


# Visualizer ..

#visualizer_in_stereo = "yes"
visualizer_in_stereo = "yes"
visualizer_sync_interval = "30"
visualizer_output_name = "Pipe"
visualizer_fifo_path = "/tmp/mpd.fifo"

#visualizer_type = ellipse
#visualizer_type = "wave_filled"
visualizer_type = "spectrum"

#visualizer_look = ●▮
#visualizer_look = "▉▋"
#visualizer_look = "▋▋"
#visualizer_look = "◆▋"
#visualizer_look = "◈░"
visualizer_look = "││"
#visualizer_look = "▀▋"
#visualizer_look = "▀○"
#visualizer_look = "█▋"
#visualizer_look = "██"
#visualizer_look = "º|"
#visualizer_look = "▒░"
#visualizer_look = "▋▍"
#visualizer_look = "▋█"
#visualizer_look = "▋█"
#visualizer_look = "▋░"
#visualizer_look = "▋▓"
#visualizer_look = "▋☰"
#visualizer_look = "☰⛆"
#visualizer_look = "☰▓"

visualizer_color = blue, cyan, green, yellow, magenta, red

Try adding a blank column before your track number in the song_columns_list_format.

And let me know if this works.

I had that thought too, was trying to find how I do that. Do you know?

Try these mate:

song_list_format = “$5· $5{%a}|{%D}$5 · $5%t $R $5l”
song_status_format = “{{{$5%a$9}} $8-$9 {$8%t$9}|{$0%f$9} { $8-$9 $3%b$9}}}”
song_columns_list_format = “(5f)[250]{} (3f)[239]{} (35)[246]{t|f} (18)[blue]{a}(30)[green]{b} (7f)[246]{l}”

cross fingers