|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
Help with ncmpcpp please
I've done pkg_add with mpd, mpc and ncmpcpp and enabled the mpd daemon.
I've read the man pages for all and reviewed a post by Shep at: http://daemonforums.org/showthread.php?t=8282 For ~/.mpdconf I set music_directory as "~/Music" and left the rest as defaults. For ~/.ncmpcpp/config I set mpd_music_directory as ~/Music and left the rest as defaults. When i start ncmpcpp I'm in a blank playlist screen with "connected to localhost" at the bottom". Hitting #2 brings me to a blank Browse: / screen. Hitting #2 again brings up a message: "For browsing local filesystem connection to MPD via Unix Socket is required" If I do doas mpd, I get: exception: failed to bind to '127.0.0.1:6600' exception:nested:Failed to bind socket:Address already in use At this point I am stuck and would appreciate any assistance. Thank you |
|
|||
And:
stanl:~$ doas mpd doas (stanl@absalom.fios-router.home) password: Nov 30 13:21 : exception: bind to '127.0.0.1:6600' failed (continuing anyway, because binding to '/var/run/mpd/socket' succeeded): Failed to bind socket: Address already in use Nov 30 13:21 : exception: bind to '[::1]:6600' failed (continuing anyway, because binding to '/var/run/mpd/socket' succeeded): Failed to bind socket: Address already in use |
|
|||
The mpd package comes with a default '/etc/mpd.conf which starts the mpd daemon. If you review /etc/mpd.conf, you will see that it's places most of it files (including the Music directory) in /var and defaults to localhost.
For local use, rename /etc/mpd.conf -> /etc/mpd.backup. If you followed my post, you should have created a local .mpd/mpd.conf that creates a unix socket. Also, no need for "doas". If mpd is started by a user, it will be able to access the users home directory. If you copy/paste my post, it should work. Last edited by shep; 30th November 2019 at 08:40 PM. |
|
|||
Shep - I pkg_deleted everything and then added it all back to start fresh.
I followed your instructions and everything is now working. Not sure where I screwed up first time around but I thank you for your time. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ncmpcpp does not open? | ucharfli | OpenBSD Packages and Ports | 11 | 26th September 2017 10:10 PM |