View Single Post
  #4  
Old 28.10.2016, 18:39
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 637
Default

Code:
// Play wav file when download is finished
// Trigger: "A Download Stopped"

if (link.isFinished()) {
    var wavFile = JD_HOME + "/themes/standard/org/jdownloader/sounds/captcha.wav"; // wav file to play
    playWavAudio(wavFile);
}

This script can only be used to play 'wav' files. To play other audio formats you can use using 'ffplay' in the script.
Reply With Quote