diff options
author | Spencer Williams <spnw@plexwave.org> | 2025-04-14 15:55:16 -0400 |
---|---|---|
committer | Spencer Williams <spnw@plexwave.org> | 2025-04-14 15:55:16 -0400 |
commit | 6be73fead93766c53eb2243d76c09e0c62d94331 (patch) | |
tree | f8648c2bbac99cc22f626509779cd35536caa2f9 | |
parent | 8bb9f38ec860bd869171969518227cef5594c4fc (diff) |
Set host/port explicitly when missing from config
-rw-r--r-- | mpc-bar.m | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |