Fandom

Music Player Daemon Community Wiki

How to connect to the Unix Socket for added operations

525pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

Also on Fandom

Random Wiki