My goal is to have mplayer start at one volume, then change to a different volume in a scripted fashion.
My current script (pseudo code - simplicity)
mkfifo mplayer_fifo (sleep 5m; echo "set_property volume 80" > "mplayer_fifo")& mplayer -volume 100 -slave -input file="mplayer_fifo" song1 song2 song3
The above starts mplayer at volume 100 then changes to volume 80 after 5 minutes.
The issue however is it only changes to volume 80 for the current song then reverts back to 100 on the next song. I desire that it change to 80 and stay there.
Is this possible?