JDownloader Community - Appwork GmbH
 

Showing results 1 to 50 of 946
Search took 0.02 seconds.
Search: Posts Made By: mgpai
Forum: JDownloader 2 20.10.2020, 18:11
Replies: 1,551
Views: 321,601
Posted By mgpai
I have created the script based on the example...

I have created the script based on the example you provided, in which the destination folder is not a sub-folder of the source folder, but an entirely different one.

Try replacing this:
var...
Forum: General Discussion 20.10.2020, 11:45
Replies: 12
Views: 168
Posted By mgpai
// Move downloaded files to user-specified folder...

// Move downloaded files to user-specified folder and remove the link from download list
// Trigger: A Download Stopped

if (link.finished) {
var destinationFolder = "/home/";
...
Forum: General Discussion 20.10.2020, 09:13
Replies: 12
Views: 168
Posted By mgpai
// Move downloaded files to user-specified folder...

// Move downloaded files to user-specified folder
// Trigger: A Download Stopped

if (link.finished) {
var destinationFolder = "/home/";
...
Forum: JDownloader 2 20.10.2020, 09:06
Replies: 1,551
Views: 321,601
Posted By mgpai
// Move downloaded non-archive files to...

// Move downloaded non-archive files to user-specified folder
// Trigger: A Download Stopped

if (link.finished && !link.archive) {
var downloadFolder = link.package.downloadFolder;
var...
Forum: JDownloader 2 19.10.2020, 11:57
Replies: 1,551
Views: 321,601
Posted By mgpai
You can enable the option in the script: var...

You can enable the option in the script:
var deleteSourceFile = false; // Set this to true to delete source file after conversion.
Forum: JDownloader 2 14.10.2020, 06:33
Replies: 8
Views: 186
Posted By mgpai
Add custom Buttons and Scripts to JDownloader ...

Add custom Buttons and Scripts to JDownloader
(https://support.jdownloader.org/Knowledgebase/Article/View/add-custom-buttons-and-scripts-to-jdownloader)
Forum: JDownloader 2 10.10.2020, 07:09
Replies: 1,551
Views: 321,601
Posted By mgpai
I do not use the software myself, so I am not...

I do not use the software myself, so I am not familiar with its parameters. All external commands in the script will should be in the following format.

Synchronous:
callSync("\"commandline1\"",...
Forum: JDownloader 2 10.10.2020, 06:49
Replies: 1,551
Views: 321,601
Posted By mgpai
Settings > Event Scripter Install Event...

Settings > Event Scripter

Install Event Scripter and restart JD to enable it.
Open Eventscripter panel > Click edit button > Paste script > Save > Enable



Disable the script in...
Forum: JDownloader 2 29.09.2020, 11:14
Replies: 1,551
Views: 321,601
Posted By mgpai
If available, JD may save the webpage URL as...

If available, JD may save the webpage URL as 'origin', 'referrer' or 'container' URL depending on the plugin and/or how it was copied. The following script will export all the available URLs related...
Forum: Hoster-Plugin Probleme 29.09.2020, 09:46
Replies: 19
Views: 411
Posted By mgpai
Right-click on the 'checkbox' column header.

Right-click on the 'checkbox' column header.
Forum: JDownloader 2 09.09.2020, 14:39
Replies: 1,551
Views: 321,601
Posted By mgpai
Requested by @RedNapalm (IRC) /* ...

Requested by @RedNapalm (IRC)

/*
Append download folder to comment
Trigger: Downloadlist Contextmenu button pressed
Customize context menu > Add new "Eventscript Trigger" button >...
Forum: JDownloader 2 09.09.2020, 08:07
Replies: 1,551
Views: 321,601
Posted By mgpai
Requested by dex1983 (IRC) /* On...

Requested by dex1983 (IRC)

/*
On package finished, if the package does not contain archives, move files to user-specified location
Trigger: Package finished
*/

var myFolder =...
Forum: JDownloader 2 09.09.2020, 07:13
Replies: 1,551
Views: 321,601
Posted By mgpai
/* On download finished, append download...

/*
On download finished, append download folder to comment
Trigger: A Download Stopped
*/

if (link.finished) {
var comment = link.comment || "",
folder =...
Forum: JDownloader 2 09.09.2020, 06:58
Replies: 1,551
Views: 321,601
Posted By mgpai
I was unable to reproduce any errors. Check if...

I was unable to reproduce any errors. Check if the script has been disabled. If the script is getting disabled automatically, provide the url which causes the same.
Forum: JDownloader 2 27.08.2020, 08:26
Replies: 2
Views: 222
Posted By mgpai
LinkCollector.packageautoexpanded (Advanced...

LinkCollector.packageautoexpanded (Advanced Settings)
Forum: Hoster-Plugin Probleme 26.08.2020, 16:30
Replies: 76
Views: 7,584
Posted By mgpai
Please let me know if you come across such...

Please let me know if you come across such scripts.
Forum: Hoster-Plugin Probleme 26.08.2020, 15:45
Replies: 76
Views: 7,584
Posted By mgpai
I don't think it is fair to characterise it as a...

I don't think it is fair to characterise it as a script issue since the problems reported here are JD timeout issues or caused by bad proxies. Neither of them can be fixed by making any changes to...
Forum: Hoster-Plugin Probleme 26.08.2020, 15:27
Replies: 76
Views: 7,584
Posted By mgpai
I don't see how the issues are 'caused' or...

I don't see how the issues are 'caused' or 'triggered' by the script, since the users will face the same problems if they add those proxies manually in the connection manager instead of using this...
Forum: JDownloader 2 26.08.2020, 14:46
Replies: 1,551
Views: 321,601
Posted By mgpai
You can find a list of available methods in the...

You can find a list of available methods in the built-in help of the script editor. Following methods return archive object for links/packages, if present. Else, it returns null.

var myArchive =...
Forum: JDownloader 2 24.08.2020, 11:30
Replies: 1,551
Views: 321,601
Posted By mgpai
/* Rewrite URL Trigger: New Crawler...

/*
Rewrite URL
Trigger: New Crawler Job
*/

var re = /(Link_not_visible
var text = job.text;

if (re.test(text)) {
job.text = job.text.replace(re,...
Forum: JDownloader 2 19.08.2020, 13:21
Replies: 1,551
Views: 321,601
Posted By mgpai
Yes. It's fine.

Yes. It's fine.
Forum: JDownloader 2 19.08.2020, 13:06
Replies: 1,551
Views: 321,601
Posted By mgpai
The strings will be automatically added to the...

The strings will be automatically added to the selected link/package comment when using the context menu item.

You can type the string in the bottom toolbar search field to find links for which...
Forum: JDownloader 2 19.08.2020, 11:13
Replies: 1,551
Views: 321,601
Posted By mgpai
Do not use old scripts. The new script uses...

Do not use old scripts. The new script uses different comments for link and packages, since you wanted to also set sound only for package. Remove old scripts and context menu items and only use the...
Forum: JDownloader 2 19.08.2020, 10:20
Replies: 1,551
Views: 321,601
Posted By mgpai
I have rewritten the scripts in post #1508...

I have rewritten the scripts in post #1508 (Link_not_visible



You can now also mark folders.



You can mark the link/package in download...
Forum: JDownloader 2 18.08.2020, 22:37
Replies: 1,551
Views: 321,601
Posted By mgpai
Realised error handling was missing from the...

Realised error handling was missing from the second script only after I had posted it and fixed it soon after (before your post). Please try the modified script.
Forum: JDownloader 2 18.08.2020, 21:56
Replies: 1,551
Views: 321,601
Posted By mgpai
Toggle sound notification for selected (single)...

Toggle sound notification for selected (single) link/package (common script for download/linkgrabber tab):
//Toggle sound notification
//Trigger : Downloadlist Contextmenu Button Pressed AND/OR...
Forum: JDownloader 2 18.08.2020, 21:21
Replies: 1,551
Views: 321,601
Posted By mgpai
Your setup seems fine. I can only assume the data...

Your setup seems fine. I can only assume the data which is returned by the script might be different than that of what is displayed in the GUI. Find me in JD Chat when you are free and have such...
Forum: JDownloader 2 18.08.2020, 06:52
Replies: 1,551
Views: 321,601
Posted By mgpai
Although the script help wrongly displays "This...

Although the script help wrongly displays "This Event will never be triggered" for the "JDownloader started" trigger, the script is executed on JD start as expected and working fine.

Please post a...
Forum: JDownloader 2 17.08.2020, 13:54
Replies: 1,551
Views: 321,601
Posted By mgpai
Script will 'never be triggered' if trigger has...

Script will 'never be triggered' if trigger has not been selected (Default trigger is None). Use the trigger specified in the script.
Forum: Allgemeine Diskussion 17.08.2020, 13:50
Replies: 5
Views: 588
Posted By mgpai
@MC_Kay: You can also check the 'Folder Watch'...

@MC_Kay: You can also check the 'Folder Watch' extension. Should be easy enough to format the data in spreadsheet and export it in 'crawljob' (text) format.
Forum: Host Plugin Reports 14.08.2020, 10:57
Replies: 3,944
[User feedback required] Youtube Issue Thread!
Views: 1,939,894
Posted By mgpai
JD does return the same variant as best quality...

JD does return the same variant as best quality with default settings:

Link_not_visible

https://i.imgur.com/7ruKyJX.png
Forum: JDownloader 2 11.08.2020, 17:53
Replies: 1,551
Views: 321,601
Posted By mgpai
Are you planning to? Maybe you can also make...

Are you planning to? Maybe you can also make packagizer/linkfilter/linkcrawler/domain rules available in the same repo. :)
Forum: JDownloader 2 11.08.2020, 17:32
Replies: 1,551
Views: 321,601
Posted By mgpai
disablePermissionChecks(); ...

disablePermissionChecks();
setNotifyOnException(false);
setAdvancedAlert(true);

// Proxylist updates for hosters (e.g. Zippyshare.com)
// Trigger: Interval (e.g. 10000ms)

var refreshtime =...
Forum: JDownloader 2 11.08.2020, 05:53
Replies: 1,551
Views: 321,601
Posted By mgpai
If the URL is protected, you may need to use: ...

If the URL is protected, you may need to use:
var myString = myDownloadLink.getPluginURL();
Forum: JDownloader 2 01.08.2020, 07:08
Replies: 1,551
Views: 321,601
Posted By mgpai
/* Toggle packagizer extension ...

/*
Toggle packagizer extension
Trigger: Toolbar Button Pressed
Customize main toolbar > Add a new 'Eventscripter Trigger' button > Rename it to "Toggle Packagizer" (without quotes,...
Forum: JDownloader 2 31.07.2020, 16:13
Replies: 1,551
Views: 321,601
Posted By mgpai
Explanation is provided in script comments (green...

Explanation is provided in script comments (green colored text).



Replace the example script with the following:

//check if downloads are running at all
if (isDownloadControllerRunning() &&...
Forum: JDownloader 2 28.07.2020, 08:46
Replies: 1,551
Views: 321,601
Posted By mgpai
It effectively does the same thing. The files...

It effectively does the same thing. The files will be moved as soon as the log file is available in the 'extracting' folder and queried. How fast you want it to be processed will depend on the the...
Forum: JDownloader 2 27.07.2020, 12:18
Replies: 1,551
Views: 321,601
Posted By mgpai
You don't need to get the correct log file, or...

You don't need to get the correct log file, or even any other data from the 'extraction finished' trigger. You can use any trigger (For e.g. JD started, interval) and loop through the log files of...
Forum: JDownloader 2 26.07.2020, 13:44
Replies: 1,551
Views: 321,601
Posted By mgpai
You can use existing methods to extract matching...

You can use existing methods to extract matching strings from the log file.

var match = readFile(getPath(path_to_correct_log_file)).match(/Archive Path\: (.+)/);

if (match) {
var...
Forum: JDownloader 2 26.07.2020, 08:31
Replies: 1,551
Views: 321,601
Posted By mgpai
Looks like it is related to the issue you...

Looks like it is related to the issue you reported. If the API method returns the wrong log, nothing can be done in the script to verify/rectify it.

If you can run a local file server, you can...
Forum: JDownloader 2 25.07.2020, 16:07
Replies: 1,551
Views: 321,601
Posted By mgpai
That message will be displayed only on 'method of...

That message will be displayed only on 'method of null' error (if 'log' is 'null'). This seems to be a different error which is thrown right at the beginning when executing...
Forum: JDownloader 2 25.07.2020, 13:30
Replies: 1,551
Views: 321,601
Posted By mgpai
Quite possible. I guess you will have to wait for...

Quite possible. I guess you will have to wait for the developers to confirm, and fix it if necessary. In the meanwhile, you can try this workaround.

var getArchiveFiles = function() {
var log...
Forum: JDownloader 2 25.07.2020, 09:42
Replies: 1,551
Views: 321,601
Posted By mgpai
I am unable to reproduce the error. Open the...

I am unable to reproduce the error. Open the extraction log to check if it matches the regex pattern used in the script (just in case if it is language dependent), and modify if necessary.
Forum: JDownloader 2 24.07.2020, 11:56
Replies: 1,551
Views: 321,601
Posted By mgpai
You can modify the code to also get file paths of...

You can modify the code to also get file paths of archives with links:
var getArchiveFiles = function() {
return...
Forum: JDownloader 2 19.07.2020, 16:42
Replies: 5
[Solved] error message
Views: 336
Posted By mgpai
Contact me in JD Chat: ...

Contact me in JD Chat:
kiwiirc.com/nextclient/irc.freenode.net/#jdownloader
Forum: JDownloader 2 19.07.2020, 12:20
Replies: 5
[Solved] error message
Views: 336
Posted By mgpai
Seems your script has some error. Replace it with...

Seems your script has some error. Replace it with the one in the forum and try again. I have tested it and it working fine.
Forum: JDownloader 2 15.07.2020, 10:10
Replies: 1,551
Views: 321,601
Posted By mgpai
@psp: Have included an option to restart after...

@psp: Have included an option to restart after 'x' hours (Disabled by default).

For GUI:
// Restart & Update when JD is idle, or after 'x' hours.
// Trigger: Interval (Recommended 600000 or...
Forum: JDownloader 2 12.07.2020, 10:27
Replies: 1,551
Views: 321,601
Posted By mgpai
Why would it not be? You OP does not include any...

Why would it not be? You OP does not include any explicit request for deletion of the source file.

You can use the program options (add it to the existing program parameters in script) to delete...
Forum: JDownloader 2 11.07.2020, 15:48
Replies: 1,551
Views: 321,601
Posted By mgpai
// Remux 'mp4' to 'mkv' // Trigger: A Download...

// Remux 'mp4' to 'mkv'
// Trigger: A Download Stopped

if (link.finished) {
var file = link.downloadPath,
type = getPath(file).extension,
out = file.replace(type, "mkv"),
...
Forum: Wünsche 08.07.2020, 19:33
Replies: 88
Views: 5,827
Posted By mgpai
I only added a code to display message for...

I only added a code to display message for troubleshooting purpose. It should not affect any other function of the script. The script which you have linked appears to be different. You will have to...
Showing results 1 to 50 of 946

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