JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #2041  
Old 13.11.2021, 21:23
Pretender's Avatar
Pretender Pretender is offline
Modem User
 
Join Date: Nov 2021
Posts: 1
Default

Hi guys! I'm looking for a script that can transfer files downloaded to my VPS to Gdrive.
Is anything like that already available?
Reply With Quote
  #2042  
Old 14.11.2021, 04:14
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,484
Default

Quote:
Originally Posted by Pretender View Post
Hi guys! I'm looking for a script that can transfer files downloaded to my VPS to Gdrive.
Is anything like that already available?
You have to call an external program like rclone in eventscripter. There might be some examples in the forum, but if you cannot find one, test the program in CLI and post the working command here.
Reply With Quote
  #2043  
Old 14.11.2021, 16:05
mrjjones mrjjones is offline
Vacuum Cleaner
 
Join Date: Nov 2021
Posts: 17
Post Change to LinkGrabber tab

Is there a command to change to the LinkGrabber tab?

I wanted to add a script to automatically switch to the LinkGrabber tab when a new link is added. Or is that already possible? I couldn't find anything in the advanced settings; just to auto switch to Downloads tab on new download.
Reply With Quote
  #2044  
Old 14.11.2021, 16:11
mrjjones mrjjones is offline
Vacuum Cleaner
 
Join Date: Nov 2021
Posts: 17
Default

Quote:
Originally Posted by mrjjones View Post
Is there a command to change to the LinkGrabber tab?

I wanted to add a script to automatically switch to the LinkGrabber tab when a new link is added. Or is that already possible? I couldn't find anything in the advanced settings; just to auto switch to Downloads tab on new download.
Oops, never mind. I'm so used to looking in advanced settings. It's in Settings > User Interface > Window Management > When new Links were added..
Reply With Quote
  #2045  
Old 15.11.2021, 05:36
stakelabel stakelabel is offline
Baby Loader
 
Join Date: Nov 2021
Posts: 6
Default

Quote:
Originally Posted by mgpai View Post
I will need more info. Contact me in IRC:
Code:
kiwiirc.com/nextclient/irc.libera.chat/#jdownloader
thank you mgpai:)
When is your active time of day?
Reply With Quote
  #2046  
Old 15.11.2021, 05:50
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,484
Default

Quote:
Originally Posted by stakelabel View Post
thank you mgpai:)
When is your active time of day?
I am available now. Pinged you in the channel.
Reply With Quote
  #2047  
Old 15.11.2021, 06:24
stakelabel stakelabel is offline
Baby Loader
 
Join Date: Nov 2021
Posts: 6
Default

Quote:
Originally Posted by stakelabel View Post
hi, Thanks for the great software!

(1)Pass through the link grabber.
There is always a URL to download.

I tried, but dont work..
--
var host = "myhost.com";
var myString = myDownloadLink.getDownloadHost();
startDownloads();
--

(2)Unzip after downloading only the specified URL
Now everything is unzip after download.

I found a script that does batch processing after unzipping. tnx:)
callAsync(function(){},"cmd","/c","c:/myFolder/myBatch.bat");
All resolved with mgpai support.
Thank you, Master!

My problem can be solved with the packagizer, not the script.
My environment was non-English, but when I set it to English, the packagizer showed up.
Reply With Quote
  #2048  
Old 18.11.2021, 20:25
Marvel Marvel is offline
Baby Loader
 
Join Date: Oct 2021
Posts: 5
Default

@Jiaz

Marvel hier, Event scripter.....

- THX mgpai

Also hab den Hinweis von mgpai gelesen, aber ich hab kein ffplay in JD Tools drinn….. (Ich hab die Portable Edition von JD Downloader) , muss ich die Erweiterungen installieren wenn ja wo, ist es eventuell in Growl Benachrichtigung drinnen ..???

