JDownloader Community - Appwork GmbH
 

Showing results 1 to 50 of 1000
Search took 0.03 seconds.
Search: Posts Made By: mgpai
Forum: JDownloader 2 18.04.2024, 14:34
Replies: 2,910
Views: 10,273,393
Posted By mgpai
It means, for example, if reconnect fails at...

It means, for example, if reconnect fails at 10:00 AM sound will play 4 minutes after that, at 10:04 AM. :)
Forum: JDownloader 2 18.04.2024, 14:17
Replies: 2,910
Views: 10,273,393
Posted By mgpai
4 mins. after reconnect is considered failed. ...

4 mins. after reconnect is considered failed.

1000 hrs reconnect finished
1000 hrs script checks if reconnect was SUCCESFUL or has FAILED
1004 hrs play sound only if reconnect has FAILED
Forum: JDownloader 2 18.04.2024, 13:36
Replies: 2,910
Views: 10,273,393
Posted By mgpai
The script will run only AFTER a reconnect is...

The script will run only AFTER a reconnect is performed.

If the reconnect was SUCCESFUL it will do nothing.

If reconnect has FAILED, it will wait for 4 minutes and then play a sound.
Forum: JDownloader 2 18.04.2024, 12:02
Replies: 2,910
Views: 10,273,393
Posted By mgpai
The interval scripts do not check/wait for...

The interval scripts do not check/wait for reconnect. They simply check for connection at specified intervals and play a sound if there is no connection.

The first interval script waits for 'time'...
Forum: JDownloader 2 17.04.2024, 16:31
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Try all of them and find out. :)

Try all of them and find out. :)
Forum: JDownloader 2 17.04.2024, 16:09
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Total interval = 1st interval + 2nd Interval In...

Total interval = 1st interval + 2nd Interval
In your example it will be 240000 + 60 * 60 * 1000 = 64 minutes.

I would recommend using a script with a single interval. It will check for connection...
Forum: JDownloader 2 17.04.2024, 13:42
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Interval value in the top field controls how...

Interval value in the top field controls how often the script is exexuted. The variable 'time' controls the wait time before playing a aound. In your example, the script runs every 4 mins (240000)...
Forum: JDownloader 2 17.04.2024, 12:57
Replies: 2,910
Views: 10,273,393
Posted By mgpai
/* connection notification trigger :...

/*
connection notification
trigger : interval (300000)
enable 'synchronous execution of script' checkbox
*/

var time = Date.now() + 4 * 60 * 1000;
var connected = false;

while...
Forum: JDownloader 2 09.04.2024, 15:50
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Will do. Thanks. :)

Will do. Thanks. :)
Forum: JDownloader 2 09.04.2024, 13:44
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Formal request for the APIs. ;)

Formal request for the APIs. ;)
Forum: JDownloader 2 08.04.2024, 13:58
Replies: 2,910
Views: 10,273,393
Posted By mgpai
/* trigger : after a reconnect */ ...

/*
trigger : after a reconnect
*/

