commit da2c6e07e7644d16ac2ed5b68a86e4bcf076655d from: Omar Polo date: Wed Jul 13 09:45:15 2022 UTC fix 'amused load' with empty playlist it didn't send the IMSG_CTL_COMMIT final message so it would get stuck. This also makes 'amused flush' redundant since it's possible to 'amused load fp); res->fp = NULL; - if (i == 0) { - *ret = 1; - return 1; - } - imsg_compose(ibuf, IMSG_CTL_COMMIT, 0, 0, -1, &curr, sizeof(curr)); imsg_flush(ibuf);