- Hab zwar die Dienste von dir angesehen, da muss man sich anmelden… zwar find ich die APP und den Dienst und Funktionumfang richtig gut, (vermutlich werd ich in er Zukunft nicht drum herum kommen, aber jetzt für diesen Rechner wären die Notification Trigger doch nötig.

-Jaaa der Hinweis mit dem "VPN Client verstellen" war garnicht schlecht, leider ist da ein bug drinnen wie feststellen musste, den es gibt die Einstellung nach X Minuten Verbindung Trennen bei Inaktivität. Obwohl es noch Aktivität gibt trennt es dennoch die Verbindung, zum kotzen. Aber war gut muss mich nach ner Anderen App umsehen woo ich drauf achte. Jetzt weiss ich ja worauf ich achten muss, Danke Dir.

Notification trigger fürs Entpacken

Ja, bitte, und zwar hab ich das eingebaute Example genutzt was gut funktioniert, File by File,aber manchmal dauert es seine Zeit, solche Pakete zu entpacken, den ich mache was anderes In der Zeit, und hab dann den Monitor aus. Denn ich entpacke die Pakete immer dann wenn ich den Rechner nicht brauche, gleichzeitig und während dem Surfen ist der Arbeitsspeicher bereits bedient. Und soo gut wie unbenutzbar.

Wie gesagt es macht derzeit eine wav Sound File by File funktioniert gut. Wenn es möglich ist einen separaten Script zu machen der ein mp3 Lied abspielt wenn z.B alle 15 Files erst fertig sind wäre es klasse mit FFplay wenn du mir noch sagst wie den installiert bekomme.

Und Die eingebauten Lautsprecher Triggern mir dann und sagen bescheid wenns fertig ist.


Notification trigger für Geschwindigkeit fällt länger als 1 min unter 50 kbit

Geschwindkeit fällt für 1 minute unter 50 kbit gibt mp3 Sound aus. Einmal hierfür script.

Und Hier hätt ich bereits einen Upgrade Wunsch zu vorigen dazu

Fällt die Geschwindigkeit jetzt für länger als 2 Minute unter 50kbit etc.-Stope den Download-Deaktiviere den Link (nicht Paket)-Gib Notification Trigger Aus mp3-starte nächsten Download „Link“

Ist das Möglich??? Jaa Hab schon bisschen weiter gedacht hab mich bei anderen Post eingelesen)).

Und wenn der Download wegen VPN Hängen bleibt bei 0Kbit weder Stoppt und weiter läuft


bis ich dafür eine ersatz VPN app gefunden habe und testen kann. Bräucht ich noch dieses script

bei 0kbit Download-nach 1 minute-JD Stoppen- Notification Trigger als MP3 ausgeben


eine Bitte noch, das script Beispiel von mgpai Path ist schon gut, aber wenn du oder eine Co Produktion von euch JD Admins wäre für das erste mal für diese Scripts wo ich Path etc eine Rote Farbe gut und für das Script was ich kopiere bzw das man unverändert bleibt kann schwarz bleiben.

Danke Dir für die Unterstützung ❗ Gruss Marvel

P.S: falls noch fragen offen sind, wird es diesmal nicht lange dauern bis antworte, hab mich indie Dienste und Apps eingelesen ob es mit diesen Rechner gehen würde, und wegen der Crash Logs und Generell Log files was sich da ansammelt oh je aber da komm ich noch auf die zu mein Lieber....))


Alter Post nochmal für Kontext

Also ich Brauch einen Notification Trigger wenn Der Monitor aus ist und Jdownloader Weiter im Hintergrund läuft., und ne Meldung ausgibt aus den eingebauten Lautsprechern


1 ) manchmal Reduziert der Hoster wieso auch immer die Geschwindigkeit bei einem File ( nicht bei allen), wenn ich dann, später wieder am Rechner bin hoff ich natürlich das Files fertig sind, leider passiert es dann das JD an dem File hängen geblieben ist und es nur 50kbit runterlädt. Das File kann ich auch bei einem Anderen Hoster schneller Runterladen, das merk ich natürlich erst wenn ich wieder am Rechner sitze und den Monitor anmache. Und Manuell stope und ein anderes File zum download starte.

Der Notification Trigger ist nur ein Hinweis Geber das ich wenn ich zeit habe nochmal einschalte und ein anderes Paket Manuell wähle.


