JDownloader Community - Appwork GmbH
 

Notices

Showing results 1 to 50 of 1000
Search took 0.02 seconds.
Search: Posts Made By: mgpai
Forum: JDownloader 2 18.01.2021, 21:35
Replies: 1,648
Views: 376,633
Posted By mgpai
Seems quite possible. This script uses MYJD...

Seems quite possible.

This script uses MYJD API call to check the download controller state, while the other one uses the eventscripter method. This script uses "IDLE" status to check the sate. I...
Forum: JDownloader 2 16.01.2021, 10:52
Replies: 1,648
Views: 376,633
Posted By mgpai
You can use String/RegExp Object methods: ...

You can use String/RegExp Object methods:
str1.indexOf(str2) > -1; // boolean
new RegExp(str2).test(str1) // boolean



JD uses Rhino/ES5 version. ES6 methods like 'includes' are not supported....
Forum: JDownloader 2 15.01.2021, 17:23
Replies: 1,648
Views: 376,633
Posted By mgpai
YT playlist workaround script: ...

YT playlist workaround script:

gist.github.com/mgpai/b2c21be86fbdf2186eca34af16cfb95d
Forum: Decrypter Plugin Reports 12.01.2021, 18:30
Replies: 18
Views: 232
Posted By mgpai
Use 'Settings > Plugins' to change YT settings...

Use 'Settings > Plugins' to change YT settings and file/package name patterns. It also contains the list of variables which can be used.
Forum: JDownloader 2 07.01.2021, 16:59
Replies: 11
Views: 345
Posted By mgpai
/* Wait while linkcrawler/linkcollector is...

/*
Wait while linkcrawler/linkcollector is active
Trigger: Before a Reconnect
*/