var x = 5; // <- wait time in minutes
var setAutoReconnectEnabled = function(boolean) {
callAPI("config", "set",...
Forum: JDownloader 2 08.04.2024, 13:16
Replies: 2,910
Views: 10,273,393
Posted By mgpai
For this method no need for 2nd interval script. ...

For this method no need for 2nd interval script.

After reconnect > disable auto-reconnect > sleep x seconds > re-enable auto-reconnect.
Forum: JDownloader 2 08.04.2024, 13:10
Replies: 2,910
Views: 10,273,393
Posted By mgpai
If I am correct, if auto-reconnect it is disabled...

If I am correct, if auto-reconnect it is disabled globally at startup, niether of the reconnect events will be triggered, which would mean a 3rd script with 'jdownloader started' trigger should be...
Forum: JDownloader 2 08.04.2024, 12:53
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Had considered it. If JD is closed/restarted...

Had considered it. If JD is closed/restarted while 'auto-reconnect' is disabled, the 'property' will be lost and auto-reonncect will remain disabled after the restart. The user will then have to...
Forum: JDownloader 2 08.04.2024, 12:31
Replies: 2,910
Views: 10,273,393
Posted By mgpai
/* trigger : before a reconnect */ ...

/*
trigger : before a reconnect
*/

var next = getProperty("next", true);

while (Date.now() < next) {
sleep(1000);
}
Forum: JDownloader 2 08.04.2024, 10:03
Replies: 22
[User feedback required] How to use "Delete Offline & Disabled" ?
Views: 3,702
Posted By mgpai
If you are looking to delete ALL the links from a...

If you are looking to delete ALL the links from a set of HOSTERS, you can define a list of those hosters in a eventscripter script and run it to delete them.
Forum: Problems & Bug Reports 07.04.2024, 19:41
Replies: 10
Views: 673
Posted By mgpai
Append the client name and any other strings you...

Append the client name and any other strings you want to parse at the end of the url, and use packagizer...
Forum: Problems & Bug Reports 07.04.2024, 16:14
Replies: 10
Views: 673
Posted By mgpai
While using a script with "a new link has been...

While using a script with "a new link has been added" trigger, "synchronous execution of script" checkbox must be disabled.

Looks like ChatGP plucked most of the API calls in the script from thin...
Forum: Problems & Bug Reports 07.04.2024, 14:08
Replies: 10
Views: 673
Posted By mgpai
Not sure if 'getClipboard' is a valid MYJD API...

Not sure if 'getClipboard' is a valid MYJD API call. Where did you find/read about it?
Forum: JDownloader 2 01.04.2024, 15:31
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Try replacing: var output =...

Try replacing:
var output = link.downloadPath.replace(/(.+\.)(aac|m4a|ogg)$/i, "$1mp3");
with:
var output = link.downloadPath.replace(/(.+\.)(aac|m4a|ogg|opus)$/i, "$1mp3");
Forum: JDownloader 2 23.03.2024, 06:27
Replies: 2,910
Views: 10,273,393
Posted By mgpai
To download a file using the browser instance. ...

To download a file using the browser instance.

myBrowser.getDownload(savePath, url);


If the final link is behind cf protection, adding it via api will not work since JD will use a different...
Forum: JDownloader 2 21.03.2024, 09:11
Replies: 3
[User feedback required] Optimizing a script for moving files
Views: 635
Posted By mgpai
/* move downloaded file trigger : a...

/*
move downloaded file
trigger : a donwload stopped
*/

if (link.finished && !link.archive) {
var downloadFolder = getPath(package.downloadFolder);
var destFolder =...
Forum: JDownloader 2 20.03.2024, 17:29
Replies: 3
[User feedback required] Optimizing a script for moving files
Views: 635
Posted By mgpai
The "moveTo" method does MOVE the file from the...

The "moveTo" method does MOVE the file from the the source to destination, unless it is locked by some other software/process.

If you post your script here, I can take a look at the 'remove'...
Forum: JDownloader 2 19.03.2024, 12:42
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Give me the place to stand, and I shall move the...

Give me the place to stand, and I shall move the earth. - Archimedes ;)
Forum: JDownloader 2 19.03.2024, 09:04
Replies: 2,910
Views: 10,273,393
Posted By mgpai
It does not work the way you seem to think it...

It does not work the way you seem to think it would. Selection made in the script cannot be used outside the script (in GUI). You will have to create multiple scripts which perform different...
Forum: JDownloader 2 18.03.2024, 18:36
Replies: 2,910
Views: 10,273,393
Posted By mgpai
What action do you want to perform after...

What action do you want to perform after selecting them? You can also just set the search filter at the bottom to "Hoster" and type the host(s) name in the search field.
Forum: Suggestions & Requests 15.03.2024, 11:03
Replies: 2
Views: 203
Posted By mgpai
Select all items in the "File Types" with mouse....

Select all items in the "File Types" with mouse. Press space bar to invert the selection.
Forum: Host Plugin Reports 14.03.2024, 13:15
Replies: 2
Views: 434
Posted By mgpai
@xjd: If you are looking to download the file...

@xjd: If you are looking to download the file with JD, one workaround is to generate the final link (it is not protected and resumeable) in browser. right-click on the download button and click the...
Forum: JDownloader 2 14.03.2024, 10:22
Replies: 2,910
Views: 10,273,393
Posted By mgpai
JD uses Java but eventscripter uses Javascript. ...

JD uses Java but eventscripter uses Javascript.

I guess the qt parameter should be preceded by interpreter or other parameters. In any case, it is not necessary to write the path to a text file....
Forum: JDownloader 2 13.03.2024, 12:58
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Zero experience with this, but from what I could...

Zero experience with this, but from what I could find on the web, maybe something like this :
callSync("QT_SCALE_FACTOR=.6", player, file);
Forum: JDownloader 2 07.03.2024, 11:46
Replies: 2,910
Views: 10,273,393
Posted By mgpai
> (3. Might be optional but is maybe a good idea...

> (3. Might be optional but is maybe a good idea to prevent updating the account too often (resulting in unnecessary requests at the hoster), depending also on the trigger of when the script fires.)...
Forum: JDownloader 2 06.03.2024, 13:41
Replies: 2,910
Views: 10,273,393
Posted By mgpai
My pleasure. :) Shoule be possible to...

My pleasure. :)



Shoule be possible to autmaitcally update it directly from browser by using MYJD API in userscript, eliminating the need to export/import it from text file using eventscripter...
Forum: JDownloader 2 06.03.2024, 13:02
Replies: 2,910
Views: 10,273,393
Posted By mgpai
long[] is used in the help file to indicate that...

long[] is used in the help file to indicate that the parameter is array

if you see:
ids (long[])

you will need to use:
var ids = [object ids];


Also for namespace "updateAccount" the...
Forum: JDownloader 2 03.03.2024, 23:57
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Maybe you got what I wrote in my reply, but just...

Maybe you got what I wrote in my reply, but just in case, I meant you can call external utils from the script and pass the input as parameter to eventscripter methods.
Forum: JDownloader 2 03.03.2024, 22:15
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Hello Jiaz, Which URL?

Hello Jiaz,

Which URL?
Forum: JDownloader 2 03.03.2024, 10:33
Replies: 2,910
Views: 10,273,393
Posted By mgpai
The script does not disconnect the internet...

The script does not disconnect the internet connection. It merely executes the 'restartAndUpdate" command when an update is available. Naturally it requires an internet connection to do that, which...
Forum: JDownloader 2 03.03.2024, 05:34
Replies: 2,910
Views: 10,273,393
Posted By mgpai
While it is not possible to display JD GUI, you...

While it is not possible to display JD GUI, you can use external utils to display interactive dialog/prompt. For e.g. in windows, you can use vbs MsgBox/InputBox or nircmd qbox.
Forum: JDownloader 2 01.03.2024, 16:16
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Reconnect option should not be disabled. If you...

Reconnect option should not be disabled. If you are repeatedly "No internet connection" message, it would only mean the internet connection was lost. I cannot say for sure why. Maybe, Jiaz can...
Forum: JDownloader 2 29.02.2024, 17:25
Replies: 2,910
Views: 10,273,393
Posted By mgpai
My guess is internet connection get disconnected...

My guess is internet connection get disconnected (by other script/setting/unknown reason) before the upddate can be downloaded. You can also use the "After a reconnect" trigger.
Forum: JDownloader 2 29.02.2024, 12:59
Replies: 2,910
Views: 10,273,393
Posted By mgpai
/* update before reconnect trigger :...

/*
update before reconnect
trigger : before a reconnect
*/

if (callAPI("update", "isUpdateAvailable")) {
callAPI("update", "restartAndUpdate");
}
Forum: JDownloader 2 29.02.2024, 11:03
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Package name can be anything. In the...

Package name can be anything. In the eventscripter panel you have to set the event trigger to "linkgrabber contextmenu button pressed" and then create a 'eventscripter trigger" button in the...
Forum: Problems & Bug Reports 28.02.2024, 16:57
Replies: 7
Views: 570
Posted By mgpai
Delete Links : Disabled links in selection.:)

