#501
|
|||
|
|||
![]()
@mgpai:
can you add delete source file after ac3 file was created, please? thx a lot ![]() |
#502
|
|||
|
|||
![]()
Script Updated:
Code:
github.com/mgpai/resources/blob/master/jdownloader/eventscripter/scripts/Tom.js Note: The source file will be permanently deleted (not moved to recycle bin). |
#503
|
|||
|
|||
![]()
great mgpai, exactly what i wanted
![]() works ! |
#504
|
|||
|
|||
![]()
Hi there!
I am struggling to create a simple Event-Scripter Script to stop my downloads. Unfortunately I am not a professional, so I would need your help. I need a script, which will stop the downloads, as soon as a daily traffic maximum is reached. I use share-online, which has a download limit of 100GB every day, and often I download just a couple of mb more than that, which will give me a "penalty". Since I have thousands of links in my Jdownloader list, it would be great to let everything work by itsself. It already starts every day on its own (scheduler), but if it would stop as well, it would be perfect. I would be very happy if anyone could help! Thanks! ![]() |
#505
|
||||
|
||||
![]()
@pupupuia: Go to settings-plugins-shareonline and there you can setup either to reserve some free traffic or no longer use the account when limit is reached.
__________________
JD-Dev & Server-Admin |
#506
|
|||
|
|||
![]() Quote:
Thank you, I did not see that! If I set it on X GB, is it the daily maximum? So basically if I Put all of my links in my download list, and start via scheduler in the Morning, and stop via this plugin, does everything basically work automatically? Thanks again! |
#507
|
||||
|
||||
![]()
JDownloader regularly polls SO and checks for *traffic limits* and once the limit is reached, it will stop using the account until enough traffic is available again
__________________
JD-Dev & Server-Admin |
#508
|
|||
|
|||
![]()
hi mgpai
İ have long list of downloads that i renamed (the uploader scrambles the names to keep them safe ,i change the name as i grab them). is it possible to rename the extracted files (and possibly just the extensions i wanted like .avi .mkv .mp4 .mpeg but not .jpeg or .txt) after the archive name?i tried this on packagizer but no avail. also i cant figure out the filter on jd extractor. Last edited by animus; 09.08.2018 at 15:09. |
#509
|
|||
|
|||
![]() Code:
github.com/mgpai/resources/blob/master/jdownloader/eventscripter/scripts/animus.js You have to use regular expressions to match the full path of the file you want to exclude. For e.g. to exclude all nfo files: Code:
.*\.nfo$ |
#510
|
|||
|
|||
![]()
Hello.
(Sorry for English, google translate) Possible to write a script like this?: there are two files. 1.jpeg 2kb 1.jpeg 2Mb if (1.jpeg (on disk) >= 1.jpeg (new)) skip if (1.jpeg (on disk) < 1.jpeg (new)) rewrite |
#511
|
||||
|
||||
![]()
@maks.im
not sure about that... event scripter might not have the trigger to do this at the time download is about to happen. currently the download core has a check against user interface setting: 'settings > general > download management > if the file already exists'
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#512
|
|||
|
|||
![]()
Eh. badly.
hoped that it would be possible to simplify the script. Thanks. |
#513
|
|||
|
|||
![]()
@maks.im: Contact me in JD Chat (if possible).
|
#514
|
||||
|
||||
![]()
@maks.im: maybe the url contains markers like thumb or something so you can easily filter out the small version of the images. send example links to support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#515
|
|||
|
|||
![]()
Is there anyway to do a simple post request without headers in event scripter? Or is it a better (simpler) idea to just run an external script? I am trying to call an api on the sonarr/radarr servers to add a downloaded file to my library.
Thanks in advanced! EDIT: Sorry, missed the post regarding this in the middle of the thread. Last edited by webdjoe; 19.09.2018 at 09:04. |
#516
|
||||
|
||||
![]()
@webdjoe: so you could find a working solution for you?
__________________
JD-Dev & Server-Admin |
#517
|
|||
|
|||
![]()
Yes I adapted it from the script below thanks to Wikuler. The support here is amazing!:thumbup:
Quote:
|
#518
|
||||
|
||||
![]()
Thanks for the feedback. Nice to hear that you could modify the script to your own needs
![]()
__________________
JD-Dev & Server-Admin |
#519
|
|||
|
|||
![]()
Custom toolbar button to Show/Hide Single Child Packages (Toggles "HideSingleChildPackages" advanced setting)
![]() Script: Code:
// Show/Hide Single Chlld Packages // Trigger: Toolbar Button Pressed // Customize Main Toolbar > Add new "EventScripter Trigger" button > Rename it to "Show/Hide Single Child Packages" (without quotes/case-sensitive) if (name == "Show/Hide Single Child Packages") { var data = "org.jdownloader.settings.GraphicalUserInterfaceSettings"; var key = "HideSingleChildPackages"; var value = callAPI("config", "get", data, null, key); callAPI("config", "set", data, null, key, !value); } Last edited by mgpai; 27.10.2018 at 14:56. Reason: Corrected Trigger Required |
#520
|
||||
|
||||
![]()
Hi there,
i'm looking for a script thats blocked the refresh of the share-online limit of the premium accounts during the account is in use. There is an error that the limit jumps back on the full limit when the account is actually in use for downloading. |
![]() |
Thread Tools | |
Display Modes | |
|
|