#1
|
|||
|
|||
musical file & download finished
Hi,
Is it possible to play a "musical file" when download is finished (like a captcha notification) ? Thanks for answer. |
#2
|
||||
|
||||
yes, you could do that via the 'event scripter', think there might be a script publicly available.
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
||||
|
||||
Check if there is an existing script (use board search). Or contact mgpai and ask him for a script for the eventscripter. I'm sure he will/can help you
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
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. |
#5
|
|||
|
|||
Thank you very much:):)
|
Thread Tools | |
Display Modes | |
|
|