You are not logged in.

#1 2015-07-19 00:42:27

cafeclimber
Member
Registered: 2015-05-24
Posts: 12

ncmpcpp visualizer not working (blank) [solved]

I've googled my heart out, and everything I can find either uses fixes I've tried, edits to configs I've tried, or is related to people being thrown errors.

I've not been thrown any errors, my visualizer just remains blank. Below are my mpd.conf and my ncmpcpp config files.

~/.mpd/mpd.conf
music_directory "/home/rdcampbell/Music"
playlist_directory "/home/rdcampbell/.mpd/playlists"
db_file "/home/rdcampbell/.mpd/mpd.db"
log_file      "/home/rdcampbell/.mpd/mpd.log"
pid_file      "/home/rdcampbell/.mpd/mpd.pid"
state_file     "/home/rdcampbell/.mpd/mpdstate"
audio_output {
    type  "alsa"
    name  "Alsa"
}
audio_output {
    type                    "fifo"
    name                  "my_fifo"
    path                    "/home/rdcampbell/.mpd/mpd.fifo"
    format                  "44100:16:2"
}

~/.ncmpcpp/config

 mpd_music_dir = "/home/rdcampbell/Music/"
 mpd_connection_timeout = "5"
 mpd_crossfade_time = "5"
 playlist_disable_highlight_delay = "0"
 playlist_display_mode = "columns"
 browser_display_mode = "columns"
 incremental_seeking = "yes"
 autocenter_mode = "yes"
 header_visibility = "yes"
 statusbar_visibility = "yes"
 fancy_scrolling = "yes"

 visualizer_fifo_path = "/home/rdcampbell/.mpd/mpd.fifo"
 visualizer_output_name = "my_fifo"
 visualizer_sync_interval = "30"
 visualizer_in_stereo = "yes"
 #visualizer_type = "wave" (spectrum/wave)
 visualizer_type = "spectrum" (spectrum/wave)

Last edited by cafeclimber (2015-07-20 19:50:57)

Offline

#2 2015-07-19 04:44:43

hydracone
Member
Registered: 2015-06-25
Posts: 24

Re: ncmpcpp visualizer not working (blank) [solved]

In you ncmpcpp config, you have

visualizer_type = "spectrum" (spectrum/wave)

I think you need to get rid of that (spectrum/wave) over there..

Offline

#3 2015-07-19 15:19:36

cafeclimber
Member
Registered: 2015-05-24
Posts: 12

Re: ncmpcpp visualizer not working (blank) [solved]

hydracone wrote:

In you ncmpcpp config, you have

visualizer_type = "spectrum" (spectrum/wave)

I think you need to get rid of that (spectrum/wave) over there..

Nada. I believe it came that way in the example config, but I did try deleting it to no avail...

Offline

#4 2015-07-19 20:49:42

ScholarsMate
Member
Registered: 2015-07-10
Posts: 4

Re: ncmpcpp visualizer not working (blank) [solved]

Can you give the output of

ls -l ~/.mpd/

I'm just guessing, but perhaps the fifo file is not being created correctly?

Edit: Have you also ensured that the output is enabled? Press 7 to get to the outputs and toggle it to make sure it is on.

Last edited by ScholarsMate (2015-07-19 20:54:12)

Offline

#5 2015-07-19 21:11:35

cafeclimber
Member
Registered: 2015-05-24
Posts: 12

Re: ncmpcpp visualizer not working (blank) [solved]

ScholarsMate wrote:

Can you give the output of

ls -l ~/.mpd/

I'm just guessing, but perhaps the fifo file is not being created correctly?

Edit: Have you also ensured that the output is enabled? Press 7 to get to the outputs and toggle it to make sure it is on.

Sure thing:

total 48
-rw-r--r-- 1 rdcampbell rdcampbell   530 Jul 18 19:29 mpd.conf
-rw-r--r-- 1 rdcampbell rdcampbell   338 Jul 18 19:16 mpd.conf~
-rw-r--r-- 1 rdcampbell rdcampbell  6028 Jul 18 18:44 mpd.db
prw-r--r-- 1 rdcampbell rdcampbell     0 Jul 18 19:29 mpd.fifo
-rw-r--r-- 1 rdcampbell rdcampbell 16651 Jul 19 12:23 mpd.log
-rw-r--r-- 1 rdcampbell rdcampbell     5 Jul 18 19:26 mpd.pid
-rw-r--r-- 1 rdcampbell rdcampbell  1298 Jul 19 12:24 mpdstate
drwxr-xr-x 2 rdcampbell rdcampbell  4096 Jul 18 19:17 playlists

I mean, everything works perfectly except the visualizer. I have seen error codes regarding the fifo not being created properly, not having permissions etc. but I fixed all of those errors. Now it is just blank and I receive no error messages.

Offline

#6 2015-07-19 21:20:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: ncmpcpp visualizer not working (blank) [solved]

Try adding a sync interval:

visualizer_sync_interval = "1"
visualizer_type = "wave"

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-07-20 19:49:42

cafeclimber
Member
Registered: 2015-05-24
Posts: 12

Re: ncmpcpp visualizer not working (blank) [solved]

jasonwryan wrote:

Try adding a sync interval:

visualizer_sync_interval = "1"
visualizer_type = "wave"

Already had one set to 30. Tried setting to 1 after you comment. Fixed it right up. So strange.

Offline

Board footer

Powered by FluxBB