#2441
|
|||
|
|||
![]()
Thank you for the very quick response and sorry for my mistake with the topic.
I'm still very bad at navigating the forum. |
#2442
|
|||
|
|||
![]() Quote:
did u get a chance to look into it? |
#2443
|
||||
|
||||
![]()
Hi. I'm looking for a script that will reconnect when Downloadspeed is under 1Mib/s and the Hoster is 1fichier.
|
#2444
|
||||
|
||||
![]()
@DaDealer: you should only do request when using no account as too many reconnect/IP changes might get your premium account getting blocked. there is a script here that does restart downloads when speed falls below xy. you should try that first and/or can modify it to request reconnect.
__________________
JD-Dev & Server-Admin |
#2445
|
||||
|
||||
![]()
Sorry, forgotten about that, will do it
__________________
JD-Dev & Server-Admin |
#2446
|
||||
|
||||
![]() Quote:
I just found a script and try to adapt it. Last edited by DaDealer; 02.10.2022 at 21:14. |
#2447
|
||||
|
||||
![]()
@DaDealer: search/look for the *restart Download on slow speed* script and then try to modify it to reconnect instead. maybe even an auto reconnect script on slow speed already exists.
__________________
JD-Dev & Server-Admin |
#2448
|
||||
|
||||
![]()
If I was able to find the right script and api call I would not ask for help. But thank you
|
#2449
|
||||
|
||||
![]()
@DaDealer: 30 seconds search, two results
https://board.jdownloader.org/showpo...4&postcount=35 https://board.jdownloader.org/showth...ipt#post495272 instead of restart download, modify it to request a reconnect. Please try for yourself first as I also have to dig through forum myself. I'm not a script master like mgpai is
__________________
JD-Dev & Server-Admin |
#2450
|
||||
|
||||
![]() Quote:
|
#2451
|
|||
|
|||
![]()
Kann mir jemand einen tip geben, wie ich die notifications an einen MQTT server weiterleiten kann? (was übrigens ein echt geiles feature für jdownloader selbst wäre).
Soweit ich weiss, ist das mal mit nativem javascript nicht trivial. Ich hab aber von javascript nicht wirklich eine Ahnung (python, C#, bash schon ein paar Jahrzehnte, aber JS ist an mir vorüber gegangen). übrigens - nicht zusammenklickbar, da mein JDownloader headless läuft. Jetzt wäre meine Idee, das ganze zB über einen apprise server mit WebHooks laufen zu lassen - das müsste ja eigentlich machbar sein. Allerdings ... wie gesagt ... JavaScript und ich stehen etwas auf Kriegsfuß, kann mich wer in die richtige Richtung schubsen ? |
#2452
|
||||
|
||||
![]()
Maybe you would like to share it here? so ohers can use it or use it as template for own scripts?
__________________
JD-Dev & Server-Admin |
#2453
|
||||
|
||||
![]()
@gelse: Also das einfachste wäre wenn du irgendwo einen HTTP Rest Endpoint hast, dann kannst du alles mögliche via Skripte dorthin puschen lassen, auch Events.
Quote:
Hier ein Beispiel wie man einen Post Request absetzen kann, https://board.jdownloader.org/showpo...postcount=2156
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 04.10.2022 at 12:10. |
#2454
|
|||
|
|||
![]() Quote:
I'm out of knowledge here. Until now, beside the error, the script does the same as clicking once on the column "status". |
#2455
|
||||
|
||||
![]()
found the cause and should be working fine again with next core update
![]()
__________________
JD-Dev & Server-Admin |
#2456
|
|||
|
|||
![]() Quote:
**External links are only visible to Support Staff** |
#2457
|
|||
|
|||
![]()
@Jiaz
Quote:
der erste parameter ist die url der zweite teil sind die form parameter, URL codiert, nehme ich an ? kann man irgendwie headerdaten setzen (für authentication) ? wenn es eine Doku gibt auf die du mich verweisen kannst, würd das echt viel helfen - der sourcecode reicht auch schon. code kann ich lesen. ;-) Danke auf jeden Fall, hilft mir schon viel weiter! |
#2458
|
||||
|
||||
![]() Quote:
![]() Quote:
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 06.10.2022 at 10:56. |
#2459
|
||||
|
||||
![]()
@jaydeeownluder: I've fixed the error in original script and your post, see
Quote:
__________________
JD-Dev & Server-Admin |
#2460
|
||||
|
||||
![]() Quote:
Bedenke, dass das nur den Fehler behebt der kommt, wenn es nichts zu sortieren gibt. Die Sortierung selbst wird erst richtig funktionieren, sobald richtiges Parsing der Dateigrölßen im Script eingebaut ist! Eventuell funktioiniert es auch, wie schon in deinem Eingangsthread beschrieben, wenn du in JD die Profieinstellung "GraphicalUserInterfaceSettings.maxsizeunit" auf "B" setzt (hier schonmal erklärt). Bedenke, dass du die Dateigrößenangaben dann halt ggf. selbst nicht mehr lesen kannst.
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
![]() |
Thread Tools | |
Display Modes | |
|
|