Wikia

Music Player Daemon Community Wiki

How to connect to the Unix Socket for added operations

525pages on
this wiki
Talk0

How to connect to the Unix Socket for added operations

1.Open your mpd.conf file, uncomment and fill the line that says bind_to_address with your FULL .mpd path

bind_to_address "/home/USER/.mpd/socket"

2. Add the following line to your .bashrc file

export MPD_HOST=/home/USER/.mpd/socket

and reload bash or reboot.

3.restart mpd

4. you can now add songs through the command line to mpd using the following command

mpc add file:///home/USER/FILE.mp3

Around Wikia's network

Random Wiki