Re: [mpg123-devel] 'Unfinished command' when operating in remote mode
Brought to you by:
sobukus
From: Thomas O. <tho...@or...> - 2022-09-04 06:14:42
|
Am Sat, 3 Sep 2022 17:07:39 +0100 schrieb Neil Walker <ne...@wy...>: > After banging my head against this for a while, I've bitten the > bullet and reworked control_generic.c to accumulate commands across > calls to read(). I'm really sorry about this. The issue lay bare there all the time with a comment that it should be fixed eventually. Well I took your initiative as motivation to do the minimal change needed to finish unfinished commands. Does revision 5149 or current https://mpg123.org/snapshot do the trick for you? I spared the reorganization with moving the command parsing out into a separate function, while that might be a good path to follow towards cleaner code, it's unrelated to the issue. Alrighty then, Thomas |