You are not logged in.
Pages: 1
When I installed arch on my first machine I used ncmpcpp and mpd to listen to music. It worked fine. ncmpcpp is connected to the local host and mpd is running fine. However, for some reason when I play music it says [PAUSED]. I followed this here, yet it did not seem to be my issue: https://bbs.archlinux.org/viewtopic.php?id=157337
this is a copy of my mpd config file:
bind_to_address "127.0.0.1"
#bind_to_address "~/.mpd/socket"
music_directory "/place/music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
pid_file "~/.mpd/mpd.pid"
state_file "~/.mpd/mpdstate"
audio_output {
type "pulse"
name "pulse audio"
mixer_type "software"
}this is a copy of my ncmpcpp config file:
# Files
mpd_music_dir = "/place/music"
#lyrics_directory = ~/.ncmpcpp/lyrics
ncmpcpp_directory = ~/.ncmpcpp
mpd_host = "localhost"
mpd_port = "6600"
mpd_connection_timeout = "5"
mpd_crossfade_time = "5"
# Playlist
playlist_disable_highlight_delay = "0"
playlist_display_mode = "columns"
playlist_show_remaining_time = "yes"
browser_display_mode = "columns"
autocenter_mode = "yes"
fancy_scrolling = "yes"
follow_now_playing_lyrics = "yes"
display_screens_numbers_on_start = "yes"
ignore_leading_the = "yes"
lyrics_database = "1"
song_columns_list_format = "(10)[blue]{l} (30)[green]{a} (30)[magenta]{b} (50)[yellow]{t}"
colors_enabled = "yes"
main_window_color = "white"
main_window_highlight_color = "blue"
header_window_color = "cyan"
volume_color = "red"
progressbar_color = "cyan"
statusbar_color = "white"
active_column_color = "cyan"
active_window_border = "blue"
alternative_header_first_line_format = "$0$aqqu$/a {$7%a - $9}{$5%t$9}|{$8%f$9} $0$atqq$/a$9"
alternative_header_second_line_format = "{{$6%b$9}{ [$6%y$9]}}|{%D}"
song_list_format = "{$3%n │ $9}{$7%a - $9}{$5%t$9}|{$8%f$9}$R{$6 │ %b$9}{$3 │ %l$9}"
user_interface = "alternative"
#user_interface = "classic"
default_place_to_search_in = "database"
# visualizer
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "12"
#visualizer_type = "wave" (spectrum/wave)
visualizer_type = "spectrum" (spectrum/wave)
visualizer_in_stereo = "yes"
visualizer_look = "+|"
## Navigation ##
cyclic_scrolling = "yes"
header_text_scrolling = "yes"
jump_to_now_playing_song_at_start = "yes"
lines_scrolled = "2"
## Other ##
system_encoding = "utf-8"
regular_expressions = "extended"
## Selected tracks ##
selected_item_prefix = "* "
discard_colors_if_item_is_selected = "no"
## Seeking ##
incremental_seeking = "yes"
seek_time = "1"
## Visivility ##
header_visibility = "yes"
statusbar_visibility = "yes"
titles_visibility = "yes"
progressbar_look = "=>-"
progressbar_boldness = "yes"
progressbar_elapsed_color = "white"
now_playing_prefix = "> "
song_status_format = " $2%a $4⟫$3⟫ $8%t $4⟫$3⟫ $5%b "
autocenter_mode = "yes"
centered_cursor = "yes"
# Misc
display_bitrate = "yes"
# enable_window_title = "no"
follow_now_playing_lyrics = "yes"
ignore_leading_the = "yes"
empty_tag_marker = ""I have a feeling I made a mistake in the mpd configuration, probably with the "audio output" section.
Last edited by tomas99 (2018-03-05 19:24:58)
Offline
Please use code tags when pasting to the boards:
https://wiki.archlinux.org/index.php/Co … s_and_code
Is music being played and it is just the interface that is printing paused, or
is the demon stuck in a paused state?
Offline
Sorry about the formatting thing, my mistake. And the daemon is stuck in the paused state, no audio is being played.
Offline
And does it resume if you hit "P"? Or if you use mpc: `mpc play`?
If neither, please make sure the demon is killed and run: `mpd --no-daemon --stdout --verbose`
Offline
What actually ended up happening is that I could not kill the daemon because the
mpd.pidfile was not created in the directory I selected. So I restarted my computer, then ran
mpd --no-daemon --stdout -- verboseand everything worked. Thank you.
Offline
Pages: 1