mpc-bar

macOS menu bar client for the Music Player Daemon
Log | Files | Refs | README | LICENSE

commit 6be73fead93766c53eb2243d76c09e0c62d94331
parent 8bb9f38ec860bd869171969518227cef5594c4fc
Author: Spencer Williams <spnw@plexwave.org>
Date:   Mon, 14 Apr 2025 15:55:16 -0400

Set host/port explicitly when missing from config

Diffstat:
Mmpc-bar.m | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mpc-bar.m b/mpc-bar.m @@ -96,8 +96,8 @@ static int handler(void *userdata, const char *section, const char *name, NSMapTable *songMap; } - (void)initConfig { - config.host = NULL; - config.port = 0; + config.host = "localhost"; + config.port = 6600; config.format = "[%name%: &[[%artist%|%performer%|%composer%|%albumartist%] - ]%title%]|%name%|[[%artist%|%performer%|%composer%|%albumartist%] - ]%title%|%file%"; config.idle_message = "No song playing"; config.show_queue = 1;