JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Old 25.02.2020, 22:26
yondu yondu is offline
DSL Light User
Join Date: Jun 2019
Posts: 33
Default [EventScripter] Automated add-link job (execution every 12 hours)

A lot of series are released episode by episode nowadays, and uploaders normally add new episodes to the same folder on their filecrypter. Therefore it should be possible to stay up to date, if the link of the respective filecrypt-folder is added twice per day to the linkcollecter. If there are no new links, nothing should happen. If there are new links, they are transferred to the download section. Is there a way to implement this? Layman asking, so please tell me what I would have to set up and where. Any answers are highly appreciated. Many thanks in advance.
Reply With Quote
Old 25.02.2020, 23:20
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235

there are multiple options.
Please search our forum for:
- EventScripter addon
- Folder Watch addon
- Myjdownloader/Remote API

JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download

A users' JD crashes and the first thing to ask is:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
Old 07.04.2020, 10:36
yondu yondu is offline
DSL Light User
Join Date: Jun 2019
Posts: 33

For the people interested, I got it working with the following script in the EventScripter:

// Add multiple URLs at user defined interval
// Trigger required: "Interval"

var setInterval = 720; // in minutes
var feeds = "C:/.../links.txt"; // Full path to text file containing the urls

if (interval == setInterval * 720 * 1000) {
    callAPI("linkgrabberv2", "addLinks", {
        "deepDecrypt": true,
        "links": readFile(feeds)
} else {
    interval = setInterval * 720 * 1000;

Please note that even under Windows, slashs should be used instead of backslashs in the filepath. Otherwise, an error occurs.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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