You are not logged in.

#1 2022-01-02 10:55:32

WeebSpirit
Member
Registered: 2021-10-27
Posts: 47

[SOLVED]mpd doesn't read music_directory

There's my mpd config file located at ~/.config/mpd/mpd.conf

# Recommended location for database
db_file            "~/.config/mpd/database"

# Logs to systemd journal
log_file           "syslog"

# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
music_directory    "~/Music/e"

# Uncomment to refresh the database whenever files in the music_directory are changed
auto_update "yes"

# Uncomment to enable the functionalities
#playlist_directory "~/.config/mpd/playlists"
#pid_file           "~/.config/mpd/pid"
#state_file         "~/.config/mpd/state"
#sticker_file       "~/.config/mpd/sticker.sql"
audio_output {
        type            "pipewire"
        name            "PipeWire Sound Server"
}

I start it using

systemctl enable --user mpd.service

Last edited by WeebSpirit (2022-01-09 12:13:37)

Offline

#2 2022-01-02 12:23:49

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 6,217

Re: [SOLVED]mpd doesn't read music_directory

Have you (re)built the database? For example

mpc update

Offline

#3 2022-01-02 13:09:00

WeebSpirit
Member
Registered: 2021-10-27
Posts: 47

Re: [SOLVED]mpd doesn't read music_directory

Installed mpc, did mpc update. Still ncmpcpp doesn't show anything

Offline

#4 2022-01-02 14:39:44

WeebSpirit
Member
Registered: 2021-10-27
Posts: 47

Re: [SOLVED]mpd doesn't read music_directory

Here's my ncmpcpp config

# Files
mpd_music_dir = "~/Music/e" 
ncmpcpp_directory  = ~/.config/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"
# song_columns_list_format = "(25)[4]{a} (34)[8]{t} (5)[6]{l}"
song_columns_list_format = (20)[green]{a} (50)[white]{t|f:Title} (20)[blue]{b} (7f)[blue]{l}

#make playlist invisible for art
visualizer_look = "  "
# visualizer_color = green
visualizer_color = black

# unset the below to enable visualizer behind art
visualizer_type = wave

startup_screen = visualizer
startup_slave_screen = playlist
startup_slave_screen_focus = yes
locked_screen_width_part = 30

Offline

#5 2022-01-09 11:09:30

WeebSpirit
Member
Registered: 2021-10-27
Posts: 47

Re: [SOLVED]mpd doesn't read music_directory

I was told many times not to bump, but what am i supposed to do? I gave all i had: my client's config, my mpd config, i updated the database, but still i can't use it. What useful info should i give if i don't have any?

Offline

#6 2022-01-09 11:24:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 15,069

Re: [SOLVED]mpd doesn't read music_directory

Did you check mpd logs? e.g.

journalctl --user-unit=mpd

it normally list something if it has found music. How certain are you that Music directory is correct, that ~/Music/e is the correct path? Don't you just want ~/Music ?

Last edited by V1del (2022-01-09 11:24:51)

Online

#7 2022-01-09 11:28:18

WeebSpirit
Member
Registered: 2021-10-27
Posts: 47

Re: [SOLVED]mpd doesn't read music_directory

V1del wrote:

Did you check mpd logs? e.g.

journalctl --user-unit=mpd

it normally list something if it has found music. How certain are you that Music directory is correct, that ~/Music/e is the correct path? Don't you just want ~/Music ?

I have a ~/Music dir in which there's 'e' dir, in which is music

Offline

#8 2022-01-09 11:30:40

WeebSpirit
Member
Registered: 2021-10-27
Posts: 47

Re: [SOLVED]mpd doesn't read music_directory

here's logs Jan 02 12:44:55 arch systemd[629]: Starting Music Player Daemon...
Jan 02 12:44:56 arch mpd[636]: server_socket: bind to '0.0.0.0:6600' failed (continuing anyway, because binding to '[::]:6600' succeeded): Fail>
Jan 02 12:44:56 arch mpd[636]: decoder: Decoder plugin 'wildmidi' is unavailable: configuration file does not exist: /etc/timidity/timidity.cfg
Jan 02 12:44:56 arch systemd[629]: Started Music Player Daemon.
Jan 02 12:45:20 arch mpd[636]: exception: Stored playlists are disabled
Jan 02 12:45:20 arch mpd[636]: exception: Stored playlists are disabled
Jan 02 12:45:21 arch mpd[636]: exception: Stored playlists are disabled
Jan 02 12:45:22 arch mpd[636]: exception: Stored playlists are disabled
Jan 02 12:45:22 arch mpd[636]: exception: Stored playlists are disabled

Offline

#9 2022-01-09 11:51:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 15,069

Re: [SOLVED]mpd doesn't read music_directory

What kind of music is this, do they have proper tags? Which listing are you looking at? Afaik the ncmpcpp starts out in playlist view which will be empty by default, have you tried checking the library with 4 ?

Online

#10 2022-01-09 12:13:23

WeebSpirit
Member
Registered: 2021-10-27
Posts: 47

Re: [SOLVED]mpd doesn't read music_directory

V1del wrote:

What kind of music is this, do they have proper tags? Which listing are you looking at? Afaik the ncmpcpp starts out in playlist view which will be empty by default, have you tried checking the library with 4 ?

Thank you, appears that all i had to do was pressing 4 in ncmpcc

Offline

Board footer

Powered by FluxBB