JDownloader Community - Appwork GmbH
 

Showing results 1 to 50 of 1000
Search took 0.03 seconds.
Search: Posts Made By: mgpai
Forum: JDownloader 2 19.09.2021, 13:21
Replies: 7
Views: 292
Posted By mgpai
Solved via IRC: /* Stop downloads when...

Solved via IRC:
/*
Stop downloads when battery low (Windows OS)
Trigger : Interval
Recommended Interval 60000 (1 min)
*/

var target = 20;

if (isDownloadControllerRunning()) {
Forum: JDownloader 2 19.09.2021, 08:11
Replies: 7
Views: 292
Posted By mgpai
You can call an external program (powercfg?) in...

You can call an external program (powercfg?) in eventscripter to query the current battery level and stop the downloads. If you need help with the script, provide the terminal command which returns...
Forum: JDownloader 2 16.09.2021, 20:21
Replies: 1,871
Views: 590,911
Posted By mgpai
Find me in JD Chat. I make the necessary...

Find me in JD Chat. I make the necessary modifications based on your live feedback.

kiwiirc.com/nextclient/irc.libera.chat/#jdownloader
Forum: JDownloader 2 16.09.2021, 16:08
Replies: 1,871
Views: 590,911
Posted By mgpai
I had created the script based on your original...

I had created the script based on your original request. If you state your request clearly, it will save me time/effort.

/*
Save finsihed link
Trigger : A download stopped
*/

if...
Forum: JDownloader 2 16.09.2021, 15:21
Replies: 1,871
Views: 590,911
Posted By mgpai
Created based on original request. But sure, I...

Created based on original request. But sure, I can be modify it if the user wishes urls to be saved on per link basis.
Forum: JDownloader 2 16.09.2021, 14:50
Replies: 1,871
Views: 590,911
Posted By mgpai
/* Save links to text file Trigger :...

/*
Save links to text file
Trigger : Package Finished
*/

var content = [];
var file = package.downloadFolder + "/" + package.name + "_links.txt";
...
Forum: JDownloader 2 13.09.2021, 10:15
Replies: 32
Views: 1,405
Posted By mgpai
Both appear to be working fine during testing....

Both appear to be working fine during testing. Find me in JD Chat if you need help with troubleshooting.

kiwiirc.com/nextclient/irc.libera.chat/#jdownloader
Forum: JDownloader 2 13.09.2021, 07:25
Replies: 6
Views: 406
Posted By mgpai
That script uses linkgrabber context menu button...

That script uses linkgrabber context menu button tirgger, so any errors related to the script should only appear when you click the corresponding button. If the error appears during startup or...
Forum: JDownloader 2 13.09.2021, 07:08
Replies: 1,871
Views: 590,911
Posted By mgpai
You can use a 3rd party CLI utitlity in the...

You can use a 3rd party CLI utitlity in the script to list/check the contents of the archive file. Most archive softwares come with one. Find such a command which works in the terminal window and...
Forum: JDownloader 2 12.09.2021, 11:35
Replies: 6
Views: 406
Posted By mgpai
According to you screenshot it is caused by...

According to you screenshot it is caused by eventscripter script named "split packages". Can take look if you post the script here.
Forum: JDownloader 2 12.09.2021, 11:14
Replies: 32
Views: 1,405
Posted By mgpai
/* Toggle subfolder threshold ...

/*
Toggle subfolder threshold
Trigger: Toolbar button pressed
Customize main toolbar > add a new "Eventscripter Trigger" button > rename it to "Toggle subfolder threshold"
*/

if...
Forum: JDownloader 2 12.09.2021, 05:51
Replies: 12
Views: 8,465
Posted By mgpai
Settings > Archive Extractor > Extract to...

Settings > Archive Extractor > Extract to (Right-click in the field to add date/time)
Forum: JDownloader 2 11.09.2021, 21:52
Replies: 32
Views: 1,405
Posted By mgpai
The 2 settings refer to the various package and...

The 2 settings refer to the various package and sub-folder rule, which you have changed/mentioned in your earlier posts.

It is not based on file type, but based on number of files in the package....
Forum: JDownloader 2 11.09.2021, 20:41
Replies: 32
Views: 1,405
Posted By mgpai
@tunayx: A script is not required if you use the...

@tunayx: A script is not required if you use the settings in my previous post.
Forum: JDownloader 2 11.09.2021, 11:35
Replies: 32
Views: 1,405
Posted By mgpai
@tunayx: You only need to increase sub-folder...

@tunayx: You only need to increase sub-folder threshold in advanced settings and leave other 2 settings at default.


Disable 'various package' option (optional).
Disable or remove custom...
Forum: JDownloader 2 11.09.2021, 11:05
Replies: 1,871
Views: 590,911
Posted By mgpai
Since the passwords can contain ":" as well as...

Since the passwords can contain ":" as well as "@" character, the script uses "\t" as separator. No need to use the actual "\t" escape code to separate the values in the text file. Just use 'tab' key...
Forum: JDownloader 2 08.09.2021, 15:31
Replies: 1,871
Views: 590,911
Posted By mgpai
You can use callSync/callAsync method to run the...

You can use callSync/callAsync method to run the terminal command in eventscripter OR use the getPage method to make a http request to your url.

If you need help implementing either of those...
Forum: JDownloader 2 27.08.2021, 09:33
Replies: 3
Views: 451
Posted By mgpai
You can call myjd api "getStorageInfos" method in...

You can call myjd api "getStorageInfos" method in eventscripter:
https://my.jdownloader.org/developers/#tag_306
Forum: JDownloader 2 25.08.2021, 06:48
Replies: 1,871
Views: 590,911
Posted By mgpai
The script, at regular intervals (default...

The script, at regular intervals (default 600000ms) will check if update is available and apply it, if either JD is idle or 'x' hours have elapsed since the last update (disabled by default, when...
Forum: JDownloader 2 25.08.2021, 06:26
Replies: 1,871
Views: 590,911
Posted By mgpai
You can use this...

You can use this (Link_not_visiblescript. In the code, replace "320K" with "256K".
Forum: Turkish 24.08.2021, 20:00
Replies: 2
[User feedback required] þifre ekleme
Views: 683
Posted By mgpai
select link > context menu > properties > set...

select link > context menu > properties > set download password
Forum: JDownloader 2 24.08.2021, 14:51
Replies: 1,871
Views: 590,911
Posted By mgpai
Can you provide a link to the script which you...

Can you provide a link to the script which you are using?
Forum: JDownloader 2 24.08.2021, 11:55
Replies: 2
Views: 323
Posted By mgpai
Remove 'comma' after the last key/value pair.

Remove 'comma' after the last key/value pair.
Forum: JDownloader 2 24.08.2021, 08:30
Replies: 1,871
Views: 590,911
Posted By mgpai
My mistake. I didn't know "that". :) If...

My mistake. I didn't know "that". :)

If there are identifiers in file/package name or download url, can also use that in the rule instead. Source urls can be used in script, provided such url is...
Forum: JDownloader 2 23.08.2021, 18:43
Replies: 1,871
Views: 590,911
Posted By mgpai
Something like this should work. if >...

Something like this should work.
if > sourceurls(s) > contains > sj.org
then > move to > /path/to/nas/folder
Forum: JDownloader 2 23.08.2021, 16:36
Replies: 1,871
Views: 590,911
Posted By mgpai
It is possible. You have to enter the url...

It is possible. You have to enter the url matching pattern in downloadurl or sourceurl field, depending on what you want to match.

You can provide the url if you need help with the rule.
Forum: JDownloader 2 23.08.2021, 10:48
Replies: 1,871
Views: 590,911
Posted By mgpai
I have not mocked your request. I have merely...

I have not mocked your request. I have merely declined to implement your solution by clearly stating my reasons for doing so. Cannot say the same about your response though, even after I offered to...
Forum: JDownloader 2 23.08.2021, 10:30
Replies: 1,871
Views: 590,911
Posted By mgpai
You can specify the conditions in the 'if'...

You can specify the conditions in the 'if' section of the packagizer rule and move extracted files only when those conditions match.
Forum: JDownloader 2 22.08.2021, 12:19
Replies: 1,871
Views: 590,911
Posted By mgpai
Ok. Understood. Sorry I thought an alternative...

Ok. Understood. Sorry I thought an alternative solution would also be acceptable to you.
Forum: JDownloader 2 22.08.2021, 10:21
Replies: 1,871
Views: 590,911
Posted By mgpai
@iLITT: Try this script. If it does not solve...

@iLITT: Try this script. If it does not solve your problem, find me in JD Chat.

/*
Monitor connection
Trigger: JDownloader started
*/

monitorConnection();

function...
Forum: JDownloader 2 22.08.2021, 06:36
Replies: 1,871
Views: 590,911
Posted By mgpai
I agree on your problem but differ on the...

I agree on your problem but differ on the solution. The developers have implemented checks and balances for a good reason. Overriding them by blindly force starting downloads every 5 seconds is...
Forum: JDownloader 2 21.08.2021, 18:38
Replies: 1,871
Views: 590,911
Posted By mgpai
@Shawn26: Hi. You can use packagizer rule to...

@Shawn26: Hi.

You can use packagizer rule to move files after extraction. If you want to preserve the folder structure for extracted files which have sub-folders, you will have to use a script in...
Forum: JDownloader 2 21.08.2021, 18:28
Replies: 1,871
Views: 590,911
Posted By mgpai
A force-download may not be required. Should be...

A force-download may not be required. Should be enough to use a script to check connection availability and stop/start the downloads accordingly.

What message is displayed in the status column for...
Forum: JDownloader 2 21.08.2021, 18:23
Replies: 1,871
Views: 590,911
Posted By mgpai
You may not find working proxies using the script...

You may not find working proxies using the script which I linked to you via PM, since it might be using a proxy list which most likely has not been updated since Jun 15 2021.
Forum: JDownloader 2 21.08.2021, 13:54
Replies: 19
Views: 1,504
Posted By mgpai
Example:

Example:
Forum: JDownloader 2 14.08.2021, 07:54
Replies: 1,871
Views: 590,911
Posted By mgpai
If you mean bypass geo-block, I believe there is...

If you mean bypass geo-block, I believe there is already a script elsewhere in the forum which uses proxies to do just that.
Forum: JDownloader 2 13.08.2021, 10:22
Replies: 1,871
Views: 590,911
Posted By mgpai
/* Move extracted files Trigger :...

/*
Move extracted files
Trigger : Archive extraction finished
*/

archive.extractedFilePaths.forEach(function(filePath) {
filePath.moveTo(archive.folder + "/" + archive.name);
...
Forum: JDownloader 2 11.08.2021, 12:11
Replies: 6
[User feedback required] Retaining "WhereFrom" info / Keep2Share
Views: 422
Posted By mgpai
While not supported out of the box, you can run a...

While not supported out of the box, you can run a terminal command from eventscripter extension in JD, to add that and/or other extended attributes to the downloaded file.
Forum: Probleme & Bugreports 06.08.2021, 19:02
Replies: 5
Views: 782
Posted By mgpai
@jaydeeownluder: I meant to address my previous...

@jaydeeownluder: I meant to address my previous reply to you, but I accidentally tagged different user instead. You can try that workaround to move links to different package or merge different...
Forum: Probleme & Bugreports 05.08.2021, 16:22
Replies: 5
Views: 782
Posted By mgpai
@invisibleman78: Have you tried using the 'move...

@invisibleman78: Have you tried using the 'move to new packages' to move link into a different package or merge two packages? It will technically create a new package, but the selections will be...
Forum: JDownloader 2 05.08.2021, 11:55
Replies: 18
Views: 643
Posted By mgpai
@jogol: You're welcome. A native solution is...

@jogol: You're welcome.

A native solution is always better. As I mentioned in my post, this is a workaround which can be used till the original feature is restored.

I have updated the script...
Forum: JDownloader 2 05.08.2021, 11:45
Replies: 1,871
Views: 590,911
Posted By mgpai
/* Remove orphaned archive settings files...

/*
Remove orphaned archive settings files from "cfg/archives" folder
Trigger : Toolbar button pressed
Customize toolbar > Add a new "Eventscripter Trigger" button > Rename it to...
Forum: JDownloader 2 04.08.2021, 16:06
Replies: 1,871
Views: 590,911
Posted By mgpai
getAllCrawledPackages().forEach(function(package)...

getAllCrawledPackages().forEach(function(package) {
var hosts = [];

package.getDownloadLinks().forEach(function(link) {
var host = link.downloadHost;

if...
Forum: JDownloader 2 04.08.2021, 15:50
Replies: 3
Views: 449
Posted By mgpai
@Jiaz: Links which have been previously online...

@Jiaz: Links which have been previously online and completed (finished + online), but found to be offline (fininshed + offline) during subsequent checks, do not appear as such in the cleanup menu or...
Forum: JDownloader 2 04.08.2021, 14:10
Replies: 18
Views: 643
Posted By mgpai
Replied in the scripts thread.

Replied in the scripts thread.
Forum: JDownloader 2 04.08.2021, 14:09
Replies: 1,871
Views: 590,911
Posted By mgpai
It was/is working after a restart. Had also...

It was/is working after a restart. Had also tested it before posting the script. Related files still seem to be present in the cfg/archives folder after a restart. Can you please check and confirm?
Forum: JDownloader 2 04.08.2021, 13:47
Replies: 18
Views: 643
Posted By mgpai
You can use THIS...

You can use THIS (Link_not_visiblescript to view the extracted files, till the feature is implemented again in JD.
Forum: JDownloader 2 04.08.2021, 13:45
Replies: 1,871
Views: 590,911
Posted By mgpai
/* View extracted files Trigger :...

/*
View extracted files
Trigger : Downloadlist contextmenu button pressed
Customize context menu > Add a new "Eventscripter Trigger" button > Rename it to "View extracted files"
*/
...
Forum: JDownloader 2 03.08.2021, 21:24
Replies: 1,871
Views: 590,911
Posted By mgpai
You are querying crawled packages instead of...

You are querying crawled packages instead of crawled links (I didn't notice it earlier).

Edit: Guess you want to modify the package name after all. You will have to query the download host, but...
Forum: JDownloader 2 03.08.2021, 16:20
Replies: 3
Views: 372
Posted By mgpai
/* Update after reconnect Trigger:...

/*
Update after reconnect
Trigger: After a reconnect
*/

if (
result == "SUCCESSFUL" &&
callAPI("update", "isUpdateAvailable")
) {
callAPI("update", "restartAndUpdate");
Showing results 1 to 50 of 1000

 
Forum Jump
All times are GMT +2. The time now is 16:51.
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 - 2021, Jelsoft Enterprises Ltd.