volume argument on spawn
atakanyenel opened this issue · comments
I couldn't hear any sound with the --volume= argument, so I changed it to ' -volume ' ,but still couldn't get any sound.
When I removed the argument it worked as expected.
I made a fix on it by setting the volume after starting the song. You can see it from the fork.
Hey thanks! Can you tell me what version of mplayer and node do you have?
node is 5.8.0 and Mplayer 1.1-4.8 . I ran the mplayer with your arguments and it says
Unknown option on the command line: --volume=100
Error parsing option on the command line: --volume=100
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
Hmm I always worked with MPlayer2, but apparently the development has stopped.
I'll update the module to work with MPlayer 1.3.x (the FFMPEG 3 version), and 1.2.x (FFMPEG 2). With these versions, the --volume
parameter doesn't work. But you should maybe upgrade your MPlayer version to one of those.
Thanks for reporting this!