diff --git a/src/inputs/pipe.c b/src/inputs/pipe.c index 43115c49..f815e035 100644 --- a/src/inputs/pipe.c +++ b/src/inputs/pipe.c @@ -925,7 +925,10 @@ init(void) pipe_autostart = cfg_getbool(cfg_getsec(cfg, "library"), "pipe_autostart"); if (pipe_autostart) - CHECK_ERR(L_PLAYER, listener_add(pipe_listener_cb, LISTENER_DATABASE)); + { + pipe_listener_cb(0); + CHECK_ERR(L_PLAYER, listener_add(pipe_listener_cb, LISTENER_DATABASE)); + } return 0; }