Marak / play.js

play sound files from node.js to your speakers, simple as cake and kid approved!
www.maraksquires.com
160 stars 40 forks source link

Play.stop() method #9

Open lucaboieru opened 9 years ago

lucaboieru commented 9 years ago

Is there any way i can stop the player? For example, I just started to play an audio file (a song), but I want to play another, so now the songs overlap. What I want is for the first song to stop and only after that the second song to start. All i need i some sort of stop method. Maybe you have a solution. Thanks!

niecore commented 7 years ago

try executing "killall mplayer"