I need something like this:
When I'll redirect command by FIFO to mplayer
echo "get_property volume" > /tmp/fifo I want to have this command output in
I have tried something like this
mplayer -slave -quiet -idle -input file=/tmp/fifo file.mp3 > /tmp/output.txt
But this doesn't work - file is empty.
I saw a few people did this in this way but in my case this isn't working.