2) Das Passiert nur bei nur Bei Mega Files ,

aber nutze ne VPN App, die Beendet die Verbindung nicht sonder Springt von Grün (VPN) auf Orange, und das nicht bei jeder Verbindung nur bei einigen Ländern, Doof nur wenn das Passiert und wenn man dann wieder zurück kommt an den Rechner. (ROT würde VPN Beendet und JD würde ja stoppen.)

Ich hab ihr zwar ein ähnliches Problem gefunden von einem hab das aber soo für mich nicht übernehmen können als script. Im Event-script Bereich

Mir würde das aber auch schon gut reichen wenn der DOWNLOAD DANN EINFACH STOPPEN WÜRDE, und nicht bei 0Kbs hänglen bliebe.

Notification-Sound in JD gibt ne Meldung aus, So kann ich Die VPN App Verbindung Manuell Disconnecten und ne Neue Verbindung aufbauen.

Ich hab ihr zwar ein ähnliches Problem gefunden von einem hab das aber soo für mich nicht übernehmen können als script. Im Event-script Bereich



Und Die eingebauten Lautsprecher Triggern mir dann und sagen bescheid wenns fertig ist.

Man kann auch TV Sehen und weiss "Beep "fertig alles im Hintergrund. Und Monitor ist aus. Dann weiss man wann man wieder an den Rechner muss.

Also ich benutze Amphetamine ein Notification Trigger App, wenn JDownloader läuft und Der Monitor aus ist und ab und An Passiert es, das während der Download läuft, JD im Crasht.
Wenn er das dann aber triggert kann ich gleich JD Neustarten.

Dann hör ich ein mp3 Lied was ich voreingestellt habe.

Früher hab ich erst nach 40 min gar na nachstunden erstgemerkt, natürlich erst wenn ich wieder am Rechner war das JD gecrasht ist und eigentlich kein Download lief, was zum Kotzen war.

Also im Grossen ganzen geht es beim Notification Triggern nur darum das ich weiss wenns ein Problem gibt und ich dann Manuell die Sachen Fixxe. und kein Monitor laufen lassen muss.

Ich hab schon einiges ausprobiert an Notification Apps die alle nicht gut liefen, wenn der JD sich selbst melden würde und selbst wechseln wär das Klasse ( damals gabs noch Growl was aber eingestellt wurde)… Nutze MAC OS

Sooo ich hoffe ich konnt mich verständlich ausdrücken. Und es gibt genug Kontext zum ersten Post.

Und DANKE Schön ❗

Last edited by Marvel; 18.11.2021 at 20:29.
Reply With Quote
  #2049  
Old 19.11.2021, 15:35
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,484
Default

@marvel: If ffplay is installed/available, it will be in the same path as ffmpeg. You can find the install path used by JD in "FFmpegSetup.binarypath" (Advanced Settings).
Reply With Quote
  #2050  
Old 19.11.2021, 17:06
Marvel Marvel is offline
Baby Loader
 
Join Date: Oct 2021
Posts: 5
Default

Okay I set up JD again and can tease it out with a Youtube video link download FFMpeg installation now found it. long time ago i download youtube videos over JD than i use ffmpeg... thx mgpai))

sooo ffmpeg runtergeladen gefunden @Jiaz

Good evenning und Guten Abend JD Admins

Jetzt Bereit für den Rest der Scripts..... Freunde, Gruss Marvel

von mgpai thx

callSync("path/to/ffplay", "path/to/audiofile", "-nodisp", "-autoexit");

Last edited by Marvel; 19.11.2021 at 17:11.
Reply With Quote
  #2051  
Old 22.11.2021, 20:48
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 68,348
Default

@Marvel
Jiaz ist derzeit sehr beschäftigt und ich bin nicht im Thema drin also bitte abwarten und/oder dich selbst mit dem Thema beschäftigen...

Grüße, psp
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
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
  #2052  
Old 29.11.2021, 00:46
Reliveit Reliveit is offline
I will play nice!
 
Join Date: Nov 2021
Posts: 1
Default Custom script to download based on metadata criteria or every second file

