Search found 2 matches

by wangledorf
February 13th, 2021, 5:02 pm
Forum: Developers' Corner
Topic: How to authenticate client using libmpdclient?
Replies: 2
Views: 421

Re: How to authenticate client using libmpdclient?

Thanks, that works! And I appreciate the explanation; that makes perfect sense. I changed my mpd config to remove bind_to_address "127.0.0.1" so that it will automatically bind to $XDG_RUNTIME_DIR/mpd/socket . Then I updated the client to connect via mpd_connection_new(NULL, 0, 0) and set MPD_HOST="...
by wangledorf
February 13th, 2021, 7:06 am
Forum: Developers' Corner
Topic: How to authenticate client using libmpdclient?
Replies: 2
Views: 421

How to authenticate client using libmpdclient?

Hello! I'm writing a simple TUI mpd client as a side project and I'm running into a problem I'm not sure how to solve. (I know there are a bunch of existing TUI clients but this is just for fun/learning purposes). I would like to be able to add a song to the playlist that resides outside of the conf...