I wanted to start a custom script with a parameter when cpiped detects a sound but there is a check whether this is a valid file. But since I have a space with the parameters, that is not a valid file. Removing the check from the source code works.
I am not good at writing C or I would have sent a fix. Sorry
At the end I get
Invalid start command: /root/cpiped-snapcast-ctrl/playing.py chromecast
but actually executing it works fine.
I wanted to start a custom script with a parameter when cpiped detects a sound but there is a check whether this is a valid file. But since I have a space with the parameters, that is not a valid file. Removing the check from the source code works.
I am not good at writing C or I would have sent a fix. Sorry
At the end I get
but actually executing it works fine.