while (
callAPI("linkcrawler", "isCrawling") ||
callAPI("linkgrabberv2", "isCollecting")) {
...
Forum: JDownloader 2 07.01.2021, 08:35
Replies: 1,648
Views: 376,633
Posted By mgpai
// Get link property String.prototype.prop =...

// Get link property
String.prototype.prop = function() {
return link.getProperty(this);
};


It is not a a JQuery method. It is prototype added by me to the Javascript String object and...
Forum: JDownloader 2 06.01.2021, 17:37
Replies: 11
Views: 345
Posted By mgpai
You can use the isCrawling...

You can use the isCrawling (Link_not_visibleand isCollecting (Link_not_visibleMYJD API methods to check/wait for crawling/collecting...
Forum: JDownloader 2 31.12.2020, 11:20
Replies: 17
Views: 554
Posted By mgpai
Related post...

Related post (https://board.jdownloader.org/showpost.php?p=477530&postcount=16)
Forum: Problems & Bug Reports 31.12.2020, 11:13
Replies: 19
Views: 975
Posted By mgpai
Right-click on the 'use' (first) column header. ...

Right-click on the 'use' (first) column header.

https://i.imgur.com/Ez5vnYh.png
Forum: JDownloader 2 30.12.2020, 11:51
Replies: 1,648
Views: 376,633
Posted By mgpai
// Convert aac/m4a/ogg files to mp3. // Trigger...

// Convert aac/m4a/ogg files to mp3.
// Trigger required: "A Download Stopped".
// Requires ffmpeg/ffprobe. Uses JD ffmpeg/ffprobe settings if available.
// Overwrites destination file (mp3) if it...
Forum: Suggestions & Requests 29.12.2020, 05:36
Replies: 10
Views: 286
Posted By mgpai
Downloadurl -> contains ->...

Downloadurl -> contains -> pic.im-cdn.it/image/*/xxl.jpg
Then set -> Filename - > <jd:hoster:1>.<jd:orgfiletype>
Forum: Wünsche 28.12.2020, 18:04
Replies: 8
Views: 219
Posted By mgpai
Eventscripter script to sort download packages by...

Eventscripter script to sort download packages by size in WebUI.

/*
Sort file packages
Trigger: New Crawler Job
To sort ALL download packages by size, open "add links" dialog and...
Forum: Wünsche 28.12.2020, 17:30
Replies: 8
Views: 219
Posted By mgpai
Time based (interval) should be possible via any...

Time based (interval) should be possible via any interface. If it is WebUI, can enter a keyword e.g. "sortbysize" in 'add links' dialog and parse/match it using "new crawler job" to run the script....
Forum: Wünsche 28.12.2020, 16:54
Replies: 8
Views: 219
Posted By mgpai
@Jiaz: A workaround is possible to sort ALL...

@Jiaz: A workaround is possible to sort ALL download packages, using array sort and movePackages MYJD API method in eventscripter, either at user-specified time(s), using 'interval' trigger or by...
Forum: JDownloader 2 28.12.2020, 06:06
Replies: 1,648
Views: 376,633
Posted By mgpai
The script just passes the command to ffprobe,...

The script just passes the command to ffprobe, which fails to return valid JSON data. Most likely caused by ffprobe version which is not compatible (or corrupted?) with the encoded file. Can be...
Forum: JDownloader 2 27.12.2020, 07:20
Replies: 1,648
Views: 376,633
Posted By mgpai
You can post the log ID in this thread. The...

You can post the log ID in this thread. The developers may be able to check/fix the issue or provide me the necessary information to create a script.

In the meanwhile, you can also try THIS...
Forum: JDownloader 2 25.12.2020, 08:00
Replies: 1,648
Views: 376,633
Posted By mgpai
It would be better to fix the underlying issue....

It would be better to fix the underlying issue. If you provide example links and log the developers might be able to check it.

The download controller is stopped only when all attempts to...
Forum: Suggestions & Requests 24.12.2020, 11:12
Replies: 6
Views: 806
Posted By mgpai
Rule can also been found at pastebin.

Rule can also been found at pastebin.
Forum: JDownloader 2 24.12.2020, 11:00
Replies: 10
Views: 406
Posted By mgpai
Customize menu: Example...

Customize menu: Example (https://board.jdownloader.org/showpost.php?p=333772&postcount=2)
Forum: JDownloader 2 11.12.2020, 20:02
Replies: 1,648
Views: 376,633
Posted By mgpai
Should be possible. Find me in JD Chat....

Should be possible. Find me in JD Chat. kiwiirc.com/nextclient/irc.freenode.net/#jdownloader
Forum: JDownloader 2 11.12.2020, 18:18
Replies: 1,648
Views: 376,633
Posted By mgpai
'Download stopped' trigger can be used, but with...

'Download stopped' trigger can be used, but with additional check. LIke check if the link and its packge is also finished. But since the archive extraction will run post download, it is not suitable...
Forum: Wünsche 10.12.2020, 23:32
Replies: 145
Views: 11,523
Posted By mgpai
For YT links, the script has been modified to...

For YT links, the script has been modified to match the video url and not the variant url, which means when you add YR links to JD, all variants of that video url, should automatically be disabed Is...
Forum: Wünsche 10.12.2020, 22:53
Replies: 145
Views: 11,523
Posted By mgpai
Do you mean, the variant added via add links...

Do you mean, the variant added via add links dialog or clipboard is disabled, but other variants of the same video, when added via context menu are not disabled?
Forum: Wünsche 10.12.2020, 17:23
Replies: 145
Views: 11,523
Posted By mgpai
@dockel: All 3 new scripts needed to be updated....

@dockel: All 3 new scripts needed to be updated. Please replace your existing scripts with the latest version.



You mean if there are multiple variants in the list, select one you want and...
Forum: Wünsche 10.12.2020, 14:29
Replies: 145
Views: 11,523
Posted By mgpai
From what I can gather, only 3 scripts need to be...

From what I can gather, only 3 scripts need to be replaced. They are not in any particular order. I numbered them so that they can be easily replaced in other posts.



I don't see you online in...
Forum: Wünsche 10.12.2020, 13:28
Replies: 145
Views: 11,523
Posted By mgpai
Replacement scripts Script #1 /* ...

Replacement scripts

Script #1

/*
Move selected links from linkgrabber list to history file
Trigger required: Linkgrabber Contextmenu Button Pressed
Customize linkgrabber context...
Forum: Wünsche 10.12.2020, 12:21
Replies: 145
Views: 11,523
Posted By mgpai
I am working on it.

I am working on it.
Forum: Wünsche 10.12.2020, 04:26
Replies: 145
Views: 11,523
Posted By mgpai
@Dockel: Can you please contact me in JD Chat?

@Dockel: Can you please contact me in JD Chat?
Forum: Problems & Bug Reports 09.12.2020, 19:49
Replies: 9
Views: 615
Posted By mgpai
Yes. In the top section of the advanced settings...

Yes. In the top section of the advanced settings panel.
Forum: Problems & Bug Reports 09.12.2020, 19:38
Replies: 9
Views: 615
Posted By mgpai
@psp: Instructions on how to enter data can be...

@psp: Instructions on how to enter data can be included in the top of the panel below the existing text. For e.g. "Note: Double-click the corresponding field in value column to edit/add data"
Forum: Wünsche 09.12.2020, 17:26
Replies: 145
Views: 11,523
Posted By mgpai
From what I can see, the links are disabled only...

From what I can see, the links are disabled only in linkgrabber tab. In downloads tab, they are skipped, not disabled.

Can you number the scripts in your post? I will then tell you which script I...
Forum: Wünsche 09.12.2020, 15:06
Replies: 145
Views: 11,523
Posted By mgpai
When adding new links to linkgrabber? New script...

When adding new links to linkgrabber? New script will only process links which are ONLINE, unlike the old script, which did not check for availability, which would result in wrong type of links (e.g....
Forum: Wünsche 09.12.2020, 14:38
Replies: 145
Views: 11,523
Posted By mgpai
The problem reported does not seem to be related...

The problem reported does not seem to be related to memory optimization or lack thereof.

I will optimize these scripts, but, I do not want to use global properties in new scripts, if it needs...
Forum: Wünsche 08.12.2020, 19:52
Replies: 145
Views: 11,523
Posted By mgpai
I needed only 'history' scripts. I am less sure...

I needed only 'history' scripts. I am less sure than you as to which scripts are needed. I'll try to figure out. :)
Forum: Wünsche 08.12.2020, 17:28
Replies: 145
Views: 11,523
Posted By mgpai
@Dockel: Please provide in a single post, the...

@Dockel: Please provide in a single post, the current versions of ALL your 'history' scripts. Use 'code' tag for scripts when composing the post.
Forum: JDownloader 2 08.12.2020, 16:50
Replies: 90
Views: 2,377
Posted By mgpai
There are many versions of the scripts which are...

There are many versions of the scripts which are scattered all over that thread. Some were modified in IRC, and those versions may not even be in the forum. I can only check if I know which script...
Forum: JDownloader 2 08.12.2020, 15:52
Replies: 90
Views: 2,377
Posted By mgpai
Only this script was causing high memory/cpu...

Only this script was causing high memory/cpu usagem due to the nature of the event trigger used. If any other script is causing a similar issue, I will look into it.
Forum: JDownloader 2 08.12.2020, 15:21
Replies: 90
Views: 2,377
Posted By mgpai
Yes.

Yes.
Forum: JDownloader 2 08.12.2020, 14:53
Replies: 90
Views: 2,377
Posted By mgpai
/* Disable duplicate link in Lingrabber ...

/*
Disable duplicate link in Lingrabber
Trigger required: A new link has been added
*/

var link = crawledLink;

if (link.availableState == "ONLINE") {
var name = "history";
...
Forum: JDownloader 2 06.12.2020, 13:11
Replies: 1,648
Views: 376,633
Posted By mgpai
function setFolderwatchEnabled(boolean) { ...

function setFolderwatchEnabled(boolean) {
callAPI("extensions", "setEnabled", "org.jdownloader.extensions.folderwatchV2.FolderWatchExtension", boolean);
}
Forum: JDownloader 2 06.12.2020, 10:12
Replies: 4
[Solved] Groupings
Views: 432
Posted By mgpai
You can create a Packagizer...

You can create a Packagizer (Link_not_visiblerule.

Example:
If > File name > contains: index-v1-a1
then set > Package Name : my...
Forum: Wünsche 04.12.2020, 17:21
Replies: 145
Views: 11,523
Posted By mgpai
@Dockel: You're welcome. Fee free to let me know...

@Dockel: You're welcome. Fee free to let me know if you need any new scripts, or make any changes to the existing ones.
Forum: Wünsche 04.12.2020, 16:31
Replies: 145
Views: 11,523
Posted By mgpai
One more is one too many. :) Implemented in...

One more is one too many. :)

Implemented in existing script with slight changes. Also added availablestate check to the script.

/*
Add finished download links from selection to history,...
Forum: JDownloader 2 04.12.2020, 15:12
Replies: 1,648
Views: 376,633
Posted By mgpai
/* View recent JD update log(s) ...

/*
View recent JD update log(s)
Trigger: Interval
*/

var myInterval = 600000; // check for new update logs every x milliseonds

if (interval == myInterval) {
var editor =...
Forum: Wünsche 04.12.2020, 11:55
Replies: 145
Views: 11,523
Posted By mgpai
They are not mapped to corresponding highlighted...

They are not mapped to corresponding highlighted links in linkgrabber, so it will require another dupe check to match the selected links against each link present in linkgrabber and mark them as...
Forum: Wünsche 03.12.2020, 21:14
Replies: 145
Views: 11,523
Posted By mgpai
If the urls were already present in the history...

If the urls were already present in the history file at the time of adding them to LG list, it will be (should be) marked as duplicate by the script. Only time they would not be marked as such is, if...
Forum: Wünsche 03.12.2020, 17:10
Replies: 145
Views: 11,523
Posted By mgpai
@Jiaz has correctly explained it. The whole point...

@Jiaz has correctly explained it. The whole point of the script was to check for dupes which are not already in the download list. There doesn't seem to be much point in the script again doing what...
Forum: JDownloader 2 30.11.2020, 13:13
Replies: 90
Views: 2,377
Posted By mgpai
@Jiaz: Since the "packagzier link' can already be...

@Jiaz: Since the "packagzier link' can already be accessed using "Packagizer Hook", would it be possible for the "A new link has been added" trigger to return "crawled link", instead of ...
Forum: General Discussion 29.11.2020, 14:38
Replies: 2
Views: 360
Posted By mgpai
Not possible using any existing settings. You...

Not possible using any existing settings. You will have to temporarily skip or disable the other links, either manually or automatically (using eventscripter).
Forum: Allgemeine Diskussion 29.11.2020, 13:11
Replies: 4
Views: 349
Posted By mgpai
Yes. The entire contents of the 'cfg' folder will...

Yes. The entire contents of the 'cfg' folder will be saved, which includes all user settings and link lists. The generated file will be in zip format, so it can also be opened/viewed using any...
Showing results 1 to 50 of 1000

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