I SOLVED IT. SEE BOTTOM IF YOU WANT TO.
I installed mpd succesfully, but when I start up mpc i get the following error:
MPD_HOST and/or MPD_PORT environment variables are not set
error: problems getting a response from "localhost" on port 6600 : Connection refused
When I the following mpc will run but only for the time I leave the terminal open. (Does anyone know how to make this permanent?)
But then when i get mpc running, updated and added songs it won't play but just reports the volume: 61% repeat: off random
mpc add /
When I use conky to display mpd i get the error:
Conky: MPD error: problems getting a response from "localhost" on port 6600 : Connection refused
The strange thing is that when I use sonata I can play music.
I am confused and don't know what to do to get it working
This are the relevant parts of my mpd.conf
And this is my /etc/hosts
127.0.1.1 DELL.WORKGROUP DELL
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
reports: tcp 0 0 127.0.0.1:6600 ****** LISTEN
Thanks in advance!
I managed to solve myself by accident...
I only had to export the host and NOT the port. I don't know why, but it works.