You are not logged in.

#1 2021-12-28 17:36:20

itsVugz
Member
Registered: 2021-12-28
Posts: 4

I can't get audio in ncmpcpp (Voluma: n\a)

I'm having issues getting ncmpcpp to have audio, the keyboard commands don't work and volume just displays Volume: n\a.
Here is my mpd.conf and ncmpcpp config files. I am using PulseAudio and Kmix, if that is helpful:

.config/mpd/mpd.conf

db_file             "~/.config/mpd/mpd.db"
music_directory     "~/Music"
playlist_directory  "~/.config/mpd/playlists"

# Audio output
audio_output {
        type            "pulse"
        name            "pulse audio"
}

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

input {
        plugin "curl"
}

.config/ncmpcpp/config

ncmpcpp_directory = ~/.config/ncmpcpp

mpd_host = localhost
mpd_port = 6600
mpd_connection_timeout = 5
mpd_music_dir = ~/Music
mpd_crossfade_time = 5

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

# Visualizer
visualizer_output_name = Visualizer feed
visualizer_in_stereo = yes
visualizer_type = wave_filled
visualizer_fps = 60
visualizer_autoscale = no
visualizer_look = ++

Edit: The songs play and mpd is working just fine, but I can't get audio to work in ncmpcpp, but audio works on Firefox just fine

Last edited by itsVugz (2021-12-28 17:37:20)

Offline

#2 2021-12-28 18:13:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,296

Re: I can't get audio in ncmpcpp (Voluma: n\a)

What happens if you remove the fifo output from at least ncmpcpp.conf? If I'm reading the wiki correctly you'd just pass the file path to visualizer_data_source. In general also check whether you just put out the visualisation and don't actually connect to your pulse server (... what's the output of

pacmd list-sink-inputs

during attempted playback in mpd?)

Offline

#3 2021-12-28 20:28:44

itsVugz
Member
Registered: 2021-12-28
Posts: 4

Re: I can't get audio in ncmpcpp (Voluma: n\a)

V1del wrote:

What happens if you remove the fifo output from at least ncmpcpp.conf? If I'm reading the wiki correctly you'd just pass the file path to visualizer_data_source. In general also check whether you just put out the visualisation and don't actually connect to your pulse server (... what's the output of

pacmd list-sink-inputs

during attempted playback in mpd?)

Thanks for trying to help me!

I tried as you suggested and I removed the fifo output and replaced it with visualizer_data_source = path, it changes the visualization a bit but that's all.

I can't run the command, I get this.

zsh: command not found: pacmd

Does that mean pulseaudio is not correctly installed? I see it is from the extra repository, I changed my mirrors, do you think that could have affected it? (the Extra mirror was also changed)

Offline

#4 2021-12-28 22:16:02

itsVugz
Member
Registered: 2021-12-28
Posts: 4

Re: I can't get audio in ncmpcpp (Voluma: n\a)

[SOLVED]

I don't know what I did, but after not looking at for a while when I went to start ncmpcpp it refused, so I killed all mpd instances and restarted mpd and then bam, it works. I changed terminals, from terminator to kitty, so I'm not sure how correlated that can be. Anyways, thanks all for the help!

Offline

Board footer

Powered by FluxBB