shdown / luastatus

universal status bar content generator
GNU General Public License v3.0
295 stars 12 forks source link

mpd error #45

Closed lieux closed 5 years ago

lieux commented 5 years ago

When I run luastatus from the terminal, an error pops up:

luastatus: (mpd@mpd.lua) warning: (candiate) connect: Connection refused

But mpd works fine. I can control it my with bindings and whatnot. What does this error mean?

shdown commented 5 years ago

Well, the plugin calls the getaddrinfo() function that resolves a domain name into a list of IP addresses; then the plugin iterates over that list and tries to connect to any of them. This warning means that it failed to connect to the first one, and, since you say that it works fine, connected successfully to the second one.

This is a harmless warning, in other words.

lieux commented 5 years ago

I guess I have no problems then. Thank you.