Closed ijustlovemath closed 7 years ago
Named pipes are available on any POSIX-compatible system, which is what pianobar targets. What OS are you trying to port pianobar to?
Trying to emulate the control-pianobar script on Windows, but since Windows has no FIFOs, I thought a socket might work just as well. It could even be just another element of your input.fds[] array, which you open/add in main.c and check in ui_readlines.c. If you like, I could submit a PR?
I don’t think pianobar will compile/work on Windows and it was never meant to. That’s why https://github.com/thedmd/pianobar-windows exists.
It would be more cross platform, compatible with the current architecture (eg read/write/open work the same), and a fairly simple change. Thoughts?