JDownloader Community - Appwork GmbH
 

Showing results 1 to 50 of 1000
Search took 0.03 seconds.
Search: Posts Made By: mgpai
Forum: JDownloader 2 09.04.2024, 15:50
Replies: 2,886
Views: 10,267,713
Posted By mgpai
Will do. Thanks. :)

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

Formal request for the APIs. ;)
Forum: JDownloader 2 08.04.2024, 13:58
Replies: 2,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,654
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: 634
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: 634
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: 634
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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: 588
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: 588
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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: 196
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: 423
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
Posted By mgpai
Hello Jiaz, Which URL?

Hello Jiaz,

Which URL?
Forum: JDownloader 2 03.03.2024, 10:33
Replies: 2,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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: 539
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,886
Views: 10,267,713
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,503
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: 484
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,327
Posted By mgpai
You're welcome.

You're welcome.
Forum: JDownloader 2 23.12.2023, 09:49
Replies: 15
Views: 45,327
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,327
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...
Forum: JDownloader 2 22.12.2023, 14:06
Replies: 15
Views: 45,327
Posted By mgpai
Format is OK. I was able to succesfully add your...

Format is OK. I was able to succesfully add your json from post #3. Post your eventscripter script here.
Forum: JDownloader 2 21.12.2023, 15:37
Replies: 15
Views: 45,327
Posted By mgpai
Remove ',' at the end and close the array with ']'

Remove ',' at the end and close the array with ']'
Forum: Host Plugin Reports 21.12.2023, 13:10
Replies: 5,889
Views: 3,675,824
Posted By mgpai
Try setting "CONTAINER" as the first item in the...

Try setting "CONTAINER" as the first item in the primary sort identifier order (Youtube.qualitysortidentifierorder).
Forum: JDownloader 2 20.12.2023, 12:39
Replies: 15
Views: 45,327
Posted By mgpai
/* import proxies trigger : any */ ...

/*
import proxies
trigger : any
*/

var storage = "cfg/org.jdownloader.settings.InternetConnectionSettings",
interfaceName = "org.jdownloader.updatev2.InternetConnectionSettings",
...
Forum: JDownloader 2 20.12.2023, 12:12
Replies: 24
Views: 6,787
Posted By mgpai
Internet connection is not necessary to trigger a...

Internet connection is not necessary to trigger a reconnect. Only access to router IP is required.
Forum: JDownloader 2 19.12.2023, 17:26
Replies: 24
Views: 6,787
Posted By mgpai
> The user has the problem that even though...

> The user has the problem that even though jDownloader triggers the reconnect successfully, his router fails to re-establish the connection.

If the router fails to reconnect, triggering it from...
Forum: JDownloader 2 19.12.2023, 16:38
Replies: 24
Views: 6,787
Posted By mgpai
Yes this is the entire script. It uses the...

Yes this is the entire script. It uses the 'result' property to check if the reconnection was successful.

You're welcome :)
Forum: JDownloader 2 15.12.2023, 15:34
Replies: 24
Views: 6,787
Posted By mgpai
/* retry if reconnect fails trigger :...

/*
retry if reconnect fails
trigger : after a reconnect
*/

if (result == "FAILED") {
doReconnect();
}
Showing results 1 to 50 of 1000

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