We have large repository's of images that we need to download and use jDownloader to do this. I am trying to see if anyone has used a custom script or plugin that can allow me to download every second file from a folder or every third file. Or in more detail to selectively download images based on a filter of the capture time of the image taken between certain hours of the day.
Reply With Quote
  #2053  
Old 29.11.2021, 19:17
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 68,348
Default

Merged EventScripter related threads.
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
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
  #2054  
Old 13.12.2021, 22:31
LifePie1994 LifePie1994 is offline
Junior Loader
 
Join Date: Dec 2021
Posts: 12
Default

Hey guys! Is there a script that can enable me to download only the largest file in every package? Any help would be much appreciated. Thank you!
Reply With Quote
  #2055  
Old 16.12.2021, 02:39
bingo bingo is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 9
Default

hi , can anyone help me with a script that opens the download directory as soon as the download finishes ?

and if many people want this , can you add it to jd's settings ?
Reply With Quote
  #2056  
Old 16.12.2021, 04:37
mrjjones mrjjones is offline
Vacuum Cleaner
 
Join Date: Nov 2021
Posts: 17
Default

Quote:
Originally Posted by bingo View Post
hi , can anyone help me with a script that opens the download directory as soon as the download finishes ?

and if many people want this , can you add it to jd's settings ?
This works for me in windows with a "A Download stopped" trigger:

var path = getPath(link.package.downloadFolder)
callSync("explorer.exe",path);
Reply With Quote
  #2057  
Old 16.12.2021, 11:43
bingo bingo is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 9
Default

Quote:
Originally Posted by mrjjones View Post
This works for me in windows with a "A Download stopped" trigger:

var path = getPath(link.package.downloadFolder)
callSync("explorer.exe",path);
thanks , it worked , i used package finished trigger though , because a download can stop for other reasons
Reply With Quote
  #2058  
Old 25.12.2021, 18:06
MLi MLi is offline
JD Beta
 
Join Date: Oct 2010
Posts: 58
Default

Sorry for asking this, but I can't find an answer through search: is there a script that writes all or parts of the download list to a file? I would need the package name and the download link, and if possible the file name. I can extract it from whatever format it is, as long as it's some kind of text.

Can someone point me in the right direction for this? Thanks!
Reply With Quote
  #2059  
Old 27.12.2021, 03:17
maxpower420 maxpower420 is offline
I will play nice!
 
Join Date: Dec 2021
Posts: 2
Default Slow Download, Hoster, Size, Exception Reset Questions

So i was glad to see that there is a script already in the program to reset downloads if going below a certain speed. Listed way below....

I was wondering tho if there was a way to have it skip files once a file is certain percentage done. IE: downloading from bayfiles, Jdownloader knows the file size. Would be cool if could have it skip files, say that are 50% complete of its download size. That way if for some reason if a download slows, if its 95% done, it doesnt reset and start all over.

Other thing i was wondering, how could you just leave out a hoster completely from the script. Lets say i dont want it to apply to zippyshare hoster. ahh to say simply, I dont want the Download speed check to reset zippyshare files. would think that would be some type exception rule.

I think these are both doable? but not sure.. Anyone who could whip that out easily, would be appreciated. I have a loose loose grasp. and could make any changes with a written script.

Thanks for any help

//check if downloads are running at all
if (isDownloadControllerRunning() && !isDownloadControllerStopping()) {
var running = getRunningDownloadLinks();
//loop through all running Downloads
for (var i = 0; i < running.length; i++) {
//check if the download has been running at least 20 seconds
if (running[i].getDownloadDuration() > 10000) {
//check if the current speed is below 100kb/s
if (running[i].getSpeed() < 90* 1024) {
//reset the download
running[i].reset();
//stop the download and restart it
//running[i].abort();
}

}
}
Reply With Quote
  #2060  
Old 27.12.2021, 12:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

@MLi: You can also do this via Copy Information action (Clipboard, CTRL+C) in rightclick context menu, menu editor. There you can customize the content of the clipboard and what to copy to it
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

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 11:02.
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 - 2023, Jelsoft Enterprises Ltd.