JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 28.10.2016, 01:01
Jackard Jackard is offline
Vacuum Cleaner
 
Join Date: Feb 2011
Posts: 17
Question musical file & download finished

Hi,

Is it possible to play a "musical file" when download is finished (like a captcha notification) ?

Thanks for answer.
Reply With Quote
  #2  
Old 28.10.2016, 02:05
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

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. :]
Reply With Quote
  #3  
Old 28.10.2016, 10:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,236
Default

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
Reply With Quote
  #4  
Old 28.10.2016, 18:39
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,529
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
  #5  
Old 28.10.2016, 18:59
Jackard Jackard is offline
Vacuum Cleaner
 
Join Date: Feb 2011
Posts: 17
Default

Thank you very much:):)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 12:19.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.