Delete Links : Disabled links in selection.:)
Forum: JDownloader 2 28.02.2024, 16:44
Replies: 2,910
Views: 10,273,393
Posted By mgpai
Already in the script, but disabled by default....

Already in the script, but disabled by default. Google how to comment/uncomment code block in javascript.
Forum: JDownloader 2 28.02.2024, 13:54
Replies: 2,910
Views: 10,273,393
Posted By mgpai
/* remove files with matching name and size...

/*
remove files with matching name and size
trigger : click 'test run' button in the top panel
suopport: Link_not_visible
*/

var...
Forum: JDownloader 2 28.02.2024, 12:02
Replies: 2,910
Views: 10,273,393
Posted By mgpai
/* remove lower resolution trigger :...

/*
remove lower resolution
trigger : linkgrabber context menu button pressed
support : Link_not_visible
*/

if (name == "cleanup")...
Forum: JDownloader 2 31.01.2024, 11:34
Replies: 8
[Developer Feedback required] Deprecated API: Get download progress
Views: 106,510
Posted By mgpai
Query "aggregatedNumbers" with HTTP request using...

Query "aggregatedNumbers" with HTTP request using "polling" namespace of the deprecated API. Default API port can be changed in advanced settings.
Forum: General Discussion 09.01.2024, 06:43
Replies: 2
Views: 490
Posted By mgpai
Which trigger? Is 'sync execution' enabled?

Which trigger? Is 'sync execution' enabled?
Forum: JDownloader 2 23.12.2023, 20:23
Replies: 15
Views: 45,352
Posted By mgpai
You're welcome.

You're welcome.
Forum: JDownloader 2 23.12.2023, 09:49
Replies: 15
Views: 45,352
Posted By mgpai
> Yes, I am now able to add new proxies in...

> Yes, I am now able to add new proxies in Connection Manager if the list is empty, but replacing an existing proxy is not.

Only new proxies from the list will be added. Dupes will be skipped and...
Forum: JDownloader 2 22.12.2023, 15:14
Replies: 15
Views: 45,352
Posted By mgpai
With your script and the file placed in the same...

With your script and the file placed in the same path, also working fine.

Link_not_visible

Make sure the script is enabled (just in case it has been disabled on error) and also...
Showing results 1 to 50 of 1000

 
Forum Jump
All times are GMT +2. The time now is 00:20.
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.