You are not logged in.

#1 2013-08-03 07:35:16

tedbell
Member
Registered: 2012-08-04
Posts: 167

ncmpcpp visualizer_look problems

HI, I am having trouble with ncmpcpp displaying "special characters" for the visualizer.
When I use regular characters the visualizer works fine but if I enter special charcters such as: ░♦ I get the following error on startup:

Warning: length of visualizer_look should be 2, but it's 0, discarding.

and the visualizer tab in ncmpcpp displays:

There is no output named "FIFO!"

It used to work fine but I am not sure what changed it to its current state.

here is my current ncmpcpp config file:

% egrep -v '^#' .ncmpcpp/config
mpd_music_dir = "/media/sda3/Jamie/Music"
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 = "◆▋"
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 = "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"
playlist_disable_highlight_delay = "0"

and just incase, here's my mpd configuration:

music_directory  "/media/sda3/Jamie/Music"
db_file  "/home/gorf/.mpd/database"
log_file "/home/gorf/.mpd/log"
pid_file  "/home/gorf/.mpd/pid"
state_file  "/home/gorf/.mpd/state"
playlist_directory  "/home/gorf/.mpd/playlists"
#bind_to_address ""  #uncomment if you want to access mpd from other machines
bind_to_address  "127.0.0.1"
bind_to_address  "/home/gorf/.mpd/socket"
#user                                 "user"
#group                                "nogroup"
port                                  "6600"
#log_level                            "default"
gapless_mp3_playback                  "yes"
#restore_paused                       "no"
#save_absolute_paths_in_playlists     "no"
metadata_to_use                       "artist,album,title,track,name,genre,date,composer,performer,disc,albumartist,albumartistsort"
auto_update                           "no"
#auto_update_depth                    "10"
#follow_outside_symlinks              "yes"
#follow_inside_symlinks               "yes"
#zeroconf_enabled                     "yes"
#zeroconf_name                        "Music Player"

#password                             "password@read,add,control,admin"
#default_permissions                  "read,add,control,admin"


###### INPUT PLUGINS #####

input {
        plugin                        "curl"
#       proxy                         "proxy.isp.com:8080"
#       proxy_user                    "user"
#       proxy_password                "password"
}

playlist_plugin {
       name                           "lastfm"
       user                           "USER"
       password                       "PASS"
}


##### DECODER #####

decoder {
       plugin                         "ffmpeg"
       enable                         "no"            #disable, because it crashes mpd, if m3u/pls files are present in music_directory
}


###### OUTPUT PLUGINS #####

audio_output {
    type        "alsa"
    name        "My ALSA EQ"
    auto_resample    "no"
    use_mmap        "yes"
    device        "plug:plugequal"
    format        "48000:24:2"    # 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"
}

#audio_output {
# type                                "recorder"
# name                                "My recorder"
# encoder                             "vorbis"    # optional, vorbis or lame
# path                                "/var/lib/mpd/recorder/mpd.ogg"
##  quality                           "5.0"     # do not define if bitrate is defined
# bitrate                             "128"     # do not define if quality is defined
# format                              "44100:16:1"
#}


#audio_output {
#  type                                "httpd"
#  name                                "Internet Stream"
#  encoder                             "vorbis"    # optional, vorbis or lame
#  port                                "8000"
#  bind_to_address                     "192.168.1.13"    # optional, IPv4 or IPv6
# quality                              "5.0"     # do not define if bitrate is defined
#  bitrate                             "128"     # do not define if quality is defined
# format                               "44100:16:1"
#  max_clients                         "1"     # optional 0=no limit
#}


#audio_output {
#        type                           "pulse"
#        name                           "Pulseaudio"
##      server                         "127.0.0.1   "          # optional
##      sink                           "remote_server_sink"    # optional
#}


audio_output_format                    "48000:24:2"
#samplerate_converter                  "Fastest Sinc Interpolator"
replaygain                             "album"
replaygain_preamp                      "6"
#volume_normalization                  "no"
#audio_buffer_size                     "2048"
#buffer_before_play                    "10%"
#connection_timeout                    "60"
#max_connections                       "10"
#max_playlist_length                   "16384"
#max_command_list_size                 "2048"
#max_output_buffer_size                "8192"
#filesystem_charset                    "UTF-8"
#id3v1_encoding                        "ISO-8859-1"


##### SIDPlay decoder ######

#decoder {
# plugin                               "sidplay"
# songlength_database                  "/media/C64Music/DOCUMENTS/Songlengths.txt"
# default_songlength                   "120"
# filter                               "true"
#}

Thanks for any help.

Offline

#2 2013-08-03 08:04:00

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: ncmpcpp visualizer_look problems

it works here. in my ncmpcpp config I have...

visualizer_output_name = "FIFO"

the rest looks good to me.

Offline

#3 2013-08-03 08:23:05

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: ncmpcpp visualizer_look problems

Thanks. I tried that actually. The same problem persists. sad

Offline

#4 2013-08-03 08:53:02

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: ncmpcpp visualizer_look problems

well that is the only relevent discrepency I see.

Edit: do you have problems with special characters any where else?

Last edited by bleach (2013-08-03 09:06:40)

Offline

#5 2013-08-03 10:26:25

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: ncmpcpp visualizer_look problems

Nope. Special Characters work everywhere else. The problem is with the visualizer_look variable.

Offline

#6 2013-08-03 10:33:56

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: ncmpcpp visualizer_look problems

have you tried it with one character with a space i.e. "░ "

Offline

#7 2013-08-03 10:38:00

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: ncmpcpp visualizer_look problems

Yea. No luck.

Offline

Board footer

Powered by FluxBB