Article 5AZE5 Mpc lists database as empty

Mpc lists database as empty

by
metroid640
from LinuxQuestions.org on (#5AZE5)
I've been using mpc for almost a year and was loving it. But one day it just stopped working.
When I try running "mpc ls" I get nothing.
Running "mpc update" doesn't change anything.
In fact "mpc stats" shows that the database hasn't been updated in some time.
Attempting to run "systemctl restart mpd" doesn't do much either.

It was running fine yesterday until I updated and restarted the computer. I'm on Linux Mint 19 with mpc 0.20.0

Here's my mpd.config:
Code:music_directory "~/music"
playlist_directory "~/.config/mpd/playlists"
# mpd defaults to localhost:6600 which conflicts with systemd
bind_to_address "127.0.0.1:5460"
db_file "~/.config/mpd/database"

log_file "~/.config/mpd/log"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
restore_paused "yes"
auto_update "yes"
volume_normalization "yes"

# audio_output {
# type "alsa"
# name "my_alsa"
# mixer_type "software"
# # device "hw:0,0"
# }

audio_output {
type "pulse"
name "my_pulse"
}

# audio_output {
# type "osx"
# name "CoreAudio"
# mixer_type "software"
# buffer_time "50000"
# }Here's my directory structore:

Code:(ins)~/.config/mpd$ tree -I playlists ./
./
database
log
mpd.conf
pid
stateAny help would be much appreciated thanks. My database file seems to be intact but mpc treats it like it's empty.latest?d=yIl2AUoC8zA latest?i=A1mgFg0mEDo:FqjWRzWGxDg:F7zBnMy latest?i=A1mgFg0mEDo:FqjWRzWGxDg:V_sGLiP latest?d=qj6IDK7rITs latest?i=A1mgFg0mEDo:FqjWRzWGxDg:gIN9vFwA1mgFg0mEDo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments