JDownloader Community - Appwork GmbH
 

Notices

Showing results 1 to 50 of 1000
Search took 0.01 seconds.
Search: Posts Made By: mgpai
Forum: JDownloader 2 23.03.2024, 07:27
Replies: 2,842
Views: 10,180,421
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, 10:11
Replies: 3
[User feedback required] Optimizing a script for moving files
Views: 271
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, 18:29
Replies: 3
[User feedback required] Optimizing a script for moving files
Views: 271
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, 13:42
Replies: 2,842
Views: 10,180,421
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, 10:04
Replies: 2,842
Views: 10,180,421
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, 19:36
Replies: 2,842
Views: 10,180,421
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, 12:03
Replies: 2
Views: 152
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, 14:15
Replies: 2
Views: 338
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, 11:22
Replies: 2,842
Views: 10,180,421
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, 13:58
Replies: 2,842
Views: 10,180,421
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, 12:46
Replies: 2,842
Views: 10,180,421
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, 14:41
Replies: 2,842
Views: 10,180,421
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, 14:02
Replies: 2,842
Views: 10,180,421
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 04.03.2024, 00:57
Replies: 2,842
Views: 10,180,421
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, 23:15
Replies: 2,842
Views: 10,180,421
Posted By mgpai
Hello Jiaz, Which URL?

Hello Jiaz,

Which URL?
Forum: JDownloader 2 03.03.2024, 11:33
Replies: 2,842
Views: 10,180,421
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, 06:34
Replies: 2,842
Views: 10,180,421
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, 17:16
Replies: 2,842
Views: 10,180,421
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, 18:25
Replies: 2,842
Views: 10,180,421
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, 13:59
Replies: 2,842
Views: 10,180,421
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, 12:03
Replies: 2,842
Views: 10,180,421
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, 17:57
Replies: 7
Views: 385
Posted By mgpai
Delete Links : Disabled links in selection.:)

Delete Links : Disabled links in selection.:)
Forum: JDownloader 2 28.02.2024, 17:44
Replies: 2,842
Views: 10,180,421
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, 14:54
Replies: 2,842
Views: 10,180,421
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, 13:02
Replies: 2,842
Views: 10,180,421
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, 12:34
Replies: 8
[Developer Feedback required] Deprecated API: Get download progress
Views: 106,201
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, 07:43
Replies: 2
Views: 440
Posted By mgpai
Which trigger? Is 'sync execution' enabled?

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

You're welcome.
Forum: JDownloader 2 23.12.2023, 10:49
Replies: 15
Views: 45,146
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, 16:14
Replies: 15
Views: 45,146
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, 15:06
Replies: 15
Views: 45,146
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, 16:37
Replies: 15
Views: 45,146
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, 14:10
Replies: 5,858
Views: 3,650,909
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, 13:39
Replies: 15
Views: 45,146
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, 13:12
Replies: 24
Views: 6,678
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, 18:26
Replies: 24
Views: 6,678
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, 17:38
Replies: 24
Views: 6,678
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, 16:34
Replies: 24
Views: 6,678
Posted By mgpai
/* retry if reconnect fails trigger :...

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

if (result == "FAILED") {
doReconnect();
}
Forum: General Discussion 01.12.2023, 06:26
Replies: 13
Views: 1,913
Posted By mgpai
abracadabra: /* reset download link from...

abracadabra:
/*
reset download link from command line
trigger : new crawler job
example : jdownloader2 "RESET myfilename.rar"
*/

try {
var myString = job.text.split("RESET...
Forum: General Discussion 23.11.2023, 15:48
Replies: 20
Views: 2,210
Posted By mgpai
@I3ordo, You can also check 'flashgot' API....

@I3ordo,

You can also check 'flashgot' API. It has option to specify source urls (origin, referrer etc.), which can send links to JD using HTTP requests, without the need of creating/adding...
Forum: Host Plugin Reports 23.11.2023, 15:45
Replies: 25
Views: 1,987
Posted By mgpai
Yes I am. Thank you. :) Hope you are too.

Yes I am. Thank you. :)
Hope you are too.
Forum: Host Plugin Reports 22.11.2023, 13:37
Replies: 25
Views: 1,987
Posted By mgpai
Thanks @psp. :) Still on the sidelines though....

Thanks @psp. :)
Still on the sidelines though. ;)
Forum: General Discussion 21.11.2023, 14:21
Replies: 20
Views: 2,210
Posted By mgpai
Do not use the key name ("folderwatch"). Type...

Do not use the key name ("folderwatch"). Type only the path to folder. Comma separated for multiple folders.

[ "c:\\folder one", "d:\\folder two"]
Forum: JDownloader 2 20.11.2023, 15:01
Replies: 4
Views: 1,105
Posted By mgpai
browser > myjd extension > settings > preferred...

browser > myjd extension > settings > preferred target
Forum: Host Plugin Reports 17.11.2023, 22:25
Replies: 25
Views: 1,987
Posted By mgpai
while (link.getName() != ln) { sleep(10); ...

while (link.getName() != ln) {
sleep(10);
}
Forum: Host Plugin Reports 16.11.2023, 12:00
Replies: 25
Views: 1,987
Posted By mgpai
Other way round. Check post #5...

Other way round. Check post #5 (Link_not_visible

Intial file name : AHappyFileToDownload.txt
Final file name : ahappyfiletodownload.txt

User...
Forum: Host Plugin Reports 15.11.2023, 17:50
Replies: 25
Views: 1,987
Posted By mgpai
I too am on windows where it is working fine. ...

I too am on windows where it is working fine.
It is by default changed/saved in lowercase, which is what is causing problem in linux .
In linux, file exists check should work fine if user...
Forum: Host Plugin Reports 13.11.2023, 16:06
Replies: 25
Views: 1,987
Posted By mgpai
filename on linkcheck : mixed case filename...

filename on linkcheck : mixed case
filename during download : lower case

File exists check might fail if it looks for a mixed case file on disk, becaise it would have been actually changed to...
Forum: Host Plugin Reports 09.11.2023, 08:16
Replies: 25
Views: 1,987
Posted By mgpai
script: /* trigger : toolbar button...

script:
/*
trigger : toolbar button pressed
*/

if (name == "myButton") {
getAllDownloadLinks().forEach(function(link) {
if (getPath(link.downloadPath).exists()) {
...
Forum: JDownloader 2 26.06.2022, 15:47
Replies: 2,842
Views: 10,180,421
Posted By mgpai
/* Export settings Trigger : none ...

/*
Export settings
Trigger : none
*/

var rows = [];
var keys = [];
var file = JD_HOME + "/settings.tsv";
var settings = callAPI("config", "list", ".+", true, true, true, true);
Showing results 1 to 50 of 1000

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